RDR3 match
PED::GET_CURRENT_TARGET_FOR_PED
0x6BFF5F4A3299015D ·RVA 0x03CD1250
Signature
Entity GET_CURRENT_TARGET_FOR_PED(Ped ped);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
Returns
Entity
Call it
// PED::GET_CURRENT_TARGET_FOR_PED
auto result = invoke<Entity>(0x6BFF5F4A3299015D, ped);// PED::GET_CURRENT_TARGET_FOR_PED
int result = Function.Call<int>((Hash)0x6BFF5F4A3299015D, ped);-- PED::GET_CURRENT_TARGET_FOR_PED
local result = Citizen.InvokeNative(0x6BFF5F4A3299015D, ped)// PED::GET_CURRENT_TARGET_FOR_PED
const result = Citizen.invokeNative("0x6BFF5F4A3299015D", ped);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.