Audio Plugin
#5

Is the audio pack transferring to you? Did you read this part of the tutorial?

Quote:
Originally Posted by Incognito
Посмотреть сообщение
In your gamemode, make sure that these things are present:

pawn Код:
public OnGameModeInit()
{
    // Set the audio pack when the gamemode loads
    Audio_SetPack("default_pack", true);
}

public Audio_OnClientConnect(playerid)
{
    // Transfer the audio pack when the player connects
    Audio_TransferPack(playerid);
}

public Audio_OnSetPack(audiopack[])
{
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
        // Transfer the audio pack to all players when it is set
        Audio_TransferPack(i);
    }
}
That will ensure that audio packs are set and transferred correctly (more information is available in the example filterscript).
Reply


Messages In This Thread
Audio Plugin - by Unknown123 - 19.04.2011, 01:47
Re: Audio Plugin - by marinov - 19.04.2011, 01:51
Re: Audio Plugin - by Donya - 19.04.2011, 01:53
Re: Audio Plugin - by Unknown123 - 19.04.2011, 02:23
Re: Audio Plugin - by Incognito - 19.04.2011, 05:16

Forum Jump:


Users browsing this thread: 1 Guest(s)