Khalil Posted September 2, 2012 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.
Jaysds1 Posted September 2, 2012 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
Khalil Posted September 2, 2012 Author Posted September 2, 2012 And how do I make the people inside the ColShape unkillable?
Jaysds1 Posted September 3, 2012 Posted September 3, 2012 oh, use: onClientPlayerDamage and check if they're in the col and if they are then cancel the event.
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