Jump to content
Sign in to follow this  
malakdecaen

Keypad access for a House ?? Get a Donation if you script that for me!!

Recommended Posts

I'm really not sure how it works with boxes, because I didn't script it with that in mind. Most of the things right now are based on attaching things to doors and so and assigning the password variable to the closest building (When using global), so to use it on boxes you would need to change it adding the lock to an ammo box and attaching it to some point on that box. Then about not being able to access it.. Well, I tried just normally locking it, but that doesn't work (Still lets you access it), so I you either need to remove the inventory option on it (Really not sure how to do it) or remove all weapons/magazines when it's locked. It shouldn't really be all that hard to do, but right now I'd rather just work making this as good as possible. Being able to use keypads for things oter than buildings comes after that

Share this post


Link to post
Share on other sites

ok m8 thanks its sorted it was right what i had already written each box had its own random password just as i thought ,yeah lock just dont work i am having to use

clearWeaponCargoGlobal _object;

clearMagazineCargoGlobal _object;

to get over the lock problem but i already new this but thanks anyway m8

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×