if(strcmp(cmd,"/notice", true) == 0) { if(!IsPlayerAdmin(playerid)) { SendClientMessageToAll(COLOR_RED, "You must be an administrator to use this command!"); return 1; } new TextArguments[256]; new tmpstr[256]; new space = strfind(cmdtext, " "); if (space) { strmid(TextArguments, cmdtext, space+1,strlen(cmdtext)); format(tmpstr, sizeof(tmpstr), "SMS: %s", TextArguments); SendClientMessageToAll(COLOR_YELLOW, tmpstr); } else { SendClientMessage(playerid, COLOR_RED, "USAGE: /notice "); } return 1; }