audio stream issues. +REP
#1

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!
Reply
#2

any ideas?
Reply
#3

*bump*
Reply
#4

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;
Reply
#5

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.
Reply
#6

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>
Reply
#7

Maybe the plugin is not updated to your SAMP server version?
Reply
#8

do you have a default_pack folder in your server directory?

can you post your audio.ini here?
Reply
#9

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
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)