08.06.2012, 10:52
pawn Code:
CMD:human(playerid)
{
if(gTeam[playerid] == TEAM_HUMAN)return SendClientMessage(playerid, COLOR_RED, "You are already a human");
else
{
if PlayerInfo[playerid][Cantransform] == 1
{
ForceClassSelection(playerid);
SetPlayerHealth(playerid, 0);
}
else return SendClientMessage(playerid, 0xFF2222FF, "You need to first kill a human to transform into one");
}
return 1;
}
Code:
C:\Users\Jo\MySQL\gamemodes\zombie.pwn(586) : error 029: invalid expression, assumed zero
pawn Code:
{