Beiträge von Tartaros

    Bitte schön :)
    ocmd:tickets(playerid, params[])
    {
      #pragma unused params
      if(IsPlayerAdminDuty(playerid,1))
      {
      SendClientMessage(playerid, COLOR_TICKET, "Tickets mit /aticket nehmen.");
      for(new i = 0; i < MAX_PLAYERS; i++)
      {
      if(SupportTicket[i] == 1)
      {
      if(TicketAngenommen[i] == 0)
      {
      new string[128], DerSpieler[MAX_PLAYER_NAME];
      GetPlayerName(i, DerSpieler, sizeof(DerSpieler));
      format(string, sizeof(string), "ID: %d Name: %s", i, DerSpieler);
      SendClientMessage(playerid, COLOR_GREY, string);



      }
      }
      }
      }
      return 1;
    }



    ocmd:sup(playerid,params[])
    {
      new text[256];
      if(sscanf(params,"s",text))return SendClientMessage(playerid,COLOR_RED,"/sup [Text]");
      else
      {
      if(TicketAngenommen[playerid] == 0)
      {
      new pname[MAX_PLAYERS], string[128];
      GetPlayerName(playerid,pname,sizeof pname);
      format(save,sizeof save,"Tickets/%s.ini",pname);
      if(!dini_Exists(save) && TicketZeile[playerid] == 0)
      {
      new adminmeldung[128];
      format(adminmeldung, sizeof(adminmeldung), "%s hat ein Support-Ticket geschrieben!", pname);
      SendAdminMessage(COLOR_YELLOW, adminmeldung);
      SupportTicket[playerid] = 1;
      TicketZeile[playerid] = 1;
      dini_Create(save);
      dini_Set(save,"Suptext",text);
      SendClientMessage(playerid, COLOR_TICKET, "Du hast ein Support-Ticket mit folgendem Text geöffnet:");
      format(string, sizeof(string), "%s", text);
      SendClientMessage(playerid, COLOR_TICKET, string);
      SendClientMessage(playerid, COLOR_TICKET, "Bitte warte bis dein Ticket von einem Admin geöffnet wird.");
      return 1;
      }
      else if(TicketZeile[playerid] == 1)
      {
      new string2[128];
      dini_Set(save, "Suptext2",text);
      SendClientMessage(playerid, COLOR_TICKET, "Du hast folgendes an dein Ticket angehängt:");
      format(string2, sizeof(string2), "%s", text);
      SendClientMessage(playerid, COLOR_TICKET, string2);
      TicketZeile[playerid] = 2;
      return 1;
      }
      else if(TicketZeile[playerid] == 2)
      {
      new string3[128];
      dini_Set(save, "Suptext3",text);
      SendClientMessage(playerid, COLOR_TICKET, "Du hast folgendes an dein Ticket angehängt:");
      format(string3, sizeof(string3), "%s", text);
      SendClientMessage(playerid, COLOR_TICKET, string3);
      TicketZeile[playerid] = 3;
      return 1;
      }
      else if(TicketZeile[playerid] == 3)
      {
      SendClientMessage(playerid, COLOR_YELLOW, "Du kannst keine Zeilen mehr an dein Ticket anhängen!");
      return 1;
      }
      }
      if(TicketAngenommen[playerid] == 1)
      {
      new pID = DeinSupport[playerid];
      new antwort[128], antwort2[128], DerFragende[MAX_PLAYER_NAME], DerSup[MAX_PLAYER_NAME];
      GetPlayerName(playerid, DerFragende, sizeof (DerFragende));
      GetPlayerName(pID, DerSup, sizeof (DerSup));
      format(antwort, sizeof (antwort),"Du schreibst: %s", text);
      SendClientMessage(playerid, COLOR_YELLOW, antwort);
      format(antwort2, sizeof (antwort2), "%s schrieb: %s", DerFragende, text);
      SendClientMessage(pID, COLOR_TICKET, antwort2);
      }
      }
      return 1;
    }



    ocmd:giveticket(playerid, params[])
    {
      new pID, adminid;
      if(sscanf(params,"uu",pID,adminid))
      {
      return SendClientMessage(playerid, COLOR_RED,"/giveticket [TicketID] [ID]");
      }
      if(!IsPlayerConnected(adminid))
      {
      return SendClientMessage(playerid, COLOR_RED,"Der Admin ist nicht online!");
      }
      if(IsPlayerAnAdmin(playerid,0))
      {
      return SendClientMessage(playerid, COLOR_RED, "Der Spieler ist kein Admin!");
      }
      new pname[MAX_PLAYERS];
      GetPlayerName(pID,pname,sizeof pname);
      format(save,sizeof save,"Tickets/%s.ini",pname);
      if(!dini_Exists(save))
      {
      return SendClientMessage(playerid, COLOR_GREY,"Die ID hat kein offenes Ticket!");
      }
      new NeuerAdmin[MAX_PLAYER_NAME], AlterAdmin[MAX_PLAYER_NAME], Fragender[MAX_PLAYER_NAME];
      GetPlayerName(playerid, AlterAdmin , sizeof(AlterAdmin));
      GetPlayerName(adminid, NeuerAdmin, sizeof(NeuerAdmin));
      GetPlayerName(pID, Fragender , sizeof(Fragender));
      DeinSupport[pID] = adminid;
      new string2[128], string3[128], string4[256], string5[256], string6[256];
      format(string2, sizeof(string2), "Admin: %s hat dein Ticket an %s weitergegeben.", AlterAdmin, NeuerAdmin);
      SendClientMessage(pID, COLOR_YELLOW, string2);
      SendClientMessage(playerid, COLOR_YELLOW, "Erfolgreich weitergeleitet");
      format(string3, sizeof(string3), "Admin: %s hat dir %s´s Ticket gegeben. Er schrieb folgendes:", AlterAdmin, Fragender);
      string4 = dini_Get(save, "Suptext");
      string5 = dini_Get(save, "Suptext2");
      string6 = dini_Get(save, "Suptext3");
      SendClientMessage(adminid, COLOR_YELLOW, string3);
      SendClientMessage(adminid, COLOR_YELLOW, string4);
      SendClientMessage(adminid, COLOR_YELLOW, string5);
      SendClientMessage(adminid, COLOR_YELLOW, string6);
      return 1;
    }



    ocmd:deleteticket(playerid, params[])
    {
      new pID;
      if(sscanf(params,"u",pID))
      {
      return SendClientMessage(playerid, COLOR_RED,"/deleticket [ID]");
      }
      new pname[MAX_PLAYERS];
      GetPlayerName(pID,pname,sizeof pname);
      format(save,sizeof save,"Tickets/%s.ini",pname);
      if(dini_Exists(save))
      {
      if(IsPlayerAdminDuty(playerid,1))
      {
      new string[128], DerSup[MAX_PLAYER_NAME];
      GetPlayerName(playerid, DerSup, sizeof(DerSup));
      dini_Remove(save);
      format(string, sizeof(string), "Admin %s hat dein Support Ticket geschlossen/gelöscht!", DerSup);
      SendClientMessage(pID, COLOR_YELLOW, string);
      SendClientMessage(playerid, COLOR_YELLOW, "Ticket wurde erfolgreich gelöscht.");
      TicketZeile[pID] = 0;
      TicketAngenommen[pID] = 0;
      DeinSupport[pID] = 0;
      SupportTicket[pID] = 0;
      }
      }

    /supp
    Habe es nicht geändert.



    Aber wenn ich ehrlich bin bin ich vom Script her nicht begeistert.



    Da ein paar Sachen mir fehlen.



    Da ich nur Editieren kann und maps einfügen kann.
    Würde ich mich über einen Reallife Script Empfehlung auch freuen wo das Admin sythem gut ist. und ist nicht schlimm wenn es ein Edit ist...



    Nja bis ich halt jemanden Gefunden habe der für mich Scriptet....



    :)



    Aber vielen Dank für die schnelle Antwort

    Ja das stimmt. Glaube ich werde es sofort ausprobieren.



    Ich habe das Script vorhin heruntergeladen.



    Das Script heißt GermanReallife.



    Und habe vom Scripten wenns hoch kommt 10% Ahnung :)



    Edetieren.... das kann ich.....

    Hallo ich habe da ein kleines Problem mit meinen Server.
    Server Startet immer wieder neu. Ohne ersichtlichen Grund.
    Hier die Log.
    Vielen dank für eure Mühe schon im Vorraus.



    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team



    [16:14:04]
    [16:14:04] Server Plugins
    [16:14:04] --------------
    [16:14:04] Loading plugin: streamer
    [16:14:04]



    *** Streamer Plugin v2.7.8 by Incognito loaded ***



    [16:14:04] Loaded.
    [16:14:04] Loaded 1 plugins.



    [16:14:05]
    [16:14:05] Ban list
    [16:14:05] --------
    [16:14:05] Loaded: samp.ban
    [16:14:05]
    [16:14:05]
    [16:14:05] Filterscripts
    [16:14:05] ---------------
    [16:14:05] Loading filterscript 'gl_actions.amx'...
    [16:14:05] Loading filterscript 'gl_realtime.amx'...
    [16:14:05] Loading filterscript 'gl_property.amx'...
    [16:14:05]
    -----------------------------------
    [16:14:05] Grand Larceny Property Filterscript
    [16:14:05] -----------------------------------



    [16:14:05] Loading filterscript 'gl_mapicon.amx'...
    [16:14:05] Loading filterscript 'ls_elevator.amx'...
    [16:14:05] Loading filterscript 'attachments.amx'...
    [16:14:05] Loading filterscript 'skinchanger.amx'...
    [16:14:05]
    --Admin Player Skin Changer Loaded



    [16:14:05] Loading filterscript 'vspawner.amx'...
    [16:14:05]
    --Admin Vehicle Spawner Loaded



    [16:14:05] Loading filterscript 'ls_mall.amx'...
    [16:14:05] Loading filterscript 'ls_beachside.amx'...
    [16:14:05]



    [16:14:05] |---------------------------------------------------
    [16:14:05] |--- LS BeachSide Filterscript
    [16:14:05] |-- Script v1.03
    [16:14:05] |-- 19th April 2015
    [16:14:05] |---------------------------------------------------
    [16:14:05] |-- LS BeachSide Building Elevator created
    [16:14:05] |---------------------------------------------------
    [16:14:05] Loading filterscript 'radio.amx'...
    [16:14:05] Loaded 11 filterscripts.



    [16:14:05] Reading File: blank
    [16:14:05] Reading File: properties/houses.txt
    [16:14:05] Reading File: properties/businesses.txt
    [16:14:05] Reading File: properties/banks.txt
    [16:14:05] Reading File: properties/police.txt
    [16:14:05]
    ---------------------------------------------------
    [16:14:05] Gigant Reallife... loaded!
    [16:14:05] Script scriptet by Tartaros.
    [16:14:05] ---------------------------------------------------



    [16:14:05] Number of vehicle models: 20
    [16:14:30] [connection] 188.101.89.131:62372 requests connection cookie.
    [16:14:31] [connection] incoming connection: 188.101.89.131:62372 id: 0
    [16:14:31] [join] [GR]Tartaros has joined the server (0:188.101.89.131)
    [16:15:18] [GR]Tartaros hat ein Support-Ticket geschrieben!
    [16:15:38] [part] [GR]Tartaros has left the server (0:0)
    [16:15:49] [connection] incoming connection: 188.101.89.131:53502 id: 0