OnPlayerText
#5

Код:
public OnPlayerText(playerid, text[]) 
{ 
    new string[200]; 
    if(PlayerInfo[playerid][pAdmin] >= 1) 
    { 
        format(string, sizeof(string), "%s {FFFFFF}[%d]: %s", GetName(playerid), playerid, text); 
        ABroadCast(GetPlayerColor(playerid), string, 1); 
    } 
    else
    { 
        format(string,sizeof(string), "%s: %s", GetName(playerid), text); 
        SendClientMessageToAll(GetPlayerColor(playerid), string); 
    return 0;
	} 
    return 0; 
 }
Reply


Messages In This Thread
OnPlayerText - by Tass007 - 18.08.2016, 11:15
Re: OnPlayerText - by Marricio - 18.08.2016, 12:09
Re: OnPlayerText - by iLearner - 18.08.2016, 12:14
Re: OnPlayerText - by Marricio - 18.08.2016, 12:17
Re: OnPlayerText - by sampkinq - 18.08.2016, 12:18
Re: OnPlayerText - by Stinged - 18.08.2016, 12:19
Re: OnPlayerText - by Tass007 - 19.08.2016, 05:51

Forum Jump:


Users browsing this thread: 2 Guest(s)