• 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+ player:setStorageValue(100, Rat) dont work, why?

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,210
Solutions
35
Reaction score
206
Hello guys, i'm using otx 1.3 and have one problem...
if i use:
Code:
player:setStorageValue(100, Rat)

and when i check
Code:
player:getStorageValue(100)
it returns the value: 0... not returns value Rat, like tfs 0.4
how i can solve it?
 
tfs 1.0 dont support strings in storagevalues
but theres a pull request for adding it so u can add that if u want
 
Feature should already work, but it isn't added officially to TFS yet, but I think it will soon.

If you need it now, you can add it yourself:
player storage values as string #2522

When you store something as a string, remember to use either single or double quotes, as already mentioned above.
 
Back
Top