Can someone help me to put a magic effect when i click on the item?
Thanks 😘
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(item.itemid == 39186) then
doPlayerSetVocation(cid, getPlayerVocation(cid)+4)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You've been promoted...