LucasFerraz
Systems Analyst
I got this script
I got effects but I miss one and I don't know how to do it: "Mjam!"
This function does not fit:
LUA:
function onStepIn(cid, item, pos)
local pos = {x=32861, y=32235, z=9}
local leave = {x=32861, y=32239, z=9}
if(getPlayerItemCount(cid, 2684) >= 1) then
doPlayerRemoveItem(cid, 2684, 1)
doTeleportThing(cid,pos)
doSendMagicEffect({x=32861, y=32239, z=9}, 2)
doSendMagicEffect({x=32860, y=32238, z=9}, 2)
doSendMagicEffect({x=32860, y=32237, z=9}, 2)
doSendMagicEffect({x=32861, y=32236, z=9}, 2)
doSendMagicEffect({x=32861, y=32235, z=9}, 2)
elseif(getPlayerItemCount(cid, 2684) < 1) then
doTeleportThing(cid, leave, CONST_ME_NONE)
doPlayerSendCancel(cid, "You need a carrot.")
end
end
I got effects but I miss one and I don't know how to do it: "Mjam!"
This function does not fit:
LUA:
doCreatureSay(cid, 'Mjam!', TALKTYPE_ORANGE_1)