PDA

View Full Version : Explantation?


kingcrome
16/11/2013, 05:43 PM
I have been wondering on how to make a command like /buygun in only a gunstore interior. Can someone give me a full explanation?

***Niko***
16/11/2013, 05:46 PM
You should check interiors at samp wiki,find ammunation interior,make enter/exit for that interior inside of interior take cordinates via /save command then in command you wish to make set your enum for give gun like SafeGivePlayerGun [WEAPON ID] check wiki for weapon id's and you can make it like only for mafia or police define public like pleader id faction pmember id faction etc...

Nourdin
16/11/2013, 05:51 PM
Make a point where you can enter the ammunation and let it go to the interior of the ammunation. Make a buygun script or download it. Use IfPlayerIsInRange function to make it able as you want.

+rep is appreciated.