Game codeUnofficial name
ENTITY::_SET_ENTITY_COORDS_AND_HEADING
0x41ED1695DFC41002 ·RVA 0x03C13640
Signature
void _SET_ENTITY_COORDS_AND_HEADING(
Entity entity,
Vector3 pos,
float heading,
BOOL xAxis,
BOOL yAxis,
float zAxis
);
The scripts pass 8 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | Vector3 | pos |
– |
| 2 | float | heading |
– |
| 3 | BOOL | xAxis |
– |
| 4 | BOOL | yAxis |
– |
| 5 | float | zAxis |
RDR3 says BOOL, but the game reads it as a float. |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// ENTITY::_SET_ENTITY_COORDS_AND_HEADING
invoke<Void>(0x41ED1695DFC41002, entity, pos, heading, xAxis, yAxis, zAxis);// ENTITY::_SET_ENTITY_COORDS_AND_HEADING
Function.Call((Hash)0x41ED1695DFC41002, entity, pos, heading, xAxis, yAxis, zAxis);-- ENTITY::_SET_ENTITY_COORDS_AND_HEADING
Citizen.InvokeNative(0x41ED1695DFC41002, entity, pos, heading, xAxis, yAxis, zAxis)// ENTITY::_SET_ENTITY_COORDS_AND_HEADING
Citizen.invokeNative("0x41ED1695DFC41002", entity, pos, heading, xAxis, yAxis, zAxis);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.