SA-MP Forums Archive
Need Help [Buy 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: Need Help [Buy System] (/showthread.php?tid=386404)



Need Help [Buy System] - [SWE]Anonymous - 20.10.2012

I need help with the buy system.
When i was terrorist i could but when i had 0 dollars.
Then i got - THats not good.
It can be abused.
I want help to fixx this.
Someone has a clue how to fix it?


Re: Need Help [Buy System] - Anthony © - 20.10.2012

Going to need more information on what you're actually wanting help with etc.


Re: Need Help [Buy System] - [SWE]Anonymous - 20.10.2012

Quote:
Originally Posted by Anthony ©
Посмотреть сообщение
Going to need more information on what you're actually wanting help with etc.
Here u getting the video xD.
So i think u get wht it is for problem lol:
http://videobam.com/mryuJ


Re: Need Help [Buy System] - [HK]Ryder[AN] - 20.10.2012

When a player buys any weapon.
Check the amount of money he has using GetPlayerMoney(this is a link) and then if his amound of money is less than the money required to buy the weapon, dont give him the weapon and send him a msg or something telling he doesnt have enough money.


Re: Need Help [Buy System] - [SWE]Anonymous - 20.10.2012

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
When a player buys any weapon.
Check the amount of money he has using GetPlayerMoney(this is a link) and then if his amound of money is less than the money required to buy the weapon, dont give him the weapon and send him a msg or something telling he doesnt have enough money.
I will try this.
Thanks for the help