SETUP_COMMAND

this callback is called every time the client prepares a movement tick ideally you would do all your movement-changing features in here it gives you an instance of the current user_cmd_t this is run before prediction

local function on_setup_command(cmd)
    cmd.move.y = 450
end

callbacks.add(e_callbacks.SETUP_COMMAND)

Last updated