Khalil Posted September 2, 2012 Share Posted September 2, 2012 I would like to know, if it is possible, how to disable weapons in a certain location. Where no one in that area could take their gun out. Also, how do I make a specific area where everybody in it is un-killable. Link to comment
Jaysds1 Posted September 2, 2012 Share Posted September 2, 2012 well, you would need to use: colshapes: createColRectangle createColSphere More here: Colshape then when they enter it, use these functions: setPedWeaponSlot then use the event: onPedWeaponSwitch Link to comment
Khalil Posted September 2, 2012 Author Share Posted September 2, 2012 And how do I make the people inside the ColShape unkillable? Link to comment
Jaysds1 Posted September 3, 2012 Share Posted September 3, 2012 oh, use: onClientPlayerDamage and check if they're in the col and if they are then cancel the event. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now