IS_TRACKED_PED_VISIBLE
Returns whether or not a ped is visible within your FOV, not this check auto's to false after a certain distance.
Hash
0x91C8E617F64188ACRuntime name
IsTrackedPedVisibleNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x91C8E617F64188ACSignature
BOOL IS_TRACKED_PED_VISIBLE(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Description
Returns whether or not a ped is visible within your FOV, not this check auto's to false after a certain distance.
Target needs to be tracked first, won't work otherwise.
Usage
local retval = IsTrackedPedVisible(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x91C8E617F64188AC, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsTrackedPedVisible(ped);
// by hash
const retval = Citizen.invokeNative('0x91C8E617F64188AC', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x91C8E617F64188AC, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.