SA-MP Forums Archive
How do I? - 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: How do I? (/showthread.php?tid=271976)



How do I? - seanny - 26.07.2011

Hello,
I want to know how to add a system for shops which will allow the player to buy hats and bandanas, It has to be for an RP Server


Re: How do I? - Dr - 26.07.2011

Well there are a few filterscripts around if you search, or you can use the setplayerattachedobject function:
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

You would need to make the command and then once they type it attach the object to them.