Error spawning as zombie
#1

So i have this
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;

What i want to do? when a human uses /kill he should be spawned as zombie, not as human again. Some help please?
Reply


Messages In This Thread
Error spawning as zombie - by Graphyt - 18.03.2018, 16:40
Re: Error spawning as zombie - by MadeMan - 18.03.2018, 16:41
Re: Error spawning as zombie - by Graphyt - 18.03.2018, 16:42
Re: Error spawning as zombie - by MadeMan - 18.03.2018, 16:46
Re: Error spawning as zombie - by Graphyt - 18.03.2018, 16:51
Re: Error spawning as zombie - by MadeMan - 18.03.2018, 16:53
Re: Error spawning as zombie - by Graphyt - 18.03.2018, 16:55
Re: Error spawning as zombie - by Zeus666 - 18.03.2018, 17:03
Re: Error spawning as zombie - by Graphyt - 18.03.2018, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)