• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Any way to reset player's StorageValue after logout?

Baneczek

うさちゃん
Joined
Nov 13, 2013
Messages
70
Reaction score
4
Location
Pila, Poland
Hi everyone.
I'm just wondering if there is any way to reset player Storage Value if he/she logs out. I have a script which saves positions, and then players can teleport to them, the script uses Storage Values.
I'd like to reset the Storage Values used in the script, if player logs out, so he/she cannot teleport to the position when logs in next time.

Using TFS 0.3.6(Crying Damson)
 
Thank you for your fast answer. Works.

EDIT. Got a question. If i have some quests also on Storage Value, will these quests also be reseted and player can do it again?
 
If those quests use the same storage, then yes. If the storage numbers are the same, just change the storage number of the one that should reset after relog and only set the value of that one to -1.
 
Back
Top