#[Dev-Script] pData_clear
21 messages · Page 1 of 1 (latest)
why not?
bc your setting a const to a value, that's like the one limitation of const
oh bcause of the const
yea
also i just noticed,
let players will error ur script on world load, as its null
also even if that was mutable, that would just set the variable not the persistentData cuz javascript doesn't work like that
im using
let pData in almost all of my kjs scripts and it works fine
this is what i do like 99% of the time handling persistentData
well no that's different
cuz you're accessing a variable on persistentData
not directly setting it
bc like for example
let a = { z: 2 };
let b = a;
b = {};
a; // { z: 2 }
b; // { }
sorry abt that 😅
