When the player logs in they will be greeted by a little welcome message.
I forget where i got this from, but I'd like to share it.
Place this in
data\creaturescripts\scripts\welcome.lua
Place this in
data\creaturescripts\creaturescripts.xml
I forget where i got this from, but I'd like to share it.
Place this in
data\creaturescripts\scripts\welcome.lua
Code:
function onLogin(cid)
doPlayerSendTextMessage(cid,22,"Welcome back "..getPlayerName(cid).."!")
return TRUE
end
Place this in
data\creaturescripts\creaturescripts.xml
Code:
<event type="login" name="FirstItems" script="welcome.lua"/>