RedM Natives

IS_VEHICLE_VISIBLE

Requires a visibility tracker on the vehicle (TRACK_VEHICLE_VISIBILITY)

Hash0x424910CD5DE8C246
Runtime nameIsVehicleVisible
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xAA0A52D24FB98293

Signature

BOOL IS_VEHICLE_VISIBLE(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns BOOL

Description

Requires a visibility tracker on the vehicle (TRACK_VEHICLE_VISIBILITY)

Usage

Lua
local retval = IsVehicleVisible(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0x424910CD5DE8C246, vehicle, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsVehicleVisible(vehicle);

// by hash
const retval = Citizen.invokeNative('0x424910CD5DE8C246', vehicle, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x424910CD5DE8C246, vehicle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.