SA-MP Forums Archive
Gun safe in house. - 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: Gun safe in house. (/showthread.php?tid=439484)



Gun safe in house. - Lops - 25.05.2013

Hello.
As i mentioned, i need a gun safe script.
I'm not so good scripter yet, i learn scripting..
If someone is so nice and can give(do) the script, i'll be very apperciated.

I describe a little, what there must be:
If character enters his own house, then he can use the Command /gunsafe or smth else.
Then it gives the "Usage: /gunsafe: [slot 1/2/3]"
It puts the gun to safe what he just right this time holds on his hands.
Then he can put there 3 guns and take them away there "/takegunfromsafe" or smth else.
Gives "Usage: /takegunfromsafe [slot 1/2/3]"
And gives the right gun to him back.
And it only work on his own house.

If here is someone, who can help me, it would be very nice and i can study the script by my own and repeat it by myself.

Thanks.


Re: Gun safe in house. - DobbysGamertag - 25.05.2013

This has what you're looking for

https://sampforum.blast.hk/showthread.php?pid=1698973#pid1698973

credits to Gagi.