22.07.2012, 09:52
Make sure you've followed the installation tutorial properly & correctly -
Quote:
Tutorial
Client: Installation and use of the client plugin is simple. Just run the installer and extract the files to your GTA: San Andreas directory. The ASI plugin detects when SA-MP is loaded and obtains your current player name, server address, and server port automatically. It will then attempt to connect to the TCP server (if there is one) some time after the game has started. By default, there will be a total of ten retry attempts with a delay of ten seconds each. To adjust these numbers, along with a few other settings, you need to edit audio.ini. To locate this file, go to Start, click Run, and type in the following: Код:
%APPDATA%\SA-MP Audio Plugin Server: First, create a folder called plugins in your server directory if it doesn't already exist. Place audio.dll in it if you're using Windows, or audio.so if you're using Linux. Add the following line to server.cfg so that the plugin will load the next time the server starts: Windows: Код:
plugins audio Код:
plugins audio.so pawn Код:
Ensure that both the audiopacks folder and the audio.ini file are in the root directory of the server. Open audio.ini and add a section for your audio pack name. For demonstration purposes, this will be called "default_pack": Код:
[default_pack] Код:
[default_pack] 1 = example.wav pawn Код:
Код:
[default_pack] 1 = example.wav 2 = http://www.website.com/file.mp3 pawn Код:
More detailed examples of nearly every native can be found in the filterscript. |