14.12.2009, 16:56
The topic says all.. Here is the system i use:
What i ment is when i get kill'd by a zombie i dont spawn as a zombie then..
Any idea??
Код:
if ((gTeam[killerid]) == 5)//If The killer is a zombie { gTeam[playerid] = 5; //Makes your status to zombie. PlayerInfo[playerid][pTeam] = 5; SetPlayerColor(playerid,COLOR_RED); SetPlayerWeapons(playerid); format(string, sizeof(string), "%s spawned as a zombie", name); SendClientMessageToAll(COLOR_RED, string); } }
Any idea??