if(strcmp(cmd,"/gamenotice", true) == 0) { if(!IsPlayerAdmin(playerid)) { SendClientMessage(playerid, COLOR_RED, "You must be admin to use this command."); return 1; } new TextArguments[256]; new tmpstr[256]; new name[24]; new string[256]; new message[256]; new space = strfind(cmdtext, " "); if (space) { GetPlayerName(playerid, name, 24); strmid(TextArguments, cmdtext, space+1,strlen(cmdtext)); format(string, 256, "%s: %s", name, message); GameTextForAll(tmpstr, 5000, 3); } else { SendClientMessage(playerid, COLOR_RED, "USAGE: /gamenotice ."); } return 1; }