#How to make a dynamic property system
1 messages · Page 1 of 1 (latest)
Yeah i can help u with that
//for player
player.setDynamicProperty("id", value);
//for world
world.setDynamicProperty("id", value);
To get their value
const myDP = player.getDynamicProperty("id");
console.warn(myDP);
thanks ill try it out
Use JSON.stringify and parse if you want to easy save and access to things
alr danke
Not really quick and easy saving but instead you just decrease the use of separate dynamic properties...
well if you want quick and easy u use a caching system
where you save the cache every minute or so or when the player leaves depending on the need