local chat
#2

You mean a chat with a command or.. ?

Here:

pawn Код:
if (strcmp("/g", cmdtext, true, 1) == 0)
{
    new string[128];
    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "[GLOBAL][ID:%d]%s: %s", playerid, pName, cmdtext);
    return SendClientMessageToAll(0xFFFFFFAA, string);
}
Wrote it quickly, don't know if it will work fine.
Reply


Messages In This Thread
local chat - by portaro25 - 26.12.2010, 15:07
Re: local chat - by Mean - 26.12.2010, 16:55
Re: local chat - by Gforcez - 26.12.2010, 16:57
Re: local chat - by portaro25 - 27.12.2010, 11:48
Re: local chat - by Anthonyx3' - 27.12.2010, 11:58
Re: local chat - by DRIFT_HUNTER - 27.12.2010, 12:12
Re: local chat - by portaro25 - 27.12.2010, 19:47
Re: local chat - by MadeMan - 27.12.2010, 19:57
Re: local chat - by portaro25 - 27.12.2010, 23:07
Re: local chat - by titanak - 27.12.2010, 23:27

Forum Jump:


Users browsing this thread: 1 Guest(s)