17.11.2010, 04:01
(
Последний раз редактировалось BJaxx; 17.11.2010 в 04:11.
)
EDIT -
For some reason the command is switching all of the red team
over to the blue team..So nobody can use the command.
Here's the code i'm using.
It compiles perfectly, though.
For some reason the command is switching all of the red team
over to the blue team..So nobody can use the command.
Here's the code i'm using.
Код:
//----------IN GAME ZOMBIE COMMANDS----------
if(gTeam[playerid] == TEAM_ZOMBIES)
{
if(strcmp("/hide", cmdtext, true, 5) == 0)
{
SetPlayerMarkerForPlayer(playerid,1,00);
SendClientMessage(playerid,0xFF0000AA,"You've concealed yourself.");
}
}
else
SendClientMessage(playerid, 0xFF0000AA, "Only Scouts may use this command.");
return 1;
}

