Pokurwieniec
New Member
- Joined
- Feb 1, 2016
- Messages
- 43
- Reaction score
- 1
guys I need help
I have in npc storage for 1 minute:
and here is check if already have
working fine but how to implement this to action script onuse
- teleporting fine but after 1 minute it still teleporting so storage is not removed
even with
what's wrong?
I have in npc storage for 1 minute:
Code:
doPlayerSetStorageValue(cid, 17543, os.time() + 1 * 60)
Code:
(getPlayerStorageValue(cid, 17543) > os.time())
working fine but how to implement this to action script onuse
Code:
(getPlayerStorageValue(cid, 17543) == 1)
even with
Code:
getPlayerStorageValue(cid,17543) == -1 then doCreatureSay(cid,"too late.")
what's wrong?