21.06.2015, 10:23
u can use player vaariable
and when they join team cop u set it to
and when u need to get name of team of player u use it like this
Код:
new whatteam[MAX_PLAYERS];
Код:
whatteam[playerid] = 1;
Код:
if(whatteam[playerid] ==1) { SendClientMessage(playerid,-1,"This player is cop"); }