player play sound
#5

this ??

Код:
CMD:ads( playerid, params[ ] )
{
	for(new i; i<GetMaxPlayers(); i++)
	{
	    if(IsPlayerConnected(i))
	    {
		    new pName[MAX_PLAYER_NAME], text[128], string[156];
		    GetPlayerName(playerid, pName,sizeof(pName));
		    if(sscanf(params, "s[128]",text)) return SendClientMessage(playerid, -1,"{F300FF}***AdmMsg  {0049FF}: {FFFFFF}Usage: /ads [text]");
		    format(string,sizeof(string),"{0049FF}[ADVERTISE]  {0049FF}: {F300FF}%s.  Contact: %s [%i]",text,pName,playerid);
		    printf(string);
		    SendClientMessageToAll(COLOR_WHITE,string);
		    PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
	    }
 	}
	 return 1;
 }
Reply


Messages In This Thread
player play sound - by AgusZ - 13.01.2015, 11:29
Re: player play sound - by JonathanFeitosa - 13.01.2015, 13:53
Re: player play sound - by CalvinC - 13.01.2015, 14:00
Re: player play sound - by JonathanFeitosa - 13.01.2015, 14:07
Re: player play sound - by AgusZ - 13.01.2015, 14:49
Re: player play sound - by CalvinC - 13.01.2015, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)