• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.0 exhaustion, a nil value...

putamerda

New Member
Joined
Jan 2, 2012
Messages
73
Reaction score
0
gU4tyeNZoKsspuYc-Region.png

Look guys, im working on a system to copy the Commander Stone tasks from global, i downloaded an code and i need to use this function exhaustion.check(cid, storid)
BUT
TFS 1.0 doesnt have this function, there is another function like that, something similar?

Code from Commanderstone.lua line 149:
Code:
if(exhaustion.check(cid, b.task_exhausted_stg) == true) then
                        return npcHandler:say("To start again this quest you need to wait: "..math.ceil(exhaustion.get(cid, b.task_exhausted_stg)/60).." minutes, (hours: "..math.ceil(exhaustion.get(cid, b.task_exhausted_stg)/(60 * 60))..").", cid)
end
 
Back
Top