![]() |
Login Message
1 Attachment(s)
Here's the login message that is used on Utopia. I'm releasing it to the public, since it's not getting too much use here.
The files are control/serverNews.txt, control/serverHirings.txt, control/serverStaff.txt, and control/serverInfo.txt. Change these files to change what text shows up when you log on. Script of Weapon/GUI-Script -System/LoginMessage: PHP Code:
|
how is this GUI activated?
|
When you login, it will open.
Otherwise, I suppose you could map it so a key would open it, or a specific chat. Tell me if you need help with that! EDIT: Also, I forgot to point out that you'll need to add these rights to (npcserver) r control/*.txt so that it can read the files. |
It would be awesome if you could post a onKeyPressed or onPlayerChat function for it.
|
Quote:
|
Ah.kk
|
Add either of these below the //#CLIENTSIDE.
for chat PHP Code:
PHP Code:
|
its till not working for me :(
|
For this type of code, do you just create a blank "weapon" npc, give folder rights, and also make these four text docs?
edit: I get the following error, as it refers to this -- "triggerserver( "gui", name, "getMessage" ); " ERROR: GraalScript: Function triggerserver not found at line 15 in script of -LoginMessage Any suggestions? |
Quote:
|
Quote:
Was the error in RC? |
Quote:
Don't those go into F2 upon execution? |
Yes, I still get this error in RC
GraalScript: Function triggerserver not found at line 15 in script of -System/LoginMessage =-=-=-=-=-=-=-=-=-= //#CLIENTSIDE function onCreated() { triggerserver( "gui", name, "getMessage" ); } =-=-=-=-=-=-=-=-=-= That block of code is still getting an error for some reason :( |
Quote:
|
Make sure there is not a space at the end of //#CLIENTSIDE, I believe that can mess it up.
|
| All times are GMT +2. The time now is 04:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.