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;
}
}
Google.