15.08.2013, 13:10
Define these colors
make this "
insteed of (
this will work
make this "
insteed of (
pawn Код:
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[ 256 ];
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(-1, string, 128 );
}
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
}
return 1;
}