hello,
I have:
local parameters = { cid = cid, var = var, combat2 = combat2 }
addEvent(spell, 500, parameters)
I need to know how can I take the remaining time to cast this spell again.
Exemple:
doSendPlayerCancel(cid, "You should wait" .. remaining time of addEvent function ...