player play sound
#1

its true for play sound to all player ?

Код:
CMD:ads( playerid, params[ ] )
{
    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),"{F81414}[SERVER]  {0049FF}: {F300FF}[Advertise] %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: 4 Guest(s)