if(strcmp(cmd,"/notice", true) == 0) { if(!IsPlayerAdmin(playerid)) 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, "You must be admin to use this command."); return 1; } }