25.01.2014, 19:22
Does this even compile? Your statements are completely wrong.
But it might be better to use a switch instead.
Sidenote: Try not to repeat code. The message is going to be sent regardless of which team they're actually in, making the statement it itself redundant.
pawn Код:
if(GetPlayerTeam(playerid) == TEAM_GROVE)
pawn Код:
switch(GetPlayerTeam(playerid))
{
case TEAM_GROVE: {}
case TEAM_BALLAS: {}
// etc.
}