Garry's Mod

Garry's Mod

Permanent Weapons [Menu | System]
18 条留言
KoG Runey 2022 年 2 月 25 日 下午 2:44 
Is there a way to make it so only SuperAdmin & Owner can access this menu?
HITRALPH [FR] 2021 年 4 月 23 日 下午 4:08 
i don't know why but even with my steam id the add refuse to work
Skila 2020 年 7 月 19 日 上午 6:02 
Oh cheers for that mate
Merdeus  [作者] 2020 年 7 月 16 日 上午 6:18 
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 2020 年 7 月 15 日 上午 8:50 
How do you reset all players permweapons?
Hatsune Miku 2020 年 7 月 13 日 下午 4:51 
It worked when I reset the server to find out the error. Sorry for the trouble.
Merdeus  [作者] 2020 年 7 月 13 日 下午 3:18 
Look into your console. You will definitly find an error.
Hatsune Miku 2020 年 7 月 13 日 下午 3:02 
Whenever I type the command in chat, no menu opens. Am I doing something wrong?
Merdeus  [作者] 2020 年 2 月 7 日 上午 5:09 
Not really, you would have to use lua.
Exp:

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

for give with a script (in console)
Merdeus  [作者] 2018 年 10 月 9 日 下午 2:43 
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 2018 年 10 月 9 日 下午 2:30 
Hello, you can make a console command for that?


example:

permaweapon_give "playername/steamID" "weapon_entity"