Question with donation system. - 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: Question with donation system. (
/showthread.php?tid=596344)
Question with donation system. -
k2168 - 16.12.2015
Hi, I'm making a donation system. and I've got a question about this system.
so, here's my question. if player is a donator then I'm gonna give them more slots to buy more cars with extra slots.
The default slot is 1, and if player is a donator, I'm going to give them 2 more slots.
Here's my script.
Код:
#define MAX_CAR_SLOT (1)
If player is a donator then do I have to do like this? ---->> if(Player[playerid][donator]) { for(new i=0; i<MAX_CAR_SLOT+2; i++) } or is there any other way to do?