local sirion = 10 -- How many levels you want the player to lose.
local sirionmsg = "You have lost 10 levels for cheating." -- the message when cheat lvls
function onKill(cid, target)
if isPlayer(target) and getPlayerIp(target) == getPlayerIp(cid) then
doPlayerAddLevel(cid, -sirion)
doCreatureSay(uid, sirionmsg, TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(cid), 65)
end
return true
end