SA-MP Forums Archive
Accept Death CMD - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Accept Death CMD (/showthread.php?tid=416926)



Accept Death CMD - KeenanRitchie - 18.02.2013

Hey Guys I was wondering how to make an accept death command for my server


I've seen other /accept death commands but they don't work They either do afterlife which i don't like or dont comply with my script.

[I will give +rep to people who help]


Re: Accept Death CMD - RuthlessThuG - 18.02.2013

Give a bit more information
what the /accept command does ?

Quote:

[I will give +rep to people who help]

we are not asking for REP ...


Re: Accept Death CMD - Boolean - 18.02.2013

You could try spawning them at a hospital after the player used the command.
Here's an example of how you can make a player spawn at a hospital, you will have to replace the coordinates though.

pawn Код:
command(acceptdeath, playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFFF, "You have accepted your death");
    SetPlayerPos(playerid, 0000.0000, 0000.0000, 00.0000);
    SetPlayerHealth(playerid, 100);
    return true;
}



Re: Accept Death CMD - KeenanRitchie - 18.02.2013

I need the Player to go into a death position then they can accept death.... Anyone?


Re: Accept Death CMD - KeenanRitchie - 19.02.2013

*bump*