SA-MP Forums Archive
Need a code ;x - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need a code ;x (/showthread.php?tid=122330)



Need a code ;x - Rangard - 21.01.2010

Well, I don't know if it's right section, but I need a example code for:

- Shop that you go in it and you can do /buy (IsPlayerInRangeOfPoint)
- When you do /buy it shows you what you can buy (Usage: /buy [sprunk/coca-cola...])
- When you will buy it takes you money like -5$ (need example for it)
- When you buy it, it shows on the chat "* Some_Player has bought sprunk and drank it"
- If you do wrong /buy it shows you ex. "Error: Wrong choose"
- If you type /buy out of the area of the cmd it shows you "Error: You are not in the shop"

Anyone? Please :3


Re: Need a code ;x - fsnameless - 21.01.2010

i sent you a pm


Re: Need a code ;x - Rangard - 21.01.2010

Well, anyone can do it ? ;x