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



OnPlayerDeath decreases money - Minion - 24.07.2012

I'm making a TDM. I noticed that when player dies, $100 are taken out automatically from player's money even though i dont have this kind of money decrement code in my script. I wanna know is it default or not? If it is, how can i prevent it? I know i can do GivePlayerMoney(playerid,100) under OnPlayerSpawn, but i dont want to do this. I just want to prevent it from happening.


Respuesta: OnPlayerDeath decreases money - [IKS]Niko_Hs™ - 24.07.2012

Search "GivePlayerMoney(playerid,-100);" in your Gamemode and FilterScripts.


Re: Respuesta: OnPlayerDeath decreases money - Minion - 24.07.2012

Quote:
Originally Posted by [IKS]Niko_Hs™
Посмотреть сообщение
Search "GivePlayerMoney(playerid,-100);" in your Gamemode and FilterScripts.
As i explained above, i dont have it in my GM script and i'm not using any filterscript.


Respuesta: Re: Respuesta: OnPlayerDeath decreases money - [IKS]Niko_Hs™ - 24.07.2012

Quote:
Originally Posted by Minion
Посмотреть сообщение
As i explained above, i dont have it in my GM script and i'm not using any filterscript.
Look into your includes..It seems strange