SA-MP Forums Archive
[FilterScript] Shop System [COSTS SYSTEM] by LemonPunch - 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)
+--- Thread: [FilterScript] Shop System [COSTS SYSTEM] by LemonPunch (/showthread.php?tid=468447)



Shop System [COSTS SYSTEM] by LemonPunch - LemonPunch - 08.10.2013

INFORMATION
Hi samp forum! I am LemonPunch and i am here with my second Filterscript. I would really appreciate a reputation
and i hope you like it.

COMMANDS
/buy - Show the dialog where you can select things.

Heres some Pictures:

http://imageshack.us/photo/my-images/17/o2ex.png/

http://imageshack.us/photo/my-images/46/vkyx.png/

http://imageshack.us/photo/my-images/594/eo.png/

http://imageshack.us/photo/my-images/138/iq1g.png/

http://imageshack.us/photo/my-images/90/nanv.png/

http://imageshack.us/photo/my-images/713/to3s.png/

http://imageshack.us/photo/my-images/855/jwb.png/

Heres The download if you like it: http://pastebin.com/SZ5SqqhD


Re: Shop System [COSTS SYSTEM] by LemonPunch - CesarLT - 08.10.2013

Really nice! Can be very usefull to some servers. Keep it up


Re: Shop System [COSTS SYSTEM] by LemonPunch - LemonPunch - 08.10.2013

Quote:
Originally Posted by CesarLT
View Post
Really nice! Can be very usefull to some servers. Keep it up
Thanks, I will


Re: Shop System [COSTS SYSTEM] by LemonPunch - Ninad - 08.10.2013

Wow Nice! I am going to add it!

Off topicry for going off topic. I want to ask tht if a player has 0 and he can still buy anything, for example if a phone book cost 50 and player has 0 after buying it his/her money goes to -50 it should not go like tht how to stop it??


Re: Shop System [COSTS SYSTEM] by LemonPunch - LemonPunch - 08.10.2013

Quote:
Originally Posted by Ninad
View Post
Wow Nice! I am going to add it!

Off topicry for going off topic. I want to ask tht if a player has 0�� and he can still buy anything, for example if a phone book cost 50�� and player has ��0 after buying it his/her money goes to -50�� it should not go like tht how to stop it??
Yes it does.


Re: Shop System [COSTS SYSTEM] by LemonPunch - DanishHaq - 08.10.2013

Nice and simple, good job :P.


Re: Shop System [COSTS SYSTEM] by LemonPunch - DaTa[X] - 08.10.2013

Quote:
Originally Posted by Ninad
View Post
Wow Nice! I am going to add it!

Off topicry for going off topic. I want to ask tht if a player has 0�� and he can still buy anything, for example if a phone book cost 50�� and player has ��0 after buying it his/her money goes to -50�� it should not go like tht how to stop it??
pawn Code:
if(GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid,-1," You dont have enough money to buy this phonebook !");



Re: Shop System [COSTS SYSTEM] by LemonPunch - Ninad - 09.10.2013

Quote:
Originally Posted by DaTa[X]
View Post
pawn Code:
if(GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid,-1," You dont have enough money to buy this phonebook !");
Does it work only on phone or all other things??


Re: Shop System [COSTS SYSTEM] by LemonPunch - Ninad - 09.10.2013

��=Dollar . I rplyed from my mobile so it didn't work sry!


Re: Shop System [COSTS SYSTEM] by LemonPunch - Spliffy - 09.10.2013

Not bad, keep up the good working. Looking forward on your future releases!