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

[Order] Action ID

panoli1

New Member
Joined
Sep 29, 2008
Messages
4
Reaction score
0
Hello, a greetings to all, I would like that someone can create or help me with the script..

Whatever I want is when they clicked over "small basin", you get the Level 20.
Thanks very much ;)

Photo "small basin":
 


LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if item.itemid == 1378 then
		if getPlayerLevel(cid) < 20 then
			doPlayerAddExperience(cid, (98800 - (getPlayerExperience(cid))))
			doSendMagicEffect(getCreaturePosition(cid), CONST_ME_FIREAREA)
		else
			doPlayerSendCancel(cid, "You already got your experience, you may leave from here now.")
		end
 	end
end

divisor.png


 
Back
Top