HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED
Signature
BOOL HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns BOOL
Usage
local retval = HasEntityBeenMarkedAsNoLongerNeeded(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9c9a3be0, vehicle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasEntityBeenMarkedAsNoLongerNeeded(vehicle);
// by hash
const retval = Citizen.invokeNative('0x9c9a3be0', vehicle, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x9c9a3be0, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.