15.08.2013, 13:02
I made a colorful Broadcast of /noooc command when it will be opened, but instead of showing the exactly line it shows with the colors numbers and letters:
what am i doing wrong?
Код:
CMD:noooc(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 2) { if (!noooc) { noooc = 1; BroadCast(COLOR_GREEN, " OOC chat channel disabled by an Admin!"); } else { noooc = 0; new string[ 128 ]; format(string, sizeof(string), " (0x00FFD0AA)OOC chat channel enabled by an Admin! - (FFFF00)Do (FF0000)NOT (FFFF00)abuse OOC chat with (0099FF)Spamming, (F200FF)Insulting, (8400FF)Cursing, (FFFF00)You will get punishment for that."); ABroadCast(COLOR_YELLOW, string, 128 ); } } else { SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!"); } return 1; }