SA-MP Forums Archive
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: OnPlayerDeath (/showthread.php?tid=191897)



OnPlayerDeath - Kitten - 20.11.2010

Solved


Re: OnPlayerDeath - rs.pect - 20.11.2010

I think it would be

pawn Код:
if(reason == 4) //he killed with knife
{
    //make playerid a zombie
}
else
{
    //make playerid a human back
}