Audio Help
#3

Thanks can you do dis one?

Код:
COMMAND:stopaudio(playerid,params[])
{
    if (APlayerData[playerid][PlayerLevel] >= 5)
	for(new i=0;i<MAX_PLAYERS;i++)
	{
	    if(!IsPlayerConnected(i)) continue;
	 	StopAudioStreamForPlayer(i);
	}
	SendClientMessage(playerid,0xFF6347FF,"You have stopped all audio streaming for players.");
	format(cmdstr, sizeof(cmdstr), "Admin %s has stopped all playing audio streams", FormatName(playerid));
	SendClientMessageToAll(0xFF6347FF, cmdstr);
       // Let the server know that this was a valid command
	return 1;
}
Reply


Messages In This Thread
Audio Help - by DerickClark - 06.03.2013, 00:52
Re: Audio Help - by [MG]Dimi - 06.03.2013, 06:45
Re: Audio Help - by DerickClark - 06.03.2013, 11:13

Forum Jump:


Users browsing this thread: 1 Guest(s)