01.10.2011, 09:13
ok so you got the first bit
this is a really simple way
this is a really simple way
pawn Код:
new GangRank[MAX_PLAYERS];
new PoliceRank[MAX_PLAYERS];
//[MAX_PLAYERS] so its for player each not global
//then when you want to set the players team just do
GangRank[playerid]=1;
//that would make the player have GangRank to 1
//and to check if the player is in that Rank you do
if(GangRank[playerid]==1){
//your code if the player is in that Rank
}