Hello. I was doing an script when a player connect, in his position appears the words "Online!". And i was doing other script that when he logout, in his position appears the words Offline !. I do this script for my last OT (2 years ago xd) and i don't rememer what i put. So i try, and i made this:
creaturescripts.xml
Script:
But.. there is a problem (always is a problem xd), the script don't works and in console don't appears nothing, then i can't know in what i am wrong.. Can you tell me?. Thanks !
Regards
creaturescripts.xml
Code:
<event type="login" name="OnlineEffect" script="online.lua"/>
Script:
Code:
function onLogin(cid)
doCreatureSay(cid, "Online !", TALKTYPE_ORANGE_1)
end
But.. there is a problem (always is a problem xd), the script don't works and in console don't appears nothing, then i can't know in what i am wrong.. Can you tell me?. Thanks !
Regards