How to do this.. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to do this.. (
/showthread.php?tid=135567)
How to do this.. -
Torran - 21.03.2010
How do i stop the player from respawning on death?
Re: How to do this.. -
laser50 - 21.03.2010
i think you cant...
Re: How to do this.. -
Fabio11 - 21.03.2010
I think that's impossible but you can teleport him to a remote place, freeze him like this this:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
pDeath = 1; // This is useful to make a command to get players alive
SetPlayerPos(playerid,9999,9999,9999);
TogglePlayerControllable(playerid,0);
SetPlayerCameraLookAt(...);
SetPlayerCameraPos(...);