SA-MP Forums Archive
Spawn at Death Place??? - 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)
+--- Thread: Spawn at Death Place??? (/showthread.php?tid=379212)



Spawn at Death Place??? - xMaGmOtAnEtHx - 21.09.2012

Hello.
I am wondering how to make a script that makes it able to spawn at Death Position and makes it pay like $10000 to spawn there!!! Can someone please help!


Re: Spawn at Death Place??? - ViniBorn - 21.09.2012

Use GetPlayerPos, and GivePlayerMoney in OnPlayerDeath.

Use SetPlayerPos in OnPlayerSpawn