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

TFS 1.X+ Quick Question about Text Storage

Lava Titan

Developer
Joined
Jul 25, 2009
Messages
1,529
Solutions
1
Reaction score
85
Location
Portugal
Hello everyone!

I have a quick question about text storage, so, few years ago I was working on a project I can't remember what REPO was used but I could use text as a storage key, now I'm using TFS 1.3 (8.6) by Nekiro, I updated my database to accept VARCHAR(255) instead of INT(11) on storage key and tried to insert a text storage value but the output is always 0.


1616310460712.png
1616310393933.png

example of how I'm trying to add storage:

Lua:
player:setStorageValue("reward", time + os.time())

My question is where do I edit this to accept text values instead of just numbers and if it's problematic using text as storage and should just stick to numbers.

Thanks in advance!
 
Back
Top