SET_ENTITY_COORDS_NO_OFFSET
Teleports the entity to the exact coordinates without applying a model offset.
Signature
void SET_ENTITY_COORDS_NO_OFFSET(Entity entity, float xPos, float yPos, float zPos, BOOL xAxis, BOOL yAxis, BOOL zAxis); // 0x239A3351AC1DA385 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | xPos | float |
| 3 | yPos | float |
| 4 | zPos | float |
| 5 | xAxis | BOOL |
| 6 | yAxis | BOOL |
| 7 | zAxis | BOOL |
Facts
| Name | SET_ENTITY_COORDS_NO_OFFSET |
|---|---|
| Hash | 0x239A3351AC1DA385 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x239A3351AC1DA385, -- SET_ENTITY_COORDS_NO_OFFSET
PlayerPedId(), -- Entity entity
0.0, -- float xPos
0.0, -- float yPos
0.0, -- float zPos
false, -- BOOL xAxis
false, -- BOOL yAxis
false -- BOOL zAxis
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x239A3351AC1DA385", // SET_ENTITY_COORDS_NO_OFFSET
PlayerPedId(), // Entity entity
0.0, // float xPos
0.0, // float yPos
0.0, // float zPos
false, // BOOL xAxis
false, // BOOL yAxis
false // BOOL zAxis
);Function.Call((Hash)0x239A3351AC1DA385, // SET_ENTITY_COORDS_NO_OFFSET
API.PlayerPedId(), // Entity entity
0.0f, // float xPos
0.0f, // float yPos
0.0f, // float zPos
false, // BOOL xAxis
false, // BOOL yAxis
false // BOOL zAxis
);Related ENTITY natives
- SET_ENTITY_NO_COLLISION_ENTITY
- SET_ENTITY_COORDS
- _SET_ENTITY_COORDS_AND_HEADING_NO_OFFSET
- SET_ENTITY_AS_MISSION_ENTITY
- SET_ENTITY_AS_NO_LONGER_NEEDED
- SET_ENTITY_COLLISION
- SET_ENTITY_COMPLETELY_DISABLE_COLLISION
- SET_ENTITY_CAN_BE_DAMAGED
- SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP
- SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
- SET_ENTITY_ALPHA
- SET_ENTITY_ALWAYS_PRERENDER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.