Hello,
I need help with my noob/first script lol.
When i use it one time it summon three creatures (Orc)
And when i use it again it removes them.
My code:
Help plax lol
I need help with my noob/first script lol.
When i use it one time it summon three creatures (Orc)
And when i use it again it removes them.
My code:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local gain = 60
if item.itemid == 2300 and getPlayerLevel(cid) >= 100 then
doSummonCreature("Orc", pos)
doSummonCreature("Orc", pos)
doSummonCreature("orc", pos)
else
doPlayerSendCancel(cid,"You don't have the required level to use this.")
end
return TRUE
end
Help plax lol