• Gm_Snapgrid
    3 replies, posted
Don't know if anyone has noticed yet but there is an exploit with gm_snapgrid, *Removed to prevent more abuse*. Is there a way to block gm_snapgrid on a server? Don't know if modules such as cvar3 still work, thanks.
Thanks for positing this in detail so everyone now can and will go and use this even more.
I think an official patch that clamps the gm_snapgrid value would be much more preferred. Also, as Robotboy655 implied, it would have been much better to inform _Kilburn or Robotboy655 himself about it instead of making it public. In the meantime, you can do something like [CODE] LocalPlayer():ConCommand( "gm_snapgrid 0" ) -- reset their current value cvars.AddChangeCallback( "gm_snapgrid", function( str, old, new ) LocalPlayer():ConCommand( "gm_snapgrid " .. ( tonumber( new ) and math.Clamp( tonumber( new ), 0, 1000 ) or 0 ) ) end ) [/CODE] to clamp it or just [CODE] LocalPlayer():ConCommand( "gm_snapgrid 0" ) -- reset their current value cvars.AddChangeCallback( "gm_snapgrid", function( str, old, new ) -- prevent them from changing it LocalPlayer():ConCommand( "gm_snapgrid 0" ) end ) [/CODE]
Yeah well it's better than having it sit there for ages with no action being taken, and thank you Mista Tea.
Sorry, you need to Log In to post a reply to this thread.