❓ GMod game is crashing
I'm trying to make a simple bhop. Heres what I got. Its C++ by the way.
I really don't know whats wrong, but once again, when I type lua_openscript_cl module.lua it crashes the game. Here's my lua file.
Code:
int VeriBHop(lua_State* state) {
userCmd->upmove = 200.0f;
return 0;
}
Code:
require("veriscript26")
hook.Add( "KeyPress", "VeriBHop", function( ply, key )
if ( key == IN_USE ) then
VeriBHop()
end
end )
VeriCheckProcess()