04.12.2017, 17:51
Use something like that:
Code:
local botid;
addEventHandler("onPlayerKillNPC", function(kid, bid, ai){
if(bid == botid){
setExp(getExp() + 50); //Or other value
}
});