• 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!

Solved Second Promotion

NilssoN

¯\(º o)/¯
Joined
Jun 15, 2007
Messages
1,464
Reaction score
4
Location
tjaa
Heya! ;D
I got a problem with a quest on my server, its a quest where you get a second promotion. The quest it self works, you get promoted BUT.. If you relogg you'll loose your promotion.

Anyone knows how to fix this?
 
Last edited:
Lua:
	elseif item.uid == 52204 then
   	local queststatus = getPlayerStorageValue(cid,52204)
		if queststatus < 1 then
				doPlayerSendTextMessage(cid,22,"You have been promoted!")
				doPlayerSetVocation(cid,getPlayerVocation(cid) + 4)
				setPlayerStorageValue(cid,52204,1)
		else
			doPlayerSendTextMessage(cid,22,"It is empty.")
		end
I see why it doesnt work like it should now ;P
 
Back
Top