• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

config.lua

Sigoles

Discord: @sigoles
Joined
Nov 20, 2015
Messages
1,209
Solutions
2
Reaction score
154
I have a value in config.lua, how do I change that value and add the storage in the player to work with the changed value?

Value = 5000

tfs .1.3

LUA:
if player:getStorageValue(XXXX) == 1 then
Value = 100
end

This function is to move loots fast/slow.
 
Back
Top