Game codeUnofficial name
PLAYER::_GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
0x13EB5E998516C3BA ·RVA 0x045012C0
Signature
BOOL _GET_PLAYER_FREE_AIM_CLOSEST_ENTITY(Player p0, Any* p1);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Player | p0 |
the game reads one byte, and the scripts pass the results of GET_PLAYER_INDEX. |
| 1 | Any* | p1 |
the scripts pass an address; what it points to isn't known. |
Returns
BOOL
the game returns one byte.
Call it
// PLAYER::_GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
auto result = invoke<BOOL>(0x13EB5E998516C3BA, p0, &p1);// PLAYER::_GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
bool result = Function.Call<bool>((Hash)0x13EB5E998516C3BA, p0, p1);-- PLAYER::_GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
local result = Citizen.InvokeNative(0x13EB5E998516C3BA, p0, p1)// PLAYER::_GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
const result = Citizen.invokeNative("0x13EB5E998516C3BA", p0, p1);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.