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:
Check storage:
Using TFS 1.2.
Thanks.
Add storage:
Code:
player:setStorageValue(storage, os.time() + Time)
Check storage:
Code:
if os.time() >= player:getStorageValue(storage) then
Using TFS 1.2.
Thanks.