altv-issues
altv-issues copied to clipboard
metaChange event its not called serverside
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.