SA-MP Forums Archive
Spawn bug after death. - 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 bug after death. (/showthread.php?tid=385416)



Spawn bug after death. - ZeQualX - 15.10.2012

Hi everyone, im making my own script and im currently developing the spawn system everythings ok now except for one thing, when u spawn after u died u lose 100 money and yeah i havent did it it's not an scripting issue so if someone knows how to fix this i would appreciate it so much, oh this is not the first time i saw this so i hope anyone already have seen this before and knows how to fix it thanks!

P.D also the first time i die a cigarrette or a bottle appears.


Re: Spawn bug after death. - RedJohn - 15.10.2012

That SA:MP default thing.

Try to give player $100 OnPlayerDeath so first it will took $100 and then give him back $100.


Re: Spawn bug after death. - lorizz - 15.10.2012

look under OnPlayerDeath and delete the line pCash because isn't a scripting isue


Re: Spawn bug after death. - ZeQualX - 15.10.2012

theres no pCash on my script, like i said isnt an scripting issue..


Re: Spawn bug after death. - lorizz - 15.10.2012

Quote:
Originally Posted by RedJohn
Посмотреть сообщение
That SA:MP default thing.

Try to give player $100 OnPlayerDeath so first it will took $100 and then give him back $100.
Do this


Re: Spawn bug after death. - ZeQualX - 15.10.2012

thats not cool at all and theres a way to avoid obviously thats what i need to know, how to avoid it.