global.myplayerset 3

Set a global variable for my network player that can be referenced from any script and by any player in the room.
If another player sets a variable with the same id, it won't compromise my variable.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1anyA variable to store. Accepted types: bool, float, int, string
2anyIdentifier to get the stored value

Examples

No examples available.


Back to Scripting API