Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
function onUse(cid, item, frompos, item1, topos)
voc = getPlayerVocation(cid)
if voc == 1 or voc == 2 or voc == 3 or voc == 4 then
doPlayerSetPromotionLevel(cid, getPlayerPromotionLevel(cid)+1)
doPlayerSetVocation(cid,voc+4)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendTextMessage(cid, 25, "sorry, you already promoted or you promoted once!.")
doSendMagicEffect(getPlayerPosition(cid), 4)
end
end
/// talkaction script
function onSay(cid, words, param)
if getPlayerPromotionLevel(cid) < 1 then
doPlayerSetPromotionLevel(cid, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendCancel(cid, "Sorry, you are already promoted")
end
return true
end
function onUse(cid, item, frompos, item1, topos)
voc = getPlayerVocation(cid)
if voc == 1 or voc == 2 or voc == 3 or voc == 4 then
doPlayerSetPromotionLevel(cid, getPlayerPromotionLevel(cid)+1)
doPlayerSetVocation(cid,voc+4)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendTextMessage(cid, 25, "sorry, you already promoted or you promoted once!.")
doSendMagicEffect(getPlayerPosition(cid), 4)
end
end
/// talkaction script
function onSay(cid, words, param)
if getPlayerPromotionLevel(cid) < 1 then
doPlayerSetPromotionLevel(cid, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendCancel(cid, "Sorry, you are already promoted")
end
return true
end
in second promotion in vocation there (( fromvoc="1"> / fromvoc="2"> / fromvoc="3"> / fromvoc="4">))
change it to (( fromvoc="5"> / fromvoc="6"> / fromvoc="7"> / fromvoc="8"> ))
function onUse(cid, item, frompos, item1, topos)
voc = getPlayerVocation(cid)
if voc == 1 or voc == 2 or voc == 3 or voc == 4 then
doPlayerSetPromotionLevel(cid, getPlayerPromotionLevel(cid)+1)
doPlayerSetVocation(cid,voc+4)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendTextMessage(cid, 25, "sorry, you already promoted or you promoted once!.")
doSendMagicEffect(getPlayerPosition(cid), 4)
end
end
/// talkaction script
function onSay(cid, words, param)
if getPlayerPromotionLevel(cid) < 1 then
doPlayerSetPromotionLevel(cid, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendCancel(cid, "Sorry, you are already promoted")
end
return true
end
function onUse(cid, item, frompos, item1, topos)
voc = getPlayerVocation(cid)
if voc == 1 or voc == 2 or voc == 3 or voc == 4 then
doPlayerSetPromotionLevel(cid, getPlayerPromotionLevel(cid)+1)
doPlayerSetVocation(cid,voc+4)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendTextMessage(cid, 25, "sorry, you already promoted or you promoted once!.")
doSendMagicEffect(getPlayerPosition(cid), 4)
end
end
/// talkaction script
function onSay(cid, words, param)
if getPlayerPromotionLevel(cid) < 1 then
doPlayerSetPromotionLevel(cid, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have been promoted!")
else
doPlayerSendCancel(cid, "Sorry, you are already promoted")
end
return true
end
in second promotion in vocation there (( fromvoc="1"> / fromvoc="2"> / fromvoc="3"> / fromvoc="4">))
change it to (( fromvoc="5"> / fromvoc="6"> / fromvoc="7"> / fromvoc="8"> ))