ENTITY
GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
0x2274BC1C4885E333
Jenkins: 0x6477EC9E
Signature
// ENTITY
Vector3 GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS(Entity entity, float posX, float posY, float posZ)
Parameters
| Type | Name |
|---|---|
| Entity | entity |
| float | posX |
| float | posY |
| float | posZ |
Return type Vector3
Build 323
Documentation
Converts world coords (posX - Z) to coords relative to the entity Example: posX is given as 50 entity's x coord is 40 the returned x coord will then be 10 or -10, not sure haven't used this in a while (think it is 10 though).
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.