• 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!

Lua How i can set exahausted??

Gothric

New Member
Joined
Feb 6, 2010
Messages
264
Reaction score
1
I must fix exhausted in one of my script
i used it
PHP:
	local exhaust = createConditionObject(CONDITION_EXHAUST)
	setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))
PHP:
doAddCondition(cid, exhaust)
config.lua
PHP:
timeBetweenExActions = 1150

but it doesnt work :/ and please tell me: What is 1150 it?(in config) seconds? or what ?
 
Back
Top