Something
public text v1 · immutable if( strcmp(cmd, "/notice", true ) == 0 && IsPlayerAdmin(playerid) )
{
new TextArguments[256];
TextArguments = strtok(cmdtext, idx);
if( !strlen( TextArguments )){
SendClientMessage( playerid, COLOR_WHITE, "USAGE: /notice [message]." );
return 1;
}
new tempcmd[ 256 ];
format( tempcmd, 256, "%s", cmdtext[ 8 ] );
SendClientMessageToAll( COLOR_YELLOW, tempcmd );
return 1;
}