alex11 Posted August 30, 2008 Posted August 30, 2008 if You download freeroam Gamemode from MTA website,You can do the next fix. If player using /wp 550 9999,Get minigun. you can extract file from freeroam.zip using Notepad Open fr_client.lua file fine function giveWeaponCommand(cmd, weapon, amount) weapon = weapon and tonumber(weapon) if not weapon then return end if not amount then amount = 500 else amount = tonumber(amount) end if amount then server.giveMeWeapon(weapon, amount) end end addCommandHandler('give', giveWeaponCommand) addCommandHandler('wp', giveWeaponCommand) replace or modify function giveWeaponCommand(cmd, weapon, amount) weapon = weapon and tonumber(weapon) if not weapon then return end if not amount then amount = 500 else amount = tonumber(amount) end if amount then server.giveMeWeapon(weapon, amount) end end --addCommandHandler('give', giveWeaponCommand) --addCommandHandler('wp', giveWeaponCommand)
Lordy Posted September 1, 2008 Posted September 1, 2008 Nevermind that more efficent would be to just deny the minigun/rockets etc. So a player can still get a spraycan if he wants to
jkub Posted September 1, 2008 Posted September 1, 2008 What I did was delete both the command handlers wp and give, there may of been a better way to do it but it works just fine lol. or if i am correct you can add the "wp" or "give" command to the acl under defeult false and under admin true 1
Gamesnert Posted September 1, 2008 Posted September 1, 2008 What I did was delete both the command handlers wp and give, there may of been a better way to do it but it works just fine lol.or if i am correct you can add the "wp" or "give" command to the acl under defeult false and under admin true That should be "command.wp" and "command.give". Projects: Slothbot | Maximap
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