Hello everybody.. I've got a big problem with script frag reward. I want if i will kill somebody and i will have got frag to get automatic egg.. But my problem is if i hit someone and no kill him and i too get egg... My script
Code:
function onKill(cid, target, lastHit)
if (isPlayer(target) == TRUE) then
doPlayerAddItem(cid, 4850, 1)
end
return true
end