Hello. I want to make a script that give you storage after killing boss, but I dont know what to put here:
Becouse i think it wont be cid.
If you got any idea how to make it, i will be gratefull
Code:
function onDeath(cid, corpse, killer)
registerCreatureEvent(cid, "Noisy soul")
local creaturename = getCreatureName(cid)
if creaturename == 'Noisy Soul' then
setPlayerStorageValue([COLOR="red"]cid[/COLOR], 60461, 1)
end
return TRUE
end
Becouse i think it wont be cid.
If you got any idea how to make it, i will be gratefull