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

Windows Higher level for gate of expertise (NEED HELP)

technoboy1996

Beginner
Joined
Aug 4, 2012
Messages
3
Reaction score
0
Location
Germany
Hello , at first sorry for my bad english, i come from germany :P

My problem is to set up the level of the 'gate of expertise' higher than 64535 (maximum Action ID in RME is 65535 )
I'm working on a high rate server and need doors which can only be passed by level 100000 or more.

Could anyone help me?
 
You can add a lua script to the door like this.
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)

	if getPlayerLevel(cid) >= 100000 then
	        doTransformItem(item.uid, item.itemid + 1)
	        doTeleportThing(cid, toPosition)
	else
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need to be level 100000.")
	end
	return true
end
 
Last edited:
Back
Top