[Include] [INC] Zinglish's GivePlayerCash + TakePlayerCash include - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] Zinglish's GivePlayerCash + TakePlayerCash include (
/showthread.php?tid=106533)
[INC] Zinglish's GivePlayerCash + TakePlayerCash include -
iron_war_lord - 03.11.2009
[INC] Zinglish's cashStocks
About
This include was created for RPG and RPF servers in mind, when the player receives cash or gets cash taken away from him/her, it will display the appropriate addition or subtraction under the player's cash total and give the player the specified cash, then disappear after 4 seconds. Useful to help stop smapping the player's message box every time he/she receives cash or gets cash subtracted.
Usage
Code:
native GivePlayerCash(playerid, cashAmount);
native TakePlayerCash(playerid, cashAmount);
Don't forget to add
Code:
#include <cashStocks>
Re: [INC] Zinglish's GivePlayerCash + TakePlayerCash include -
FUNExtreme - 03.11.2009
Could you pastebin it?
EDIT: I couldn't watch the code yesterday, but now I watched it. According to my view this can't work as you do not create a textdraw. You do not set the position and all the others things. This ain't release worthy