audio stream issues. +REP -
xXitsgodzillaXx - 08.03.2012
hey guys its me ONCE again. >_> yeah i know ive posted ALOT of stuff here xD.
BUT i am having some issues with incognitos audio plugin i coded everything right (i think)
i dont get
ANY errors. but the audio just doesnt stream?! maybe i forgot a line of code or somthing?
heres what ive done so far.
Код:
include <audio>
public OnGameModeInit()
{
Audio_SetPack("default_pack");
return 1;
}
public OnPlayerConnect(playerid)
{
Audio_Play(playerid, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
Audio_Stop(playerid, 1);
return 1;
}
the only problem i can honestly think of is the fact that i am missing some code.
well anywho some help is appriciated plus whoever helps me will get +REP!
Re: audio stream issues. +REP -
xXitsgodzillaXx - 08.03.2012
any ideas?
Re: audio stream issues. +REP -
xXitsgodzillaXx - 12.03.2012
*bump*
Re: audio stream issues. +REP -
VIPAwesome - 12.03.2012
Quote:
Originally Posted by xXitsgodzillaXx
Код:
include <audio>
public OnGameModeInit()
{
Audio_SetPack("default_pack");
return 1;
}
public OnPlayerConnect(playerid)
{
Audio_Play(playerid, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
Audio_Stop(playerid, 1);
return 1;
}
|
pawn Код:
#include <audio>
public OnGameModeInit()
{
Audio_SetPack("default_pack");
return 1;
}
public OnPlayerConnect(playerid)
{
Audio_Play(playerid, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
Audio_Stop(playerid, 1);
return 1;
Re: audio stream issues. +REP -
xXitsgodzillaXx - 12.03.2012
Quote:
Originally Posted by VIPAwesome
pawn Код:
#include <audio>
public OnGameModeInit() { Audio_SetPack("default_pack"); return 1; }
public OnPlayerConnect(playerid) { Audio_Play(playerid, 1); return 1; }
public OnPlayerSpawn(playerid) { Audio_Stop(playerid, 1); return 1;
|
um what kind of help is this supposed to be to me...? this is the same thing i posted.
Re: audio stream issues. +REP -
SnG.Scot_MisCuDI - 13.03.2012
pawn Код:
#include <audio>
public OnGameModeInit()
{
Audio_SetPack("default_pack");
return 1;
}
public OnPlayerConnect(playerid)
{
Audio_Play(playerid, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
Audio_Stop(playerid, 1);
return 1;
}
Not sure if thats how it is but you forgot
Re: audio stream issues. +REP -
Snipa - 13.03.2012
Maybe the plugin is not updated to your SAMP server version?
Re: audio stream issues. +REP -
eesh - 13.03.2012
do you have a default_pack folder in your server directory?
can you post your audio.ini here?
Re: audio stream issues. +REP -
SsHady - 13.03.2012
Quote:
Originally Posted by VIPAwesome
pawn Код:
#include <audio>
public OnGameModeInit() { Audio_SetPack("default_pack"); return 1; }
public OnPlayerConnect(playerid) { Audio_Play(playerid, 1); return 1; }
public OnPlayerSpawn(playerid) { Audio_Stop(playerid, 1); return 1;
|
OMG you just removed 1 Bracket Lollololol
Re: audio stream issues. +REP -
xXitsgodzillaXx - 13.03.2012
Quote:
Originally Posted by SnG.Scot_MisCuDI
pawn Код:
#include <audio>
public OnGameModeInit() { Audio_SetPack("default_pack"); return 1; }
public OnPlayerConnect(playerid) { Audio_Play(playerid, 1); return 1; }
public OnPlayerSpawn(playerid) { Audio_Stop(playerid, 1); return 1; }
Not sure if thats how it is but you forgot
|
and yes i have already done that i just forgot to copy that and paste it xD