I need help with string
#7

Areax now after your code i got it:



how to fix the continue of the sentence?

Quote:

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), " {00FFD0}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;
}

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)