hello, why my creaturescript not working? im registered it in login.lua
creaturescripts.xml
and the code is
what else I have to do to make it work? im using 0.3.6 tfs
when i a
Lua:
registerCreatureEvent(cid, "name")
Code:
<event type="login" name="name" event="script" value="name.lua"/>
Code:
function onStatsChange(cid, attacker, type, combat, value)
if type == STATSCHANGE_HEALTHGAIN and isPlayer(cid) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "something")
end
return true
end
what else I have to do to make it work? im using 0.3.6 tfs
when i a