Returning to where you died
#1

Hi,

I was thinking how can i make it so that if you die you return to that spot?
I currently have this but it doesn't work any suggestions?
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new Float:qu[3];
    GetPlayerPos(playerid, qu[0], qu[1], qu[2]);
    SetPlayerPos(playerid, qu[0] ,qu[1] ,qu[2]);
    return 1;
}
Thanks,
Yoran
Reply


Messages In This Thread
Returning to where you died - by yoran765 - 23.06.2013, 19:27
Re: Returning to where you died - by Vlad64 - 23.06.2013, 19:35
Re: Returning to where you died - by yoran765 - 23.06.2013, 19:40
Re: Returning to where you died - by yoran765 - 23.06.2013, 19:44
Re: Returning to where you died - by Vlad64 - 23.06.2013, 20:04
Re: Returning to where you died - by yoran765 - 23.06.2013, 20:07
Re: Returning to where you died - by Vlad64 - 23.06.2013, 20:15

Forum Jump:


Users browsing this thread: 1 Guest(s)