carlinhous1996
New Member
How do I make this script unable to use the item from within the bp.
and how do I only be able to use it if it is on top of an item with X action?
THANK YOU ALL FROM NOW!
when I use it inside the bp it does not come out and this error appears
and how do I only be able to use it if it is on top of an item with X action?
THANK YOU ALL FROM NOW!
when I use it inside the bp it does not come out and this error appears
[Error - Action Interface]
data/actions/scripts/npcfer.luanUse
Description:
(luaDoCreateNpc) Cannot create npc: Cooking
local id = 11391 -- ItemId da Estatua
local npc = "Cooking" -- Nome do monsto a ser sumonado
function onUse(cid, item, fromPosition, itemEx, toPosition)
doRemoveItem(item.uid, 1)
doCreateNpc(npc, toPosition)
return true
end
Last edited: