11.09.2011, 13:53
Quote:
Well, i can't test it on my local server because i don't have enough (only one (me)) players
so if the code is a tested one that would be great! Another question, do i have to include an include to call the function GetPlayerTeam(playerid) or it is there already in an include? |
It is already in an include
When a player spawns as cop:
pawn Код:
SetPlayerTeam(playerid, TEAM_COP);
pawn Код:
SetPlayerTeam(playerid, TEAM_TERRORIST);
pawn Код:
#define TEAM_COP 1
#define TEAM_TERRORIST 2