Hello i search more script and all script is now worked on my TFS 0.4 :/
http://otland.net/search/684445/?q=Effect+on+Death&o=relevance&c[node]=132
Add to login lua:
Add to creaturescript.xml
own3d.lua
Logs is clear, why not working? :/
http://otland.net/search/684445/?q=Effect+on+Death&o=relevance&c[node]=132
Add to login lua:
Code:
registerCreatureEvent(cid, "own3d")
Add to creaturescript.xml
Code:
<event type="kill" name="own3d" script="own3d.lua"/>
own3d.lua
Code:
function onKill(cid, killer)
doSendMagicEffect(getCreaturePosition(killer), CONST_ME_YALAHARIGHOST)
doSendAnimatedText(getCreaturePosition(cid), "Own3d!", math.random(1, 255))
return true
end
Logs is clear, why not working? :/