SA-MP Forums Archive
items selling? - 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: items selling? (/showthread.php?tid=341528)



items selling? - TheDiscussionCafe - 11.05.2012

anyone find or have script where people can go get items to sell or something?


Re: items selling? - ToiletDuck - 11.05.2012

give some example maybe i can help ya


Re: items selling? - TheDiscussionCafe - 13.05.2012

like sell food for people and they buy and they eat and then they have more health


Re: items selling? - Ballu Miaa - 13.05.2012

1. Use this include to make interiors/buildings.
2. Make a pickup in the building interior. Use OnPlayerPickupPickup callback to show him a dialog or gametext.
3. You need to set PlayerInfo variables too to save everything.

Etc etc. Give us the names of food items you want to be buyable? As well as your enum for PlayerInfo from your script.