SET_VEHICLE_AS_NO_LONGER_NEEDED
This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED.
Hash
0x629BFA74418D6239Runtime name
SetVehicleAsNoLongerNeededNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x629BFA74418D6239Signature
void SET_VEHICLE_AS_NO_LONGER_NEEDED(Vehicle* vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle* | — |
Returns void
Description
This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED.
Usage
local vehicle = SetVehicleAsNoLongerNeeded(vehicle)
-- always works, by hash
local vehicle = Citizen.InvokeNative(0x629BFA74418D6239, Citizen.PointerValueIntInitialized(vehicle))JavaScript and C#
const vehicle = SetVehicleAsNoLongerNeeded(vehicle);
// by hash
const vehicle = Citizen.invokeNative('0x629BFA74418D6239', Citizen.pointerValueIntInitialized(vehicle));var vehicle = new OutputArgument();
Function.Call((Hash)0x629BFA74418D6239, vehicle);
// vehicle.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.