Error
#7

yea in a Command

Код:
COMMAND:gplay(playerid,params[])
{
	new URL[250];
    if(sscanf(params,"s",URL)) return SendClientMessage(playerid,0xFF6347FF,"USAGE:/globalplay [URL]");
	for(new i=0;i<MAX_PLAYERS;i++)
	{
	    if(!IsPlayerConnected(i)) continue;
	 	PlayAudioStreamForPlayer(i,URL);
	}
	SendClientMessage(playerid,0xFF6347FF,"You have played a song for all players!");
	format(cmdstr, sizeof(cmdstr), "Admin  %s has started the Global Playback of{FFFFFF} %s", FormatName(playerid), URL);
	SendClientMessageToAll(0xFF6347FF, cmdstr);
	return 1;
}
Reply


Messages In This Thread
Error - by DerickClark - 01.02.2013, 11:37
AW: Error - by Blackazur - 01.02.2013, 11:39
Re: Error - by DerickClark - 01.02.2013, 11:40
Re: Error - by Shabi RoxX - 01.02.2013, 11:47
Re: Error - by DerickClark - 01.02.2013, 11:53
Re: Error - by GhostDeath - 01.02.2013, 11:56
Re: Error - by DerickClark - 01.02.2013, 11:58
Re: Error - by Shabi RoxX - 01.02.2013, 12:01

Forum Jump:


Users browsing this thread: 2 Guest(s)