prevent player from respawning
#6

Maybe you can do the following:
pawn Код:
//We're OnPlayerDeath now
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
/* then of course, since u want him to stay at that spot after death, you can even create a timer for this, on which he will stay there, maybe also an animation of him laying on the ground */
SetPlayerPos(playerid, X, Y,Z);
//ApplyAnimation(playerid,"PED","FALL_back",4.1,1,1,1,1,25000,1);
//U can add the thing up so its an animation for 25 seconds..
Reply


Messages In This Thread
prevent player from respawning - by Sascha - 09.08.2013, 10:04
Re: prevent player from respawning - by Necip - 09.08.2013, 10:14
Re: prevent player from respawning - by Sascha - 09.08.2013, 10:19
Re: prevent player from respawning - by sleepysnowflake - 09.08.2013, 11:01
Re: prevent player from respawning - by Sascha - 09.08.2013, 11:10
Re: prevent player from respawning - by JimmyCh - 09.08.2013, 11:24

Forum Jump:


Users browsing this thread: 4 Guest(s)