Error spawning as zombie
#9

Solved!

I changed it like this:

PHP код:
CMD:kill(playerid)
{
    if(
team[playerid] == TEAM_HUMAN)
    {
        
SetPlayerHealth(playerid,0.0);
        
SendClientMessage(playerid,-1,""chat" You've killed yourself");
        
SetPlayerTeam(playerid,TEAM_ZOMBIE);
        
team[playerid] = TEAM_ZOMBIE;
    }
    else return 
SendClientMessage(playerid,-1,""chat" You cannot kill yourself if you are an 'Zombie'");
    return 
1;

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: 3 Guest(s)