Server Information
Articles Hierarchy
Hello,
In this article, we’ll be looking at all the possible functions of the file used to configure in-game settings; there’s just one such file, namely sa-mp.cfg. Using this file, you can customise the chat interface, head rotation and other features. I should also mention that there will be some overlap with the article on SA-MP commands, as the two go hand in hand.
File path:
C:UsersYour_ProfileDocumentsGTA San Andreas User FilesSAMP - sa-mp.cfg
It’s worth noting that each parameter – or whatever we choose to call it – must be on its own line. Numerical values are set for each one. That is, 0/1 (false / true) or another number; for example, on line 15, you’ll even enter text once. Some commands in this file can also be set within the game
Now let’s move on to the individual parameters.
The best-known command is /pagesize, found in the pagesize file. This command allows you to set the number of lines in the chat. Setting this in sa-mp.cfg has a major advantage: this file does not limit the number of lines. On the server, this command is limited to 10–20, but in the file it’s practically unlimited. However, there is a certain issue, namely the number of lines on your screen.
How do I adjust this in the file?
This command is already written there from the start, so you simply need to adjust its value.
Example: pagesize=35
Another command for customising the chat is `fontsize`; this parameter has a default value of 0. The sizes range from -5 to 5 (with -5 being the smallest and 5 the largest). I recommend setting this on the server within these limits, as there are significant differences. Use the command /fontsize and the fontsize parameter in the file.
How do I change this in the file?
Example: fontsize=0
Now let’s move on from the chat and look at the FPS limit. This can also be set on the server using /fpslimit, in the fpslimit file. The values you can set in the chat range from 20 to 90. The default value is 50.
The FPS limit will help you whilst swimming, but that’s a whole other story.
How do I adjust this in the file?
Example: fpslimit=50
We’ve still got two more familiar parameters to cover. Now, a rather useful command and parameter: /headmove. Here, the parameters are set only to 0 or 1 – i.e. OFF or ON, or false or true, whichever you prefer. On the server, you don’t need to enter a value for this command. It will automatically switch to the other value and display a message in the chat.
What does it do? If you set it to 1, your head won’t follow the camera in the game; if you set it to 0, it will follow the camera.
How do I change this in the file?
Example: disableheadmove=1
And now, finally, the last command we’re properly familiar with. That’s /timestamp, in the timestamp file. It adds the time before every line in the chat, though this is the time taken from your computer.
It works the same as the previous command, so you don’t need to enter a value; it automatically toggles between 0 and 1.
How do I change this in the file?
Example: timestamp=1
Another useful little feature is the so-called IME – what does it do? In a dialogue box (e.g. during registration), it shows you whether you’re using a Czech, English or any other keyboard layout.
You can only enter the values 0 or 1 (1 = true, i.e. ENABLE)
Example: ime=1
Now let’s move on to working with text. Here you’ll find commands for changing the font (fontface) and the font weight (fontweight). With `fontface`, it’s very difficult to specify the font exactly. Find the list of fonts on your computer and copy it from there. It must be written exactly as shown!
Example: fontface="Arial" (default)
Example: fontweight=0 (0=light, 1=bold)
What follows isn’t particularly useful, but it might come in handy. It’s the nonametagstatus function. This function enables or disables the display of the hourglass icon for players who are in ESC mode. Please note! The function is called “No”, so 0 = enabled, 1 = disabled! You can also change this in-game using /nametagstatus.
Example: nonametagstatus=0
Other useful commands available on SuperPařba via /settings relate to audio. The first, ‘audiomsgoff’, enables or disables the playback of sounds from links. Example: admin music, /radioonline. You can also enter /audiomsg in-game. The second one is something you’re unlikely to use. But I’ll include it here anyway. It’s called audioproxyoff. If you set this to 1 and have a proxy enabled in your Windows Internet settings, the music won’t be played via the proxy.
Example: audiomsgoff=0 (0 = music on; 1 = music off)
Example: audioproxyoff=1 (0 = proxy is used; 1 = proxy is not used)
The last command I’ll show you will help you get the most out of your system’s performance. These days, most computers no longer need this, but it may be helpful to some. It involves utilising multiple cores. The function is called multicore. If set to 1, SA-MP can utilise multiple cores simultaneously; if set to 0, it uses only one.
Example: multicore=1
I hope you’ve enjoyed my breakdown of the sa-mp.cfg file and that you’ll now make more active use of it.
Taken from wiki.sa-mp.com and from my own experience.
Baseball


dost lidí toho hodně vyuzije