Sitemap

 - news
 - newsarchive
 - overview
 - faq
 - installation
 - help
 - commands
 - scripting
 - plugins
 - fun
 - the team
 - credits
 
 - AM online store
 - SourceForge
 

Download

 - Linux v.2.50.60
 - Win v.2.50.60
 - older versions
 - Inoffical version
 - tools
 

Support us


Support us

Community

 - forum
 - support
 - suggestions
 - mailinglists
 - irc channel
 

Choice


Get Firefox!
   

Tutorials


How to change the message that appears on your server.

So you don't like seeing "This server is using Admin Mod" every 10 minutes eh? Well here is the quick and dirty on how to personalize your server message.

Open the admin.sma in a text editor. Search within the file for the first line that contains "say_stuff" (without the quotes). You should find the following code:

code:
public say_stuff() {
centersay("This server is using Admin Mod",10,0,255,0);
}

The line containing the centersay is what we are after. You can change the text inside the quotes to be any message you want.

Do not make this message so long that it will have to wrap and fill multiple lines on a client! If you do, the clients will crash!

Admin Mod v2.08 had a limit of 100 characters to the text that can be placed in a centersay. In future versions (2.09 and above), the limit was increased to 500 characters. In order to keep the lines short enough so that the clients don't crash, you can use the ^n character within your strings to cause the following text to wrap to a new line.

Now we just need to save the script, compile it and install it to our server for testing. Need help with that? Check out the FAQ for details.

-[ Dio ]-




 

AScript

 - news
 - news archive
 - plugins
 - submitting
 - faq
 - functions
 - helpers
 - tutorials
 
 - Small Site
 

Affiliates

 - AScript
 - MetaMod
 - Adminmod.de
 

Sponsors


SourceForge.net Logo
 
 

Get Halflife Admin Mod at SourceForge.net. Fast, secure and Free Open Source software downloads.    CS Server     ||    

  [ Half-Life Admin Mod © Alfred Reynolds 2000-2025 ] - [ site design and programming by Jägermeister ]