Help me with onplayerdeath
#1

public OnPlayerDeath(playerid, killerid, reason)
{
TogglePlayerControllable(playerid, 0);
pdeath[playerid] = 1;

SendClientMessage(playerid, 0xFF4646FF, "You are Died Type /acceptdeath For Accept your Avoid Death !");
SetPlayerPos(playerid,1583.4307,-1634.7228,13.3905);
ApplyAnimation(playerid,"PED","KO_skid_front",4.1, 0,0,0,1,0);
ApplyAnimation(playerid,"PED","KO_skid_front",4.1, 0,0,0,1,0);
ApplyAnimation(playerid,"PED","KO_skid_front",4.1, 0,0,0,1,0);
new Float, Float:y, Float:z;
GetPlayerPos(playerid,x,y,z);
---------------------------------------------------------------------------------------------------------------------

i Got /acceptdeath System but when i am Dead

it Dont make me to my Pos example i am dead at Idlewood it teleport me at
LSPD

But, when he dies it spawns him back while doing the animation, how can I make him do the animation, while staying exactly where he died ? and then after using the command moving him to a certain point ! ?
Reply


Messages In This Thread
Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:22
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 20:24
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:25
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 20:29
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:30
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 20:31
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:34
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 20:36
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:40
Re: Help me with onplayerdeath - by XePloiT - 27.11.2010, 20:41
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 20:41
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:42
Re: Help me with onplayerdeath - by XePloiT - 27.11.2010, 20:46
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:47
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:55
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 20:57
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 20:58
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 20:59
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 21:00
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 21:02
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 21:03
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 21:05
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 21:06
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 21:07
Re: Help me with onplayerdeath - by Auxxx - 27.11.2010, 21:09
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 21:09
Re: Help me with onplayerdeath - by WillyP - 27.11.2010, 21:11
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 21:11
Re: Help me with onplayerdeath - by Auxxx - 27.11.2010, 21:35
Re: Help me with onplayerdeath - by gangster350 - 27.11.2010, 21:50
Re: Help me with onplayerdeath - by XePloiT - 27.11.2010, 22:09
Re: Help me with onplayerdeath - by Lilcuete - 27.11.2010, 22:30
Re: Help me with onplayerdeath - by Auxxx - 28.11.2010, 10:09
Re: Help me with onplayerdeath - by gangster350 - 28.11.2010, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)