Solved❓ GMod game is crashing

Posts 1–2 of 2 · Page 1 of 1
❓ GMod game is crashing
I'm trying to make a simple bhop. Heres what I got. Its C++ by the way.

Code:
int VeriBHop(lua_State* state) {
	userCmd->upmove = 200.0f;

	return 0;
}
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:
require("veriscript26")

hook.Add( "KeyPress", "VeriBHop", function( ply, key )
	if ( key == IN_USE ) then
		VeriBHop()
	end
end )
VeriCheckProcess()
1 week has passed and no further replies have been made by the OP. Assuming solved.

/Closed.
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us