@edit
Soo other question. Why on my pvp-e server, team kill ppl then server have big lag ?
Here is script:
Soo other question. Why on my pvp-e server, team kill ppl then server have big lag ?
Here is script:
Code:
function onKill(cid, target)
if isPlayer(target) then
local exp = ((getPlayerLevel(target) / getPlayerLevel(cid)) ^ 0.9) * getPlayerExperience(target) * 0.10
doPlayerAddExp(cid, math.min(exp))
doPlayerAddItem(cid, 9020, 1)
doCreatureSay(cid, "Exp up++", TALKTYPE_MONSTER)
doSendMagicEffect(getThingPos(cid), 28)
end
return true
end
Last edited: