Help cmds +REP
#1

Hello,
I want DM /KILL system when i join DM or RACE i must use /KILL to leave RACE/DM which code i have to post here to let you guys know? any help guys
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)