08.11.2015, 03:53
Код:
if(PlayerInfo[playerid][Level] >= 0) { new String[256], ircMsg[256]; format(ircMsg, sizeof(ircMsg), "02[%d] 07%s: %s", playerid, pName(playerid), text); format(String, 256, "%s : %s", pName(playerid), text); SendClientMessageToAll(GetPlayerColor(playerid), String); IRC_GroupSay(GroupID, IRC_CHANNEL, ircMsg); return 0; }
Example: XYZero: hello <white
I've tried format(String, 256, "%s : {FFFFFF}%s", pName(playerid), text);
It will be XYZero: {FFFFFF}hello in game
by the way this is 3b script. Thanks