RudeBoiAlex
2007-06-30 07:26:02
well in my players array
i have a string1
in my eatfood procedure instead of
o yeh ignore the chickens to fight changeing that soon
Procedure DeclarePlayers;
//If Not Using Any Left Over Players Delete There Forms.
Begin
HowManyPlayers:= NumberOfUsers;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := StartPlayer;
Players[0].Name :='Username';
Players[0].Pass :='Password';
Players[0].Nick :='3 Leters Of Youre Name';
Players[0].Integer1 := 5;//this is How many chickens to kill
Players[0].String1 :='Lobbies';//Valid: Lobbies,Trout,Herring,Shrimp Or NoFood.
Players[0].Active:=True;
Players[1].Name :='Username';
Players[1].Pass :='Password';
Players[1].Nick :='3 Leters Of Youre Name';
Players[1].Integer1 := 5;//this is How many chickens to kill
Players[1].String1 :='Lobbies';//Valid: Lobbies,Trout,Herring,Shrimp Or NoFood.
Players[1].Active:=True;
Players[2].Name :='Username';
Players[2].Pass :='Password';
Players[2].Nick :='3 Leters Of Youre Name';
Players[2].Integer1 := 5;//this is the loads!!
Players[2].String1 :='Lobbies';//Valid: Lobbies,Trout,Herring,Shrimp Or NoFood.
Players[2].Active:=True;
Players[3].Name :='Username';
Players[3].Pass :='Password';
Players[3].Nick :='3 Leters Of Youre Name';
Players[3].Integer1 := 5;//this is How many chickens to kill
Players[3].String1 :='Lobbies';//Valid: Lobbies,Trout,Herring,Shrimp Or NoFood.
Players[3].Active:=True;
Players[4].Name :='Username';
Players[4].Pass :='Password';
Players[4].Nick :='3 Leters Of Youre Name';
Players[4].Integer1 := 5;//this is How many chickens to kill
Players[4].String1 :='Lobbies';//Valid: Lobbies,Trout,Herring,Shrimp Or NoFood.
Players[4].Active:=True;
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
End;
i have a string1
in my eatfood procedure instead of
If Players[CurrentPlayer].String1 = 'lobbies' Then if Findcolor ect...
if Players[CurrentPlayer].String1 = 'herring'Then if Findcolor ect...
how could i do it all in 1
o yeh ignore the chickens to fight changeing that soon