/announce command
#2

Код:
if(strcmp(cmd, "/announce", true) == 0){
    if (PlayerInfo[playerid][power]>0){ // power = admin (change it)
	if (strlen(rest)==0){
		SendClientMessage(playerid, COLOR_GREENYELLOW, "You didn't enter a message.");
		return 1;
	}
	GameTextForAll(rest,5000,4);
	return 1;
    }
}
Here you go.
Reply


Messages In This Thread
/announce command - by Face9000 - 05.09.2010, 11:05
Re: /announce command - by skaTim - 05.09.2010, 12:31
Re: /announce command - by Face9000 - 05.09.2010, 12:43
Re: /announce command - by skaTim - 05.09.2010, 12:48
Re: /announce command - by Wennicke - 05.09.2010, 12:50
Re: /announce command - by Anthonyx3' - 05.09.2010, 12:50
Re: /announce command - by Face9000 - 05.09.2010, 12:51

Forum Jump:


Users browsing this thread: 2 Guest(s)