UserCMD
Any UserCMD function can only be called from CreateMove callback!
SetMouseY
Parameters: float position
[EN] Used to set mouse Y position
[RU] Π£ΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°Π΅Ρ ΠΏΠΎΠ·ΠΈΡΠΈΡ ΠΌΡΡΠΈ ΠΏΠΎ ΠΎΡΠΈ Y
SetMouseX
Parameters: float position
[EN] Used to set mouse X position
[RU] Π£ΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°Π΅Ρ ΠΏΠΎΠ·ΠΈΡΠΈΡ ΠΌΡΡΠΈ ΠΏΠΎ ΠΎΡΠΈ X
GetMovement
Return value: array object (Vector) with forward/side/up move values
[EN] Used to obtain movement values
[RU] ΠΠΎΠ»ΡΡΠ°Π΅Ρ Π·Π½Π°ΡΠ΅Π½ΠΈΡ ΠΎ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΠΈ
SetViewAngles
Parameters: array object (Vector) with x/y/z values, bool silent
[EN] Control user angles
[RU] Π£ΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°Π΅Ρ ΡΠ³Π»Ρ ΠΊΠΎΠΌΠ°Π½Π΄Ρ
Send
[EN] Forces current command to be send to server
[RU] ΠΡΠΏΡΠ°Π²Π»ΡΠ΅Ρ ΡΠ΅ΠΊΡΡΡΡ ΠΊΠΎΠΌΠ°Π½Π΄Ρ Π½Π° ΡΠ΅ΡΠ²Π΅Ρ
Choke
[EN] Forces current command to be choked
[RU] Π§ΠΎΠΊΠ°Π΅Ρ ΡΠ΅ΠΊΡΡΡΡ ΠΊΠΎΠΌΠ°Π½Π΄Ρ
SetButtons
Parameters: int buttons
[EN] Used to send buttons
[RU] ΠΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ Π΄Π»Ρ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ ΡΠ»Π°Π³ΠΎΠ² buttons
GetButtons
Return value: int buttons
[EN] Used to get buttons
[RU] ΠΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ Π΄Π»Ρ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΡΠ»Π°Π³ΠΎΠ² buttons
SetMovement
Parameters: array object (Vector) with forward/side/up float values
[EN] Control user movement
[RU] ΠΠΎΠ½ΡΡΠΎΠ»Ρ Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ ΠΈΠ³ΡΠΎΠΊΠ°
SetAngles
Warning! This function is undocumented officially. Please use it carefully
Parameters: array object (Vector) with angle values
[EN] Control user angles
[RU] ΠΠΎΠ½ΡΡΠΎΠ»Ρ ΡΠ³Π»ΠΎΠ² ΠΈΠ³ΡΠΎΠΊΠ°
ForceJump
Warning! This function is undocumented officially. Please use it carefully
[EN] Forces player to jump
[RU] ΠΠ°ΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΈΠ³ΡΠΎΠΊΠ° ΠΏΡΡΠ³Π½ΡΡΡ
ForceCrouch
Warning! This function is undocumented officially. Please use it carefully
[EN] Forces player to crouch
[RU] ΠΠ°ΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΈΠ³ΡΠΎΠΊΠ° ΡΠ΅ΡΡΡ
Last updated