[HELP] with /report
#1

Hello
i need help with my report when i make /report an send the report the report are sendet to all amdins but i want to have a /accept report cmd that soneone admin can accept the report

Sry for my ban englisch.. xD

Reply
#2

What's the variable are you using with Admin Script?
Reply
#3

оf(PlayerInfo[playerid][pAdmin] == LVL)
Reply
#4

HELPPPP!!!!
Reply
#5

Do you already got a /report command
What is your admin level code...
Reply
#6

the report menu

Код:
	if(response)
	{
		if(dialogid == REPORTMENU)
		{

				    new str[160];
		  GetPlayerName(playerid, str, MAX_PLAYER_NAME);
      for (new i = 0; i < MAX_PLAYER_NAME; i++)
      if (str[i] == '_')
      str[i] = ' ';
			format(str, sizeof(str), "Report von %s : %s", str, (inputtext));
			ABroadCast(COLOR_REDA,str,1);
			SendClientMessage(playerid, COLOR_YELLOW, "Dein Report wьrde an die Admins gesendet!");

		}
	}
the cmd
Код:
		if(strcmp(cmd, "/report", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
      //ShowPlayerDialog(playerid,REPORTMENU,DIALOG_STYLE_LIST,"MyDialog","1. Line\r\n2. Line\r\n3. Line","Option 1", "Option 2");
      ShowPlayerDialog(playerid,REPORTMENU,DIALOG_STYLE_INPUT,"Report","Was mцchtest du Reporten?","Report","Abbrechen");
	  }
	  return 1;
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)