hello, when I put the event on monsters and kill the monster the sever crashes.
what is the problem?
I use tfs 0.3.6
thank you very much
what is the problem?
I use tfs 0.3.6
PHP:
function onKill(cid, target)
if (getCreatureName(target) == "Pythius The Rotten") then
setGlobalStorageValue(5544, -1)
doTeleportThing(cid, {x=14819,y=16143,z=15})
end
return TRUE
end
PHP:
registerCreatureEvent(cid, "PythiusQuest")
PHP:
<script>
<event name="PythiusQuest"/>
</script>
PHP:
<event type="kill" name="PythiusQuest" script="pythiusquest.lua"/>
thank you very much