Server Artifact : b12160 (Linux) - Maybe also on some olders
Categorie : Server side issue
Issue : entityRemoved entity args cannot be use as before, using GetEntityType or Owner send an error.
SCRIPT ERROR: native 000000000b1bd08d: Tried to access invalid entity: 157447
Native being dependant on which native you are using ofc.
Repro :
- Update to recent artifacts
- Add this snippet server side :
AddEventHandler('entityRemoved', function(_entity)
local entity = _entity
--
local type = GetEntityType(entity)
end)
- Create a vehicle and then delete it (should also work on objects/peds but only tried on vehicles)
It will send the error.
Here if you need any infos.
Peace