SA-MP Forums Archive
audio stream issues. +REP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: audio stream issues. +REP (/showthread.php?tid=324085)



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
pawn Код:
#include <audio>



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
pawn Код:
#include <audio>
and yes i have already done that i just forgot to copy that and paste it xD