Stuff
public text v1 · immutable if(strcmp(cmd, "/notice", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new TextArguments[256];
new space = strfind(message, "SMS: ");
if (space) strmid(TextArguments, message, space+1,strlen(message));
SendClientMessageToAll(COLOR_YELLOW, string);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You must be admin to use this command.");
return 1;
}
}