Hauptsache 10 Beiträge wa ???
naja B2T hier :
#define DIALOG_REPORT 0
#define DIALOG_REP 1
oben ins script
stock ReportToAdmins(text[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(i) && IsPlayerConnected(i)) // anpassen also deine Admin definition ist jetzt recon admin ....
{
ShowPlayerDialog(i,DIALOG_REP,DIALOG_STYLE_MSGBOX,"A new Report",text,"OK","Close");
}
}
}
Command zum Report senden if (strcmp("/report", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,DIALOG_REPORT,DIALOG_STYLE_INPUT,"Report","Type in your Text this was send to a Admin /Sup","Send","Close");
return 1;
}
Unter OnPlayerDialogResponse
if(dialogid == DIALOG_REPORT)
{
ReportToAdmins(inputtext);
}