Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 33000)
setConditionFormula(condition, 0.3, -24, 0.3, -24)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
if getPlayerStorageValue(cid,11551) = 1 then
end
return doCombat(cid, combat, var)
end
im just trying to add this to my server but it doesnt work for vip players :S
this spell is an example i just add this but dunno if is correct.
if getPlayerStorageValue(cid,11551) = 1 then
end
Last edited: