Creating a new source of currency - 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: Creating a new source of currency (
/showthread.php?tid=384665)
Creating a new source of currency -
DrTeDDyBeAr - 12.10.2012
For my server, the gamemode, as all others uses regular San Andreas cash. How would I make some sort of donator credits? I run zcmd and strcmd, for different purposes. My script is a MySQL linked gamemode, how would I do something like this, and also make a little HUD textdraw under the $xxxxxxxxx for it? I could imagine if I wanted to do this and tried it myself, I'd surely fuck it up.
If anyone could help, much appreciation will be given
Also will +Rep.
Thanks.
Re: Creating a new source of currency -
Mauzen - 12.10.2012
Add an ingame variable for the currency, and add a mysql field for it to store. Then create a textdraw to display it. That simple. I wont give code for this, as this are just simple basics, and need knowledge of your script anyways.
Re: Creating a new source of currency -
DrTeDDyBeAr - 13.10.2012
Thanks.