Hello, I just want to know what's wrong with this script:
function onDeath(cid, corpse, deathList)
registerCreatureEvent(cid, "OnDeath2")
if isMonster(getCreatureByName("Bandit Chief")) then
setPlayerStorageValue(cid, 20001, 1)
end
return TRUE -- dont know if this is needed...