Help for audio music
#2

By using a for loop
pawn Код:
for( new i = 0; i < MAX_PLAYERS; i ++ )
{
    if( GetPlayerVehicleID( i ) == GetPlayerVehicleID( playerid ))
    {
        //audiostream here
    }
}
or foreach
pawn Код:
foreach( new i : Player )
{
    if( GetPlayerVehicleID( i ) == GetPlayerVehicleID( playerid ))
    {
        //audiostream here
    }
}
Reply


Messages In This Thread
Help for audio music - by Witnec - 20.12.2012, 19:35
Re: Help for audio music - by LarzI - 20.12.2012, 19:41
Re : Help for audio music - by Witnec - 21.12.2012, 15:48
Re: Re : Help for audio music - by LarzI - 21.12.2012, 16:03

Forum Jump:


Users browsing this thread: 2 Guest(s)