How to block specific weapons in freeroam?

Recommended Posts

can any one say me how can i block weapons like rpg,minigun,rocket launcher etc..


Edited by Dutchman101
adapted topic title to portray question

Share this post

Link to post

Are you using default freeroam or do you mean scripting this for another gamemode, to block these weapons?

Share this post

Link to post
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

Share this post

Link to post

help! weapons are enable but player can't use any weapons..

Share this post

Link to post

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




Share this post

Link to post
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

Share this post

Link to post

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.