Diffrent class for diffrent team is not working help +Rep
#5

when the player selects the class, how do you set the var, would be something like;
Код:
Team[playerid]=TEAM_AFGHANISTAN; // or
Team[playerid]=TEAM_ASSULT;
so you can check it with your "if" statment, here;
Код:
if(Team[playerid]==TEAM_AFGHANISTAN)
and somewhere at the top of your script it should proberly say
Код:
#define TEAM_AFGHANISTAN 1
#define TEAM_ASSULT 0
and there should be at the top of the sctipt too
Код:
Team[MAX_PLAYERS];
got all that in your code?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)