FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
0xDFE68C4B787E1BFB
(Ped ped)
0xE906EC930F5FE7C8
(Any p0, Any p1)
0xEA9960D07DADCF10
(Any p0)
0xEC4B4B3B9908052A
(Ped ped, float unk)
0xED3C76ADFA6D07C4
(Ped ped)
0xF033419D1B81FAE8
(Any p0)
0xF2385935BFFD4D92
(Ped ped)
0xF2BEBCDFAFDAA19E
(BOOL toggle)
0xFAB944D4D481ACCB
(Ped ped, BOOL toggle)
0xFD325494792302D7
(Ped ped, BOOL toggle)
0xFEC9A3B1820F3331
(Ped ped)
0xFF4803BC019852D9
(float p0, Any p1)
Namespace:
PHYSICS
ACTIVATE_PHYSICS
(Entity entity)
ADD_ROPE
(float x, float y, float z, float rotX, float rotY, float rotZ, float maxLength, int ropeType, float initLength, float minLength, float lengthChangeRate, BOOL onlyPPU, BOOL collisionOn, BOOL lockFromFront, float timeMultiplier, BOOL breakable, Any* unkPtr)
APPLY_IMPULSE_TO_CLOTH
(float posX, float posY, float posZ, float vecX, float vecY, float vecZ, float impulse)
ATTACH_ENTITIES_TO_ROPE
(int ropeId, Entity ent1, Entity ent2, float ent1_x, float ent1_y, float ent1_z, float ent2_x, float ent2_y, float ent2_z, float length, BOOL p10, BOOL p11, char* boneName1, char* boneName2)
ATTACH_ROPE_TO_ENTITY
(int ropeId, Entity entity, float x, float y, float z, BOOL p5)
BREAK_ENTITY_GLASS
(Entity entity, float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, Any p9, BOOL p10)
DELETE_CHILD_ROPE
(int ropeId)
DELETE_ROPE
(int* ropeId)
DETACH_ROPE_FROM_ENTITY
(int ropeId, Entity entity)
_DOES_ROPE_BELONG_TO_THIS_SCRIPT
(int ropeId)
DOES_ROPE_EXIST
(int* ropeId)
GET_CGOFFSET
(Entity entity)
_GET_HAS_OBJECT_FRAG_INST
(Object object)
GET_ROPE_LAST_VERTEX_COORD
(int ropeId)
GET_ROPE_VERTEX_COORD
(int ropeId, int vertex)
GET_ROPE_VERTEX_COUNT
(int ropeId)
LOAD_ROPE_DATA
(int ropeId, char* rope_preset)
PIN_ROPE_VERTEX
(int ropeId, int vertex, float x, float y, float z)
ROPE_ARE_TEXTURES_LOADED
()
ROPE_CONVERT_TO_SIMPLE
(int ropeId)
ROPE_DRAW_SHADOW_ENABLED
(int* ropeId, BOOL toggle)
ROPE_FORCE_LENGTH
(int ropeId, float length)