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

Hello Otlanders Need Help With That Script

oOIOo

HetZera.Net
Joined
Mar 30, 2010
Messages
221
Reaction score
1
Hello Otlanders Need Help With That Script:

I have Started New Project 0.3.5 And need That Script:

The Script Is:

Need All Steps te Make Server PVPe and Need The Scripts Be Like That:

1.if any player Kill another one get 2 lvls
2.the pvpe be in hours from 4-5 h in each day


What that script kills Mean:
*if player lvl 100 kill player lvl 200 get 2 lvls and if player lvl 200 kill player lvl 100 get 1 lvl .


What that script Time Mean:
*it means that in each day from 07:00 to 12:00 The server pvpe and the other time server pvp

Hope u Understand the Script and be able to help me


*******All The Steps Please*******

 
Last edited:
this might help, register it in login.lua etc and try
Code:
function onKill(cid, target, lastHit)
	if isPlayer(cid) and isPlayer(target)
		local lvl = getPlayerLevel(cid)
		if lvl >= getPlayerLevel(target) then
			doPlayerAddExperience(cid, getExperienceForLevel(getPlayerLevel(cid))+1)
		elseif lvl <= getPlayerLevel(target) then
			doPlayerAddExperience(cid, getExperienceForLevel(getPlayerLevel(cid))+2)
		end
	end
	return true
end

and that dont work need help please pvpe script for 0.3.5 or 0.3.6
 
Back
Top