• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Level Reward Each Level

Fyruz

★★★★★
Joined
Feb 7, 2009
Messages
556
Reaction score
19
Location
127.0.0.1
Hello I am searching a lua script that every level you advance will get to your backpack 500 gps. thanks and please a buy character via website for modern aac
 
LUA:
local storage = 9001

function onAdvance(cid, skill, oldLevel, newLevel)
	if skill == SKILL__LEVEL and newLevel > oldLevel and getPlayerStorageValue(cid, storage) < newLevel then
		setPlayerStorageValue(cid, storage, newLevel)
		doPlayerAddMoney(cid, (newLevel - oldLevel) * 500)
	end
	return true
end
 
Back
Top