function remove_exp(cid, old)
if isPlayer(cid) then
doPlayerAddExperience(cid, - (getPlayerExperience(cid) - old))
end
end
function onKill(cid, target, deathList)
if not isPlayer(target) then
return true
end
if (getPlayerIp(cid) == getPlayerIp(target)) then
addEvent(remove_exp, 100, cid, getPlayerExperience(cid))
end
return true
end
its better to write 1 , not 100![]()
but if there will be ue?? he wont get exp for anynone
@Cyko
do u think it will work??
http://otland.net/f35/no-exp-same-ip-when-killing-another-player-pvp-enforced-hardcore-74764/