Sami_~> Posted July 2, 2017 Share Posted July 2, 2017 (edited) can any one say me how can i block weapons like rpg,minigun,rocket launcher etc.. Edited July 3, 2017 by Dutchman101 adapted topic title to portray question Link to comment
MTA Anti-Cheat Team Dutchman101 Posted July 3, 2017 MTA Anti-Cheat Team Share Posted July 3, 2017 Are you using default freeroam or do you mean scripting this for another gamemode, to block these weapons? Link to comment
Sami_~> Posted July 3, 2017 Author Share Posted July 3, 2017 i am using default freeroam.. Link to comment
MTA Anti-Cheat Team Dutchman101 Posted July 3, 2017 MTA Anti-Cheat Team Share Posted July 3, 2017 (edited) 10 hours ago, sami2277 said: i am using default freeroam.. Then simply block it in resource settings (meta.xml or adminpanel select resources > freeroam ''settings'') it allows you to block weapons by ID. As this is more of a resource (gamemode) question, moving to Resources + title clarification Edited July 3, 2017 by Dutchman101 Link to comment
Sami_~> Posted July 4, 2017 Author Share Posted July 4, 2017 in setting i cant block weapon even i enter the ID Link to comment
Sami_~> Posted July 4, 2017 Author Share Posted July 4, 2017 help! weapons are enable but player can't use any weapons.. Link to comment
Mohameddz Posted July 4, 2017 Share Posted July 4, 2017 Only for joinning your admin panel, Then go to resources And searsh for freeroam script. Then press double click with mouse1.Then down you will see this (weapons/disallowed) Join on it Then Make change with Weapons number Spoiler (Only for disabled weapon number) Spoiler Link to comment
Sami_~> Posted July 5, 2017 Author Share Posted July 5, 2017 please give me a any script to block weapons. Link to comment
Sami_~> Posted July 10, 2017 Author Share Posted July 10, 2017 any script or code is there to block weapon..... Link to comment
Storm-Hanma Posted July 10, 2017 Share Posted July 10, 2017 (edited) 24 minutes ago, sami2277 said: any script or code is there to block weapon..... Simple way is download resources from community name-forbidweapons after download open it and u see lua file open it add the weapons id u need to block and save it and upload in ur server then run it now RPG,min gun.will not work for players for admin u can spawn by panel Another method: Make a copy of freeroam/weapons lua in another drive so that in case u need to add again weapons in free roam u can add Open folder of MTA/redirect to free roam /weapons.lua open this weapons lua and look for the weapons u need to block (remove) delete that whole line of id of weapon like minigun remove that whole line id of minigun !and save it and start freeroam now u can see minigun ,ak47,RPG are not visible in freeroam for admin u can spawn mini gun ..from p panel !! Edited July 10, 2017 by Khadeer143 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