Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: TropicalTitties 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?
-
Gamemode.PlayerSpawnSWEP (http://wiki.garrysmod.com/favicon.ico) (http://wiki.garrysmod.com/?title=Gamemode.PlayerSpawnSWEP)
Gamemode.PlayerGiveSWEP (http://wiki.garrysmod.com/favicon.ico) (http://wiki.garrysmod.com/?title=Gamemode.PlayerGiveSWEP)
Assuming you have experience with Lua.
-
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?
-
Player.IsSuperAdmin (http://wiki.garrysmod.com/favicon.ico) (http://wiki.garrysmod.com/?title=Player.IsSuperAdmin)
-
Now you could also use URS (http://forums.ulyssesmod.net/index.php/topic,5269.0.html) to do this.