VagosClubTM
Active Member
good friend I am requesting this script more than anything because I am migrating from 7.6 xml to TFS 1.4 760 as well and I need some scripts that it is impossible for me to develop them for now, it would be helpful if you help me with this.
Well more than anything I request that item 2140 and 2366 when right clicking on them appears a creature (created by me), and the item disappears from the backpack or hand or ground. Also that the item asks for a level to use it.
I'll leave a script from my 7.6 xml server, maybe it could be a guide to better explain what I'm looking for.
@Xikini
Well more than anything I request that item 2140 and 2366 when right clicking on them appears a creature (created by me), and the item disappears from the backpack or hand or ground. Also that the item asks for a level to use it.
I'll leave a script from my 7.6 xml server, maybe it could be a guide to better explain what I'm looking for.
Lua:
-- Create monster--
function onUse(cid, item, frompos, item2, topos)
pos = getPlayerPosition(cid)
if getTilePzInfo(topos) == 0 then
if getTilePzInfo(pos) == 0 then
if item.itemid == 2140 then
doTransformItem(item.uid,4342)
doSummonCreature("vip", pos)
doSendMagicEffect(topos,12)
doPlayerSay(cid,"Despierta Vip",1)
doRemoveItem(item.uid,item.type)
else
doPlayerSendCancel(cid,"You cannot use that.")
end
else
doPlayerSendCancel(cid,"No puedes usar esto estas en zona protegida.")
end
else
doPlayerSendCancel(cid,"No puedes usar esto estas en zona protegida.")
end
return 1
end
@Xikini