Hello, I have problem with my script:
If I kill 'The Horned Fox' this script doesn't work.:huh: Please help.
function onKill(cid, target, lastHit)
if getCreatureName(target):lower() == 'The Horned Fox' then
setGlobalStorageValue(11011, -1)
doCreatureSay(cid, "If you see this message, then this script work.")
if getPlayerStorageValue(cid,11041) == -1 then
setPlayerStorageValue(cid,11041,1)
end
end
return true
end
If I kill 'The Horned Fox' this script doesn't work.:huh: Please help.