SET_PED_AS_NO_LONGER_NEEDED
This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED.
Hash
0x2595DD4236549CE3Runtime name
SetPedAsNoLongerNeededNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2595DD4236549CE3Signature
void SET_PED_AS_NO_LONGER_NEEDED(Ped* ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped* | — |
Returns void
Description
This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED.
Usage
local ped = SetPedAsNoLongerNeeded(ped)
-- always works, by hash
local ped = Citizen.InvokeNative(0x2595DD4236549CE3, Citizen.PointerValueIntInitialized(ped))JavaScript and C#
const ped = SetPedAsNoLongerNeeded(ped);
// by hash
const ped = Citizen.invokeNative('0x2595DD4236549CE3', Citizen.pointerValueIntInitialized(ped));var ped = new OutputArgument();
Function.Call((Hash)0x2595DD4236549CE3, ped);
// ped.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.