Hyagosrs
Member
- Joined
- Mar 10, 2018
- Messages
- 94
- Solutions
- 1
- Reaction score
- 11
when a new player try to step in it says:
this is script check if they have the storage and says how much time left to access a boss.
the player doesn't have this storage, but he can't access this tile.
this is script check if they have the storage and says how much time left to access a boss.
Lua:
function onStepIn(cid, item, position, fromPosition)
if getPlayerStorageValue(cid, 8092) ~= 1 then
doPlayerSendCancel(cid, "You need to wait " ..getPlayerStorageValue(cid, 8089) - os.time() .." seconds to access this boss again.")
doTeleportThing(cid, fromPosition)
end
return true
end
the player doesn't have this storage, but he can't access this tile.