#How to make a dynamic property system

1 messages · Page 1 of 1 (latest)

frank drift
#

How to make a dynamic property system

dire raptor
#

Yeah i can help u with that

frank drift
#

so how do you do it

small hornet
#
//for player
player.setDynamicProperty("id", value);
//for world
world.setDynamicProperty("id", value);
#

To get their value

const myDP = player.getDynamicProperty("id");
console.warn(myDP);
humble vapor
frank drift
#

alr danke

paper hull
quasi pewter
#

where you save the cache every minute or so or when the player leaves depending on the need