wikutag
SoulBound 8.6 100% custom
So im new to this server stuff but im catching on fast. I had it where is was set up where when you make a character. for Example if you make a knight when you log on you are a Elite knight. without having to buy promotion. than you have VIP Elite knight. So its kinda like you have it where you start as a EK than you get promotion to VIP EK. when i went to go get promoted at the king. he says you are already promoted. and i look in my files and get to promotion. and it says this.
i though maybe somthing in there could be it. Please help.
LUA:
function onSay(cid, words, param, channel)
if (getPlayerVocation(cid) < 1) then
return doPlayerSendCancel(cid, "You are not able to promote yourself.")
end
if (getPlayerLevel(cid) < 20) then
return doPlayerSendCancel(cid, "You don't have enough level.")
end
if (getPlayerPromotionLevel(cid) >= 1) then
return doPlayerSendCancel(cid, "You are already promoted.")
end
if (getPlayerMoney(cid) < 20000) then
return doPlayerSendCancel(cid, "You don't have enough money.")
end
doPlayerRemoveMoney(cid, 20000)
doPlayerSetPromotionLevel(cid, 1)
return true
end
i though maybe somthing in there could be it. Please help.
Last edited by a moderator: