Jump to content

How to block specific weapons in freeroam?


Recommended Posts

  • MTA Anti-Cheat Team
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 by Dutchman101
Link to comment
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 by Khadeer143
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...