Hey, I would like to have a native called SetEntityData, which you can save some data “inside” an entity, and so it will be reached from any resource. Like SetElemetData from MTA

With this native, you will be able to sync data between resources, client-server, without using triggers and event handlers inside every resource, and get the data over and over every time you want an up to date data.

this is somewhere in the backlog already (except in a HLL-aware way - “state bags” per player, entity and/or session) but until it is implemented you can very easily implement something yourself already using either

a) decorators
b) a custom system wrapping events

1 Like

2 posts were split to a new topic: A getter for peds in vehicles for server state awareness