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

Onkill Script

rugdoc95

New Member
Joined
May 6, 2011
Messages
61
Reaction score
0
Hey i would like to make a script where if you kill a player of any level you get 10 levels and when you die you lose 10 levels could anyone help me rep++ to those who help.
 
LUA:
function onKill(cid, target)
	if isPlayer(target) then
		doPlayerAddLevel(cid, 10)
	end
	return true
end

LUA:
function onDeath(cid, corpse, deathList) 
	if isPlayer(cid) then
		doPlayerAddLevel(cid, -10)
	end
	return true
end

Don't know if this work
 
Back
Top