/announce help
#1

Код:
		if(!strcmp(cmdtext, "/announce", true, 8))
    {
    new tString[256];
    if(cmdtext[9] != 32 || cmdtext[9] == EOS)
    {
		SendClientMessage(playerid, COLOR_BRIGHTRED, "USAGE: /announce <your announcement>");
 		}
		else
		{
    SendClientMessageToAll(COLOR_YELLOW,tString);
    format(tString,sizeof(tString), "| Announcement: | %s", tString);
    SendClientMessageToAll(COLOR_YELLOW,tString);
    return 1;
    }
}
Hmmm I don't get what's wrong with this. It keeps showing USAGE: /announce <your announcement>, even if I type something like /announce test.

Could somebody check this for me please?

Bye!

EDIT: The forums must hate me, my intendation keeps fucking here, sorry for that!
Reply


Messages In This Thread
/announce help - by GTA_Rules - 20.03.2009, 17:40
Re: /announce help - by Think - 20.03.2009, 18:27
Re: /announce help - by GTA_Rules - 20.03.2009, 18:29
Re: /announce help - by MenaceX^ - 20.03.2009, 18:44
Re: /announce help - by GTA_Rules - 20.03.2009, 19:35
Re: /announce help - by Rks25 - 20.03.2009, 22:19
Re: /announce help - by MenaceX^ - 20.03.2009, 22:28
Re: /announce help - by Nero_3D - 20.03.2009, 23:02
Re: /announce help - by Zack9764 - 21.03.2009, 00:13
Re: /announce help - by Rks25 - 21.03.2009, 10:25

Forum Jump:


Users browsing this thread: 9 Guest(s)