Exedion
Active Member
- Joined
- Jun 11, 2007
- Messages
- 628
- Reaction score
- 30
Well is a easy code, but how nobody take a little time to make or release, i work in that!
In the file "login.lua" in creaturescripts put this:
You can edit the text in the "" for make a personal wellcome windows and use the command '\n' to scroll down the text.
add this to the creaturescripts.xml:
now for !help command make a file named "help" in talkactions and put this:
you can edit like wellcome window and add this to talkactions.xml:
Enjoy ^^
PS: Mokerhamer i made this code for myself, put my name in the release list plz
Credits to ispiro for edit^^
In the file "login.lua" in creaturescripts put this:
Code:
function onLogin(cid)
local getStatus = getPlayerStorageValue(cid, 3293)
if(getStatus ~= TRUE) then
local str = "Wellcome\nExera Server\nºPlayers Commands:\n-!help\n-!online\n-!buyhouse\n-!sellhouse\n-!serverinfo\n-!kills\n-!createguild\n-!joinguild\n-!buypremium\n-!leavehouse\n-!save\n-!changesex\n-!uptime\n-!ranks 'exp or skill rank here'\nClick in you wand/rod or your weapon for select skill.\nHave Fun\nThe Cipsoft, ForgottenServer And Exera Team"
doPlayerPopupFYI(cid, str)
setPlayerStorageValue(cid, 3293, TRUE)
end
return TRUE
end
You can edit the text in the "" for make a personal wellcome windows and use the command '\n' to scroll down the text.
add this to the creaturescripts.xml:
Code:
<event type="login" name="PlayerLogin" script="login.lua"/>
now for !help command make a file named "help" in talkactions and put this:
Code:
function onSay(cid, words, param)
str = "Exera Server\nºPlayers Commands:\n-!online\n-!buyhouse\n-!sellhouse\n-!serverinfo\n-!kills\n-!createguild\n-!joinguild\n-!buypremium\n-!leavehouse\n-!save\n-!changesex\n-!uptime\n-!ranks ''exp or skill rank here''\nClick in you wand/rod or your weapon for select skill.\nHave Fun\nThe Cipsoft, ForgottenServer And Exera Team"
doPlayerPopupFYI(cid, str)
return TRUE
end
you can edit like wellcome window and add this to talkactions.xml:
Code:
<talkaction words="!help" script="help.lua"/>
Enjoy ^^
PS: Mokerhamer i made this code for myself, put my name in the release list plz
Credits to ispiro for edit^^
Last edited: