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

[Request] Start lvl

pawlacz741

New Member
Joined
Jan 23, 2009
Messages
87
Reaction score
2
Hello.

I'm seachering script : On start i have 180 lvl and i can get max 400 but when i died i lost lvl to 180 and when i logout i don't lost lvl Witch skills and m lvl that same what lvl

Meaby somebody have that script and can give me I'm extremely grateful to you.
 
Meaby I'm stuped but

<?xml version="1.0" encoding="UTF-8"?>
<globalevents>


<globalevent name="save" interval="900" event="script" value="save.lua"/>


<globalevent name="clean" interval="7200" event="script" value="clean.lua"/>



<globalevent name="serverstart" type="start" event="script" value="start.lua"/>

<globalevent name="playersrecord" type="record" event="script" value="record.lua"/>

<globalevent name="dp" interval="8" event="script" value="dp.lua"/>
</globalevents>

data/globaleventrs/globalevents.xml
data/globalevents/lib/globalevents It's empty

I'm don't have other globalevens files ;/
 
creaturescripts/scripts/lvl.lua
Code:
function onLogin(cid)
	if getPlayerLevel(cid) < 150 then
		repeat doPlayerAddLevel(cid, 1) until getPlayerLevel(cid) == 150
	end
return true
end

creaturescripts/creaturescripts.xml
PHP:
<event type="login" name="lvl" event="script" value="lvl.lua"/>
 
Last edited:
Back
Top