11.01.2017, 18:06
Quote:
Nice tutorial, though I'm a bit confused with this line (Just the first two checks):
PHP код:
And is NO_TEAM already defined by pawn its self? Excuse me, but haven't worked with this before, hence the question. |
PHP код:
if(GetPlayerTeam(issuerid) == NO_TEAM || GetPlayerTeam(playerid) == NO_TEAM || GetPlayerTeam(issuerid) != GetPlayerTeam(playerid))
And yes, NO_TEAM is pre-defined just like MAX_PLAYERS.