Untitled
unknown
plain_text
a year ago
499 B
4
Indexable
local spellName = "quesucede" function onUse(cid, item, fromPosition, itemEx, toPosition) if item.actionid == 7060 then -- 1234 debería ser el mismo actionid en actions.xml if not getPlayerInstantSpellInfo(cid, spellName) then doPlayerAddInstantSpell(cid, spellName) doPlayerPopupFYI(cid, "¡Has aprendido un nuevo hechizo!") else doPlayerSendCancel(cid, "Ya has aprendido este hechizo.") end end return true end
Editor is loading...
Leave a Comment