function onKill(cid, target, lastHit)
local monster = 'sheep'
if getCreatureName(target):lower() == monster:lower()
doBroadCastMessage(cid,getCreatureName(cid)..' has killed the '..monster:lower()..'!')
end
return true
end
Code:function onKill(cid, target, lastHit) local monster = 'sheep' if getCreatureName(target):lower() == monster:lower() doBroadCastMessage(cid,getCreatureName(cid)..' has killed the '..monster:lower()..'!') end return true end
try this