setting a restriction
#2

Lets say your class/team variable is:

GetPlayerClass[MAX_PLAYERS];

and your teams where say:

TEAM_ONE

and

TEAM_TWO

It would look like:

pawn Код:
if(GetPlayerClass[playerid] == TEAM_ONE)
{
    //They ARE in TEAM_ONE
}
else if(GetPlayerClass[playerid] != TEAM_TWO)
{
    //They are NOT in TEAM_TWO
}
//Etc..
Reply


Messages In This Thread
setting a restriction - by Thundey - 09.09.2013, 13:10
Re: setting a restriction - by Weponz - 09.09.2013, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)