[SOLVED] Trouble with SetEntityAsNoLongerNeeded

Manifest version 44febabe-d386-4d18-afbe-5e627f4af937 (2017-06-07)

  • The natives.lua file natives_universal.lua will be used for client-side Lua. This is a universal natives.lua file, which should be able to be switched to without having to change your scripts. It also represents a more recent (2017-06-05) snapshot of NativeDB.

Manifest version 05cfa83c-a124-4cfa-a768-c24a5811d8f9 (2017-06-04)

  • Scripts will now be registered as a game network script. This is required for networking entities.
  • [CREATE_VEHICLE](file:///N:/AF35D0D2583051B0) and similar functions behave differently when passing true, true as network object flags. See network objects for more information.

For some reason, SetVehicleAsNoLongerNeeded is not working with manifest version 44febabe-d386-4d18-afbe-5e627f4af937 but works with manifest version 05cfa83c-a124-4cfa-a768-c24a5811d8f9 using exactly same code. I think function definitions are same for both manifest, it’s something else that broke it.