Garry's Mod

Garry's Mod

Permanent Weapons [Menu | System]
18 Comments
KoG Runey 25 Feb, 2022 @ 2:44pm 
Is there a way to make it so only SuperAdmin & Owner can access this menu?
HITRALPH [FR] 23 Apr, 2021 @ 4:08pm 
i don't know why but even with my steam id the add refuse to work
Skila 19 Jul, 2020 @ 6:02am 
Oh cheers for that mate
Merdeus  [author] 16 Jul, 2020 @ 6:18am 
There isn't a direct function for it so you would have to execute a lua command


Write this in your server console:

lua_run sql.Query("DELETE FROM permweaponsmerd")
Skila 15 Jul, 2020 @ 8:50am 
How do you reset all players permweapons?
Hatsune Miku 13 Jul, 2020 @ 4:51pm 
It worked when I reset the server to find out the error. Sorry for the trouble.
Merdeus  [author] 13 Jul, 2020 @ 3:18pm 
Look into your console. You will definitly find an error.
Hatsune Miku 13 Jul, 2020 @ 3:02pm 
Whenever I type the command in chat, no menu opens. Am I doing something wrong?
Merdeus  [author] 7 Feb, 2020 @ 5:09am 
Not really, you would have to use lua.
Exp:

lua_run player.GetBySteamID("STEAM_0:0:170982737"):GrantPermWeapon( "weapon_some" )
Hoptilic 6 Feb, 2020 @ 11:18pm 
is there a a console command?
Y__t 21 Dec, 2019 @ 5:43pm 
Alrighty, thank you!
Merdeus  [author] 21 Dec, 2019 @ 5:42pm 
This addons does not add extra ulx commands, but there should be no problem running this and ulx on the same server.
Y__t 21 Dec, 2019 @ 5:16pm 
Would this be compatible with ULX?
Sarmoc 9 Oct, 2018 @ 3:39pm 
Yes, i want to run console command (for a online shop & one addon)
Merdeus  [author] 9 Oct, 2018 @ 3:31pm 
Do you use/want to use it in a other Gmod Addon ?
Sarmoc 9 Oct, 2018 @ 2:47pm 
How to make ?

for give with a script (in console)
Merdeus  [author] 9 Oct, 2018 @ 2:43pm 
you can turn every console command into a lua command with "lua_run ,,,,"

But i will update it tomorrow where you have to option to directly edit offline players
Sarmoc 9 Oct, 2018 @ 2:30pm 
Hello, you can make a console command for that?


example:

permaweapon_give "playername/steamID" "weapon_entity"