RedM Natives

HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED

Hash0x9C9A3BE0
Runtime nameHasEntityBeenMarkedAsNoLongerNeeded
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

BOOL HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns BOOL

Usage

Lua
local retval = HasEntityBeenMarkedAsNoLongerNeeded(vehicle)

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

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

Sources

Cfx.re native reference

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