My own /ann cmd doesn't work well
#7

I see the problem, you'll have to set a \ before all the " that you are using in your text becuse otherwise the function think your string ends there. Like this:
format(str, sizeof(str), "\"#COL_RED\"[ADMIN-ANN]\"#COl_WHITE\"%s: %s", sendername, str);
Reply


Messages In This Thread
My own /ann cmd doesn't work well - by Guitar - 22.08.2012, 10:24
Re: My own /ann cmd doesn't work well - by Akira297 - 22.08.2012, 10:26
Re: My own /ann cmd doesn't work well - by Guitar - 22.08.2012, 10:31
Re: My own /ann cmd doesn't work well - by Akira297 - 22.08.2012, 10:32
Re: My own /ann cmd doesn't work well - by Ranama - 22.08.2012, 10:33
Re: My own /ann cmd doesn't work well - by Guitar - 22.08.2012, 10:34
Re: My own /ann cmd doesn't work well - by Ranama - 22.08.2012, 10:42
Re: My own /ann cmd doesn't work well - by FalconX - 22.08.2012, 10:44

Forum Jump:


Users browsing this thread: 2 Guest(s)