{"hash":"0x4971D2F8162B9674","ns":"ENTITY","name":"SET_ENTITY_AS_NO_LONGER_NEEDED","slug":"SET_ENTITY_AS_NO_LONGER_NEEDED","official":true,"named":true,"luaName":"SetEntityAsNoLongerNeeded","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity*"}],"summary":"Marks the specified entity (ped, vehicle or object) as no longer needed.","descriptions":[{"source":"alloc8or","format":"text","body":"Marks the specified entity (ped, vehicle or object) as no longer needed.\nEntities marked as no longer needed, will be deleted as the engine sees fit."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xB736A491E64A32CF","gtaJhash":"0xADF2267C","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_AS_NO_LONGER_NEEDED","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_AS_NO_LONGER_NEEDED.md","snippets":{"lua":"local entity = SetEntityAsNoLongerNeeded(entity)","luaInvoke":"local entity = Citizen.InvokeNative(0x4971D2F8162B9674, Citizen.PointerValueIntInitialized(entity))","js":"const entity = SetEntityAsNoLongerNeeded(entity);","jsInvoke":"const entity = Citizen.invokeNative('0x4971D2F8162B9674', Citizen.pointerValueIntInitialized(entity));","csharp":"var entity = new OutputArgument();\nFunction.Call((Hash)0x4971D2F8162B9674, entity);\n// entity.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result."]}}