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

Storage with time.

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
Hi, I'm trying create a code where goes add storage and check the storage with time, but I'm having problem to check/add the storage, I'm not pretty sure. The code is below:

Add storage:
Code:
player:setStorageValue(storage, os.time() + Time)

Check storage:
Code:
if os.time() >= player:getStorageValue(storage) then

Using TFS 1.2.

Thanks.
 
Back
Top