altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

metaChange event its not called serverside

Open S0P4 opened this issue 6 months ago • 4 comments

Description of the problem

metaChange event its not called serverside

Reproduction steps

import * as alt from "alt-server";

alt.on("metaChange", (entity, key, newValue, oldValue) => {
  alt.log(`meta change: ${key} ${newValue} ${oldValue}`);
});

alt.onClient("testme", player => {
  player .setMeta("meta", Date.now());
  alt.log(player.setMeta("meta"));
})

Expected behaviour

The event metaChange should be called when changing meta.

Additional context

No response

Operating system

Windows 11

Version

16.2.1-dev.1

Crashdump ID

No response

Confirmation of issue's presence

  • [X] By submitting this ticket, I affirm that I have verified the presence of this issue on the latest developer version available at the time of writing this ticket.

S0P4 avatar Aug 18 '24 21:08 S0P4