Message to all when typed command
#5

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
   new pName[MAX_PLAYER_NAME], string[128];
   GetPlayerName(playerid, pName, sizeof(pName));
   format(string, sizeof(string), "Player %s has used %s", pName, cmdtext);
   SendClientMessageToAll(-1, string);
   return 1;
}
Reply


Messages In This Thread
Message to all when typed command - by ultrAslan - 09.03.2015, 20:33
Re: Message to all when typed command - by wooolly - 09.03.2015, 20:38
AW: Re: Message to all when typed command - by ultrAslan - 09.03.2015, 20:46
Re: Message to all when typed command - by Misiur - 09.03.2015, 20:49
Re: Message to all when typed command - by ReD_HunTeR - 09.03.2015, 21:02
Re: Message to all when typed command - by MohanedZzZ - 09.03.2015, 21:14
Re: Message to all when typed command - by ReD_HunTeR - 09.03.2015, 21:22
AW: Message to all when typed command - by ultrAslan - 09.03.2015, 21:33
Re: Message to all when typed command - by Misiur - 09.03.2015, 21:43
Re: Message to all when typed command - by MohanedZzZ - 10.03.2015, 16:25

Forum Jump:


Users browsing this thread: 3 Guest(s)