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

Lua Items for Level

Zool

Banned User
Joined
Jun 9, 2009
Messages
742
Reaction score
5
Location
Poland/St Wola
Who DELETE ALL TIME MY TOPIC... OMG !

CAN WHOS send me to PM script

Example ;
When Sorc/Druid adwence to lv 13 take automatic wand of dragonbrewath / moonlight rod

Example 2 :
When all voc adwense lv 50 take automatic 10cc


5x repp++ for it for send PM
 
Why on pm?

Lua:
function onAdvance(cid, skill, oldLevel, newLevel)
local item =  XXXX -- ID OF ITEM	
	if newlevel == 13 then
		if isDruid(cid) then -- which vocation, remove if all of them are supposed to get item
			if(getPlayerStorageValue(cid, 9999) < 1) then
				doPlayerAddItem(cid, item, 1)
				setPlayerStorageValue(cid,9999,1)
				doPlayerSendTextMessage(cid,22,"You received a "..getItemNameById(item)..".")
			end		
		end
	end
	return true
end
 
Back
Top