Ecstacy
Mothafuckaaa
Hey,
How would I make an outfitCondition for an action?
I tried this but it tells me this
How would I make an outfitCondition for an action?
I tried this but it tells me this
Code:
attempt to index a number value
LUA:
local mew = {lookType = 354, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, -1)
addOutfitCondition(condition, mew.lookTypeEx, mew.lookType, mew.lookHead, mew.lookBody, mew.lookLegs, mew.lookFeet)
setConditionParam(combat, condition)
return doAddCondition(cid, outfit)