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

Popup Script

Ravauvial

Member
Joined
Mar 19, 2009
Messages
186
Reaction score
8
Location
Stanwood, Washington, USA
On real tibia when you first start the game while you are walking their are popups that tell you what to do.
kinda like when you walk on a tile it has a popup that gives you instuctions.

Is their any scripts or tutorials that tell how to do this?
 
Here's an example.
If the player reaches the level in the brackets, the tutorial will be sent.
This is only an example script, I don't know if this is what you wanted.

Code:
function onAdvance(cid, skill, oldLevel, newLevel)
	local tutorials = {
		[2] = 1,
		[5] = 2
	}
	for level, tut in ipairs(tutorials) do
		if(skill == SKILL__LEVEL) then
			if(newLevel == level) then
				doPlayerSendTutorial(cid, tut)
			end
			return true
		end
	end
end
 
Back
Top