Serginov
Onkonkoronkonk
I don't remember who made this script but I need help with it because it doesn't work for me..
Here it goes:
and:
Yes, i have
in the monster file under </flags>
When I kill Ungreez I don't get the storagevalue.
So could someone help me with this script or make a new one?
Thanks in advance
Here it goes:
PHP:
function onKill(cid, target)
local monstername = "Ungreez" -- Put the Monster name in there which has to be defeated
if (isPlayer(target) ~= TRUE) then
if (getCreatureName(target) == monstername) then
setPlayerStorageValue(cid,21902,1)
else
return FALSE
end
else
return FALSE
end
return TRUE
end
PHP:
<event type="kill" name="Ungreez" script="ungreez.lua"/>
Yes, i have
PHP:
<script>
<event name="Ungreez"/>
</script>
When I kill Ungreez I don't get the storagevalue.
So could someone help me with this script or make a new one?
Thanks in advance