Camera & Physics
Camera
client:setZoomLevel(level)
| Field | Type |
|---|---|
| Signature | (self: Client, level: number) → string? |
| Returns | string? — nil on success |
| Async | yes |
Pass a CameraZoomLevel.* constant.
client:setZoomValue(value)
| Field | Type |
|---|---|
| Signature | (self: Client, value: number) → string? |
| Returns | string? — nil on success |
| Async | yes |
client:setZoomLevel(level)
client:setZoomValue(value)
CameraZoomLevel.extraFar
CameraZoomLevel.far
CameraZoomLevel.normal
CameraZoomLevel.near
Physics
client:setGravity(enabled)
| Field | Type |
|---|---|
| Signature | (self: Client, enabled: boolean) → () |
| Returns | nothing |
| Async | no |
Toggle the bot's automatic gravity kill-switch. When disabled, the background idle-gravity loop and the post-walk simulate_fall both skip — the server still drives falls, but the bot stops auto-correcting.
client:isGravityEnabled()
| Field | Type |
|---|---|
| Signature | (self: Client) → boolean |
| Returns | boolean — current gravity-kill-switch state |
| Async | no |
client:setGravity(false)
client:isGravityEnabled()