• 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!

Lua Setting Storage value

tiddpd

PHP Scripter
Joined
Apr 16, 2008
Messages
331
Reaction score
0
I have a question. When I try to set a storage for a quest, it resets when the person logs out, or the server restarts.

Do I use setPlayerStorageValue(uid, valueid, newvalue)

Or do I use setGlobalStorageValue(valueid, newvalue)

Because the players can do the quest over and over.
 
but with "setPlayerStorageValue" after restart or whatever did it, the storage value got cleared. i had a movement tile that checks for this storage for you to be able to go through, and people werent able to get through that had it.
 
Back
Top