Garry's Mod

Garry's Mod

GMedieval Gamemode (BETA)
15 条留言
balkaptan  [作者] 2 月 25 日 上午 7:44 
I'm Glad you like this Guys.. Check Out My other GM : TWD
I 'm sure better than this Gamemode..
Feromon 2 月 24 日 下午 1:40 
hud gothic 2 !? very cool )
balkaptan  [作者] 2 月 24 日 下午 12:49 
Ah okey this is more easy for me. I Will work on this.. :steamthumbsup:
MrGeRoI 2 月 23 日 上午 7:41 
No. It won't work.

Here example on server:

-- F1 key
function GM:ShowHelp( ply )
ply:ConCommand("GunGameMenu")
end

-- F3 key
function GM:ShowSpare2( ply )
ply:ConCommand("ADMIN_MENU")
end

And on client:

-- C key
function GM:OnContextMenuOpen()
RunConsoleCommand("thirdperson_enhanced_toggle")
end

function GM:OnContextMenuClose() end
balkaptan  [作者] 2 月 20 日 下午 9:50 
Does this example work?

for k,v in pairs(player.GetAll()) do
v:ConCommand("bind F3 ADMIN_MENU")
end
balkaptan  [作者] 2 月 19 日 下午 4:57 
I tried something but doesnt work. Can you send me one example for F3?
balkaptan  [作者] 2 月 19 日 下午 4:14 
okey thank you..
MrGeRoI 2 月 19 日 下午 3:46 
It's hook called 'PlayerBindPress'. Usually F1, F3 and C has binded to commands so u check if bind is 'gm_showhelp' (for F1), 'gm_showspare1' (for F3) or '+menu_context' (for C) just call functions that u need and return true in the hook to prevent the bind.
balkaptan  [作者] 2 月 19 日 下午 3:37 
Can you show me how to do it? I don't know exactly
MrGeRoI 2 月 19 日 上午 9:10 
Please move binds to lua hooks. I don't want mess up my binds
subject six "gael" 2 月 18 日 下午 1:24 
pirates knights and vikings reference (real, not fake, not clickbait, 18+, police called, gone wrong, sexual, leak)
мертвое море 2 月 17 日 下午 2:02 
jk
balkaptan  [作者] 2 月 16 日 上午 8:47 
Guys, if you don't like this Gamemode, I can delete it for sure..
анальный вертиль 2 月 16 日 上午 7:33 
♥♥♥♥♥ переделывай