People use the chat rooms of various games to add promotional messages to them. This is done by editing the configuration file and any other means available to you.
Necessary
text editor
Instructions
Step 1
Add ads to your Counter-Strike server by editing the config file. To do this, go to the disk with the game installed and find a folder called cstrike. Go to the addons directory and find the amxmod directory, in the config folder located in it there will be a file that you need to edit, it is called amxx.cfg, in any case, do not confuse it with another.
Step 2
In order not to be mistaken, enable the display of extensions of the registered file types in the current operating system in the "Folder Options" menu on the computer control panel. In the window that opens, go to the appearance settings tab and check the corresponding box, this is necessary in the case when you need to determine the file type.
Step 3
Apply the changes and close the windows by clicking OK and go back to the folder with the configuration file. To edit it, you can use the usual Notepad program or any other text editor installed on your computer. Paste the code into it to add ad text to the chat of the Counter-Strike game. To do this, you need to add a new line with the following text: amx_imessage.
Step 4
Next, put the upper quotation marks and between them insert the text that you want to be displayed as an advertisement. Apply the necessary tags to it, if possible in your chat, then close the text document editor on your computer, applying and saving the changes. Start the Counter-Strike game with a new configuration and check that it works correctly.
Step 5
Please note that at the time of editing the text file, you need to close the Counter-Strike game, otherwise the changes may not be saved. Also consider the supported message size when adding ad text.