Natives ENTITY 0xB736A491E64A32CF void SET_ENTITY_AS_NO_LONGER_NEEDED (Entity* entity); Documentation Community 0
Property
Value
Native Name
SET_ENTITY_AS_NO_LONGER_NEEDED
Hash
0xB736A491E64A32CF
Return Type
void
Parameters
entity (Entity*)
Description: ```
Marks the specified entity (ped, vehicle or object) as no longer needed.
Entities marked as no longer needed, will be deleted as the engine sees fit.
Back to ENTITY Before you callA `*` parameter here is an in/out pointer slot, not an ordinary value argument, and its marshalling depends on type and direction: getter out-slots come back as extra Lua return values (pass a Citizen.PointerValueInt() / PointerValueFloat() placeholder and read them after the normal return), while Vector3* params and in/out handles you supply a value into (e.g. a sequence-task id) are passed differently — confirm the exact convention with get_invoke_guide before passing it like a normal arg.
Let your AI read the fine print. Native signatures, warnings, and community context. Directly in your editor.
Connect via MCP