[HELP] about weapons when player dies - 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: [HELP] about weapons when player dies (
/showthread.php?tid=312407)
[HELP] about weapons when player dies -
dickyodie - 21.01.2012
I want to ask :
if the player die and spawn back player owned weapons will be lost how that weapon is not lost when players die and spawn back
Re: [HELP] about weapons when player dies -
Da' J' - 21.01.2012
I can't give you any script just now for it, but my idea is: You should save their current weapons with GetPlayerWeapons under OnPlayerDeath somehow... And OnPlayerSpawn, GivePlayerWeapon those back.