{"hash":"0x5E94EA09E7207C16","ns":"ENTITY","name":"_DELETE_ENTITY_2","slug":"_DELETE_ENTITY_2","official":false,"named":true,"luaName":"DeleteEntity_2","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity*"}],"summary":"Must be called from a background script, otherwise it will do nothing.","descriptions":[{"source":"alloc8or","format":"text","body":"Must be called from a background script, otherwise it will do nothing."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","unused":true,"sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_DELETE_ENTITY_2","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_DELETE_ENTITY_2.md","snippets":{"lua":"local entity = DeleteEntity_2(entity)","luaInvoke":"local entity = Citizen.InvokeNative(0x5E94EA09E7207C16, Citizen.PointerValueIntInitialized(entity))","js":"const entity = DeleteEntity_2(entity);","jsInvoke":"const entity = Citizen.invokeNative('0x5E94EA09E7207C16', Citizen.pointerValueIntInitialized(entity));","csharp":"var entity = new OutputArgument();\nFunction.Call((Hash)0x5E94EA09E7207C16, 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.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}