![](/rp/kFAqShRrnkQMbH6NYLBYoJ3lq9s.png)
Practical Information | Lua Documentation
You're welcome to contact us: Cherax Forum. Next API Reference
API Reference | Lua Documentation - docs.cherax.vip
Development Q&A. Lua Directory: C:\Users\{machine.username}\AppData\Roaming\Cherax\Lua
VEHICLE | Lua Documentation - docs.cherax.vip
Copy void SET_VEHICLE_TYRE_SMOKE_COLOR(Vehicle vehicle, int r, int g, int b) Ped GET_PED_IN_VEHICLE_SEAT(Vehicle vehicle, int seatIndex, bool p2) void SET_VEHICLE_IS_STOLEN(Vehicle vehicle, bool isStolen) string GET_MOD_TEXT_LABEL(Vehicle vehicle, int modType, int modValue) string …
rip | Lua Documentation - docs.cherax.vip
Reads an offset from the instruction and returns the resulting address.
SCRIPT | Lua Documentation - docs.cherax.vip
Copy int START_NEW_SCRIPT(string scriptName, int stackSize) Player GET_HOST_OF_THIS_SCRIPT() float GET_GLOBAL_F(int global) int GET_GLOBAL_I(int global) void SET ...
get_base_address | Lua Documentation - docs.cherax.vip
address = g_memory.get_base_address() -- base address of GTA5.exe address2 = g_memory.get_base_address("socialclub.dll") -- base address of socialclub.dll
scan_pattern | Lua Documentation - docs.cherax.vip
result = g_memory. scan_pattern ("40 38 35 ? ? ? ? 75 0E 4C 8B C3 49 8B D7 49 8B CE") -- scans for that pattern in GTA5.exe
TASK | Lua Documentation - docs.cherax.vip
Copy void TASK_COMBAT_PED(Ped ped, Ped targetPed, int p2, int p3) void TASK_WANDER_STANDARD(Ped ped, float p1, int p2) void TASK_VEHICLE_DRIVE_WANDER(Ped ped, Vehicle vehicle, float speed, int drivingStyle) void TASK_START_SCENARIO_IN_PLACE(Ped ped, string scenarioName, int unkDelay, bool …
DECORATOR | Lua Documentation - docs.cherax.vip
Copy bool DECOR_SET_TIME(Entity entity, string propertyName, int timestamp) bool DECOR_SET_BOOL(Entity entity, string propertyName, bool value) bool DECOR_SET_FLOAT ...
UI | Lua Documentation - docs.cherax.vip
Copy int GET_WAYPOINT_BLIP_ENUM_ID() Blip GET_FIRST_BLIP_INFO_ID(int blipSprite) bool DOES_BLIP_EXIST(Blip blip) Blip GET_NEXT_BLIP_INFO_ID(int blipSprite) int GET ...