IS_VEHICLE_VISIBLE
Requires a visibility tracker on the vehicle (TRACK_VEHICLE_VISIBILITY)
Hash
0x424910CD5DE8C246Runtime name
IsVehicleVisibleNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xAA0A52D24FB98293Signature
BOOL IS_VEHICLE_VISIBLE(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns BOOL
Description
Requires a visibility tracker on the vehicle (TRACK_VEHICLE_VISIBILITY)
Usage
local retval = IsVehicleVisible(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x424910CD5DE8C246, vehicle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsVehicleVisible(vehicle);
// by hash
const retval = Citizen.invokeNative('0x424910CD5DE8C246', vehicle, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x424910CD5DE8C246, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.