Help with OnPlayerDeath - 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: Help with OnPlayerDeath (
/showthread.php?tid=236041)
Help with OnPlayerDeath -
tanush - 06.03.2011
can u guys help me please, when someone dies i put that they spawn at hospital but people spawns at some random place

please help
Re: Help with OnPlayerDeath -
Stigg - 06.03.2011
Can we see the code your using ?
Re: Help with OnPlayerDeath -
tanush - 06.03.2011
pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
SetPlayerPos(playerid,2031.8417,-1404.4138,17.2599);
return 1;
}
Re: Help with OnPlayerDeath -
alpha500delta - 06.03.2011
Well uhm it should be under OnPlayerSpawn...