I need help with string
#1

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:






Код:
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;
}
what am i doing wrong?
Reply


Messages In This Thread
I need help with string - by lider1241 - 15.08.2013, 13:02
Re: I need help with string - by doreto - 15.08.2013, 13:04
Re: I need help with string - by JeaSon - 15.08.2013, 13:10
Re: I need help with string - by lider1241 - 15.08.2013, 13:30
Re: I need help with string - by Areax - 15.08.2013, 13:34
Re: I need help with string - by -Prodigy- - 15.08.2013, 13:36
Re: I need help with string - by lider1241 - 15.08.2013, 13:42
Re: I need help with string - by Areax - 15.08.2013, 13:56
Re: I need help with string - by lider1241 - 15.08.2013, 14:05

Forum Jump:


Users browsing this thread: 1 Guest(s)