SA-MP Forums Archive
Whe die problem - 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: Whe die problem (/showthread.php?tid=539700)



Whe die problem - GabiXx - 29.09.2014

I have a system for register/login.
When i died,i will be spawned where is the spawn when you don't have anything on server.
P.S i don't post the system because will be a big page, and i don't know how to post "Pawno code"
I don't have callback whenplayerdeath or anything.


Re: Whe die problem - Kane_Phoenix - 29.09.2014

AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//X Y Z R


Re: Whe die problem - TakeiT - 30.09.2014

you NEED OnPlayerDeath to modify it. For example, OnPlayerDeath SetPlayerPos X, Y, Z of wherever.

Also, [pawn] is the pawn code.