SA-MP Forums Archive
{HELP}With a 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 a OnPlayerDeath (/showthread.php?tid=108640)



{HELP}With a OnPlayerDeath - kintama - 14.11.2009

how do i make it so when people die they spawn at the closes hospital
E.G on what i mean

Gun killed
ran over
blown up in car
kill them self
and so on

on all them types of kills they spawn at the Hospital when they die

can some one PLZ help me


Re: {HELP}With a OnPlayerDeath - [Bm]rap45 - 15.11.2009

I think i can help but do you mean like

i get ran over
i spawn at hospital
in the death list it shows how i died?


Re: {HELP}With a OnPlayerDeath - dice7 - 15.11.2009

https://sampwiki.blast.hk/wiki/OnPlayerDeath

[pawn]
if(reason == 22) printf("Player was killed by a 9mm pistol");[/quote]