5lave Ots
Active Member
on enter a teleport depends on player soul
so I want to display a message
message will be you have got xx hours yy minutes left but if no hours it sends only minutes left
i think it uses something like %modulus left but i dont know how to make it with lua
using tfs 0.4 for tibia 860
thanks
Code:
local timer = getPlayerSoul(cid) * 5 // this is the minutes left
Code:
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "!")
i think it uses something like %modulus left but i dont know how to make it with lua
using tfs 0.4 for tibia 860
thanks