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. Level 3 admin on RRC:RPG.
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 My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Khalil Posted September 2, 2012 Author Posted September 2, 2012 And how do I make the people inside the ColShape unkillable? Level 3 admin on RRC:RPG.
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. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
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