ULX

Author Topic: Deny gm_giveswep HELP  (Read 3093 times)

0 Members and 1 Guest are viewing this topic.

Offline TropicalTitties

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Deny gm_giveswep HELP
« on: May 09, 2011, 08:43:41 AM »
How do i deny admins the right to use gm_giveswep so they cannot give themselves weapons from the prop/vehicle/weapon spawning menu?

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Deny gm_giveswep HELP
« Reply #1 on: May 09, 2011, 01:23:17 PM »
Gamemode.PlayerSpawnSWEP
Gamemode.PlayerGiveSWEP
Assuming you have experience with Lua.

Offline TropicalTitties

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Deny gm_giveswep HELP
« Reply #2 on: May 09, 2011, 02:19:10 PM »
Thanks aaron, i have the server on darkrp so would it be in the darkrp gamemode files, and is there any way to make it superadmin only but not normal admin?

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Deny gm_giveswep HELP
« Reply #3 on: May 09, 2011, 02:53:20 PM »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Deny gm_giveswep HELP
« Reply #4 on: May 10, 2011, 06:36:58 PM »
Now you could also use URS to do this.