Closed devpanda0 closed 3 months ago
A picture of what I mean
Added in https://github.com/altmp/altv-js-module-v2/commit/6b0ea967a0c188828f99945401eaa95e6a5af44c (dev/0.0.0-dev.49
)
import alt from '@altv/server';
const entity = alt.Vehicle.create({
model: 'blista',
pos: { x: 0, y: 0, z: 0 },
initialData: {
meta: {
test: {
value: 123,
yes: false,
meow: 'MEOW',
},
},
syncedMeta: {
test2: 123
},
streamSyncedMeta: {
test3: 'meow'
},
},
});
alt.log(entity, entity.meta.test, entity.syncedMeta.test2, entity.streamSyncedMeta.test3);
It is meant as with the VirtualEntity that you can specify initial streamSyncedMeta Data. It would be nice if this were available for everyone, where you can also set streamSyncedMeta