Don Shotta
Well-Known Member
Hello, I am very n00b at scripting and thought id start and i have just started not so long ago and decided to make a script xD sorry if someone has posted it before but here it is xD
Remember i have just started scripting so no flaming
Lua:
function onUse(cid, item, frompos, item2, topos)
if item2.itemid == 1498 then
doRemoveItem(item2.uid)
doCreatureSay(cid, "Haha Pwned",19)
doTargetCombatHealth(0, cid, COMBAT_ICEDAMAGE, -20, -30, CONST_ME_ICE)
else
doCreatureSay(cid, "There is no magic wall to remove!",19)
doTargetCombatHealth(0, cid, COMBAT_ICEDAMAGE, -1, -2, CONST_ME_ICE)
end
return TRUE
end
Remember i have just started scripting so no flaming
Last edited: