.Qual servidor ou website você utiliza como base?
Qual o motivo deste tópico?
Está surgindo algum erro? Se sim coloque-o aqui.
Você tem o código disponível? Se tiver publique-o aqui:
function onUse(cid, item, frompos, item2, topos)
voc = getPlayerVocation(cid)
queststatus = getPlayerStorageValue(cid,90909)
elseif getPlayerStorageValue(cid, 35100) >= 1 then
if voc == 5 then
if queststatus == -1 then
setPlayerPromotionLevel(cid, 3)
setPlayerStorageValue(cid,90909,1)
doSendMagicEffect(getCreaturePos(cid), 66)
doPlayerSendTextMessage(cid,19,"Parabens Voce pegou sua Promotion.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce ja pegou esta promotion (Aprendiz 1+Resets), Ou nao tem level suficiente.")
end
elseif getPlayerStorageValue(cid, 35100) >= 1 then
if voc == 6 then
if queststatus == -1 then
setPlayerPromotionLevel(cid, 3)
setPlayerStorageValue(cid,90909,1)
doSendMagicEffect(getCreaturePos(cid), 66)
doPlayerSendTextMessage(cid,19,"Parabens Voce pegou sua Promotion.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce ja pegou esta promotion (Aprendiz 1+Resets), Ou nao tem level suficiente.")
end
elseif getPlayerStorageValue(cid, 35100) >= 1 then
if voc == 7 then
if queststatus == -1 then
setPlayerPromotionLevel(cid, 3)
setPlayerStorageValue(cid,90909,1)
doSendMagicEffect(getCreaturePos(cid), 66)
doPlayerSendTextMessage(cid,19,"Parabens Voce pegou sua Promotion.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce ja pegou esta promotion (Aprendiz 1+Resets), Ou nao tem level suficiente.")
end
elseif getPlayerStorageValue(cid, 35100) >= 1 then
if voc == 8 then
if queststatus == -1 then
setPlayerPromotionLevel(cid, 3)
setPlayerStorageValue(cid,90909,1)
doSendMagicEffect(getCreaturePos(cid), 66)
doPlayerSendTextMessage(cid,19,"Parabens Voce pegou sua Promotion.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce ja pegou esta promotion (Aprendiz 1+Resets), Ou nao tem level suficiente.")
end
end
end
end
Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.