X
Xikini
Guest
TFS 0.3.7
First print, prints "wizard" in console.
However print(2) never executes.
Anyone know why?
ActionID is used in actions.xml,
ActionID is applied to itemID 8834 in-game.
Use itemID 8834, and console only prints "wizard" not "2".
Thanks,
Xikini
First print, prints "wizard" in console.
However print(2) never executes.
Anyone know why?
ActionID is used in actions.xml,
ActionID is applied to itemID 8834 in-game.
Use itemID 8834, and console only prints "wizard" not "2".
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 8834 then -- 9422 3739 8836
print(getPlayerVocationName(cid):lower())
if getPlayerVocationName(cid):lower() == wizard then
print(2)
end
end
return true
end
Thanks,
Xikini