RDR3 match
GRAPHICS::GET_SCREEN_COORD_FROM_WORLD_COORD
0x3374F13934AF2850 ·RVA 0x03C0C570
Signature
BOOL GET_SCREEN_COORD_FROM_WORLD_COORD(
Vector3 world,
float* screenX,
float* screenY
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | world |
– |
| 1 | float* | screenX |
– |
| 2 | float* | screenY |
– |
Returns
BOOL
Notes
- worldX, worldY and worldZ in RDR3 are one Vector3 in GTA VI.
Call it
// GRAPHICS::GET_SCREEN_COORD_FROM_WORLD_COORD
auto result = invoke<BOOL>(0x3374F13934AF2850, world, &screenX, &screenY);// GRAPHICS::GET_SCREEN_COORD_FROM_WORLD_COORD
bool result = Function.Call<bool>((Hash)0x3374F13934AF2850, world, screenX, screenY);-- GRAPHICS::GET_SCREEN_COORD_FROM_WORLD_COORD
local result = Citizen.InvokeNative(0x3374F13934AF2850, world, screenX, screenY)// GRAPHICS::GET_SCREEN_COORD_FROM_WORLD_COORD
const result = Citizen.invokeNative("0x3374F13934AF2850", world, screenX, screenY);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.