28.02.2010, 19:17
I don't know what is wrong but here's my problem:
I've added the plugin to my server.. It starts, everything should be ok, but music file doesn't play (I'm trying on local server, from my PC)
Here is my audio.ini (which is in main server directory):
There is a test.mp3 in \audiopacks\default_pack\
I have a line:
But it just doesn't work.. Here is a part of server log:
I type /test and nothing happens..
I've added the plugin to my server.. It starts, everything should be ok, but music file doesn't play (I'm trying on local server, from my PC)
Here is my audio.ini (which is in main server directory):
Quote:
; audio.ini ; ; Notes: ; ------ ; 1. The section names (text enclosed in brackets) correspond to the ; folder names in the audiopacks directory. ; 2. The keys (numbers to the left) are the audio IDs, and the values ; are the file names. ; 3. Remote files must be prefixed with http:// or ftp:// (these do ; not need to be in your audiopacks directory). ; 4. Audio archives are marked by the key "archive" rather than an ; audio ID. The values for these are the archive names. See the ; readme text document in the server package for a list. [default_pack] 1 = test.mp3 |
I have a line:
pawn Код:
#include <audio>
// ......... OnPlayerCommandText:
if(strcmp(cmdtext, "/test", true) == 0)
{
Audio_Play(playerid, 1, false, false, false);
return 1;
}
Quote:
[19:52:10] Server Plugins [19:52:10] -------------- [19:52:10] Loading plugin: audio [19:52:11] *** Audio Plugin v0.4 by Incognito loaded *** [...] [19:30:23] Incoming connection: 127.0.0.1:3547 [19:30:23] [join] Sij_Hogan has joined the server (3:127.0.0.1) [19:30:26] *** Audio Plugin: Incoming connection from 127.0.0.1:3548 [19:30:26] *** Audio Plugin: Sij_Hogan (ID: 3) has connected |