31.07.2009, 11:27
sorry wrong place..
if(gTeam[playerid] == TEAM_BLUE)
{
SendClientMessage(playerid, COLOR_DBLUE, "You are not a cop");
return 1;
}
Originally Posted by еddy
1. Ask in the scripting discussion next time.
2. pawn Код:
|
Originally Posted by Battleman
How can i fix this errors:
Errors: Quote:
Quote:
|
if(gTeam[playerid != /*check if the player is NOT at the 'blue team' */ TEAM_BLUE { SendClientMessage(playerid, COLOR_DBLUE, "You are not a cop"); }Код:oreddyКод:if(gTeam[playerid] == TEAM_BLUE) { //do something here } else { SendClientMessage(playerid, COLOR_DBLUE, "You are not a cop"); }
wtf? that is wrong. its: if player is a cop > send him "you are not a cop"..Quote:
Originally Posted by еddy
1. Ask in the scripting discussion next time.
2.
pawn Код:if(gTeam[playerid] == TEAM_BLUE){ SendClientMessage(playerid, COLOR_DBLUE, "You are not a cop"); return 1;}
Originally Posted by Battleman
Quote:
|