Skip to main content

setup_command

Description

Fired every time the game prepares a move command that's sent to the server. This is ran before cheat features like antiaim and can be used to modify user input (view angles, pressed keys, movement) how it's seen by the cheat. For example, setting in_use = 1 will disable antiaim the same way pressing use key ingame does. This is the preferred method of setting user input and should be used instead of client.exec whenever possible.

Arguments

IndexNameType
0Argument #0table

#0 - Properties

NameDescription
chokedcommandsAmount of commands that the client has choked
command_numberCurrent command number
discharge_pendingSet to true to discharge double tap. Does not work with other exploit features
pitchPitch view angle
yawYaw view angle
forwardmoveForward / backward speed (-450 to 450)
sidemoveLeft / right speed (-450 to 450)
move_yawYaw angle that's used for movement. If not set, view yaw is used
allow_send_packetSet to false to make the cheat choke the current command (when possible)
no_chokeSet to true to avoid unnecessary choking like fake lag. Some features (like anti-aimbot) don't respect this field
quick_stopWhether or not quick stop is being triggered
force_defensiveSet to true to forcibly activate defensive
in_attackIN_ATTACK Button
in_jumpIN_JUMP Button
in_duckIN_DUCK Button
in_forwardIN_FORWARD Button
in_backIN_BACK Button
in_useIN_USE Button
in_cancelIN_CANCEL Button
in_leftIN_LEFT Button
in_rightIN_RIGHT Button
in_moveleftIN_MOVELEFT Button
in_moverightIN_MOVERIGHT Button
in_attack2IN_ATTACK2 Button
in_runIN_RUN Button
in_reloadIN_RELOAD Button
in_alt1IN_ALT1 Button
in_alt2IN_ALT2 Button
in_scoreIN_SCORE Button
in_speedIN_SPEED Button
in_walkIN_WALK Button
in_zoomIN_ZOOM Button
in_weapon1IN_WEAPON1 Button
in_weapon2IN_WEAPON2 Button
in_bullrushIN_BULLRUSH Button
in_grenade1IN_GRENADE1 Button
in_grenade2IN_GRENADE2 Button
in_attack3IN_ATTACK3 Button
weaponselect
weaponsubtype