• I'm working on my own gamemode, i have ULX installed. I have a question about it.
    4 replies, posted
So i got ULX hoping i could use it to disable the "V" fly setting. My gamemode is derived from sandbox in the shared.lua file. I tried taking this off but it kind of disables everything lua related. My question is how would i go about changing the sandbox gamemode to disable the "V" flying part of it. I would also like to know how I can change the sandbox gamemode so you do not spawn with the default sandbox HL2 Weapons. Thanks! (you can probably tell easily but if you can't, yes, i am new to Glua, thanks for you cooperation) please PM me if you want to add me on steam to discuss this if you'd like.
sbox_weapons 0 will disable giving the player HL2 weapons.
Try using this hook. :) [url]http://wiki.garrysmod.com/page/GM/PlayerNoClip[/url]
[QUOTE=Bman99;44691860]Try using this hook. :) [url]http://wiki.garrysmod.com/page/GM/PlayerNoClip[/url][/QUOTE] Using this hook in shared or just have it set on both server and client will make it a lot smoother
Something like this should work. function GM:PlayerNoClip(ply) return false end
Sorry, you need to Log In to post a reply to this thread.