Help cmds +REP
#2

Just use this
Код:
CMD:kill(playerid, params)
    {
        SetPlayerHealth(playerid, 0);
        return 1;
    }
And make something like
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
      SpawnPlayer(playerid); (I know OnPlayerDeath automatically spawns but if player gets shot in the DM or race he starts dm or race again)
}
to Spawn the player in the servers spawn place
Reply


Messages In This Thread
Help cmds +REP - by Spartaaaaa - 02.08.2014, 17:46
Re: Help cmds +REP - by Steel_ - 02.08.2014, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)