18.03.2018, 16:40
So i have this
What i want to do? when a human uses /kill he should be spawned as zombie, not as human again. Some help please?
PHP код:
CMD:kill(playerid)
{
if(team[playerid] == TEAM_HUMAN)
{
SetPlayerHealth(playerid,0.0);
SendClientMessage(playerid,-1,""chat" You've killed yourself");
}
else return SendClientMessage(playerid,-1,""chat" You cannot kill yourself if you are an 'Zombie'");
return 1;
}