Beiträge von Büttii<3

    Wie die Überschrift schon sagt ich suche ein TimeBan Befehl.


    er Soll lauten /tban [ID] [Minuten] [Stunden] [Grund]


    wäre nett wen mir da einer Helfen kann oder im besten Fall


    Ein Script Code geben kann..


    Freundliche Grüße


    Büttii<3 :)

    Hier Kollege habe dir ma das mit Deinen Filmkasten gebaut ;) hoffe ich konnte dir helfen..


    BoxOben = TextDrawCreate(645.000000,101.000000,"___");
    BoxUnten = TextDrawCreate(1.000000,328.000000,"____");
    TextDrawUseBox(BoxOben,1);
    TextDrawBoxColor(BoxOben,0x000000ff);
    TextDrawTextSize(BoxOben,-260.000000,17.000000);
    TextDrawUseBox(BoxUnten,1);
    TextDrawBoxColor(BoxUnten,0x000000ff);
    TextDrawTextSize(BoxUnten,680.000000,0.000000);
    TextDrawAlignment(BoxOben,0);
    TextDrawAlignment(BoxUnten,0);
    TextDrawBackgroundColor(BoxOben,0x000000ff);
    TextDrawBackgroundColor(BoxUnten,0x000000ff);
    TextDrawFont(BoxOben,3);
    TextDrawLetterSize(BoxOben,1.000000,-14.000000);
    TextDrawFont(BoxUnten,3);
    TextDrawLetterSize(BoxUnten,1.000000,20.000000);
    TextDrawColor(BoxOben,0xffffffff);
    TextDrawColor(BoxUnten,0xffffffff);
    TextDrawSetOutline(BoxOben,1);
    TextDrawSetOutline(BoxUnten,1);
    TextDrawSetShadow(BoxOben,1);
    TextDrawSetShadow(BoxUnten,1);


    Mfg.


    Büttii<3

    Wie die überschrift schon sagt ich würde gerne ein Stadthallen System haben (Menü)
    es soll beinhalten : Führerschein , Angelschein , Perso , Versicherung e.t.c


    wäre sehr erfreut über nette Antworten..


    Euer


    Büttii<3 :D

    Rück lieber die Zeilen ein wo loose identation steht Pragma Tabsize ist nur eine Verwendung wo die Warnings nicht mehr angezeigt werden aber dies ist denk ich ma resourcen sparender wen du die zeilen richtig einrückst ;)

    Habe da etwas für dich musste halt nur noch in dein Script einbauen und Halt bisschen Übersetzen..


    #include <a_samp>
    #define COLOR 0xFF4444FF
    forward Restart();


    //Auto-Restarter v2 by nepstep
    //Feel free to edit the include but do not re-release it without my(nepstep) permission.


    public Restart()
    {
    SendRconCommand("gmx");
    }


    stock ServerRestart(days,hours,minutes,seconds,message)
    {
    new d,h,m,s,time;
    d = days * 86400000;
    h = hours * 3600000;
    m = minutes * 60000;
    s = seconds * 1000;
    time = d + h + m + s;
    SetTimer("Restart",time,false);
    //=========================Start Of Console Message=============================
    //------------------------Days Or Hours Or Minutes Or Seconds-------------------
    if(message == 1 || message == 3)
    {
    if(days > 0 && hours == 0 && minutes == 0 && seconds == 0)
    {
    printf("Server will restart on %d day(s).",days);
    }
    if(days == 0 && hours > 0 && minutes == 0 && seconds == 0)
    {
    printf("Server will restart on %d hour(s).",hours);
    }
    if(days == 0 && hours == 0 && minutes > 0 && seconds == 0)
    {
    printf("Server will restart on %d minute(s).",minutes);
    }
    if(days == 0 && hours == 0 && minutes == 0 && seconds > 0)
    {
    printf("Server will restart on %d second(s).",seconds);
    }
    //------------------------Days & Hours Or Days & Minutes Or Days & Seconds------
    if(days > 0 && hours > 0 && minutes == 0 && seconds == 0)
    {
    printf("Server will restart on %d day(s) and %d hour(s).",days,hours);
    }
    if(days > 0 && hours == 0 && minutes > 0 && seconds == 0)
    {
    printf("Server will restart on %d day(s) and %d minute(s).",hours,minutes);
    }
    if(days > 0 && hours == 0 && minutes == 0 && seconds > 0)
    {
    printf("Server will restart on %d day(s) and %d second(s).",days,seconds);
    }
    //------------------------Hours & Minutes Or Hours & Seconds--------------------
    if(days == 0 && hours > 0 && minutes > 0 && seconds == 0)
    {
    printf("Server will restart on %d hour(s) and %d minute(s).",hours,minutes);
    }
    if(days == 0 && hours > 0 && minutes == 0 && seconds > 0)
    {
    printf("Server will restart on %d hour(s) and %d second(s).",hours,seconds);
    }


    //------------------------Days & Hours & Minutes Or Days & Hours & Seconds------
    if(days > 0 && hours > 0 && minutes > 0 && seconds == 0)
    {
    printf("Server will restart on %d day(s), %d hour(s) and %d minute(s).",days,hours,minutes);
    }
    if(days > 0 && hours > 0 && minutes == 0 && seconds > 0)
    {
    printf("Server will restart on %d day(s), %d hour(s) and %d second(s).",days,hours,seconds);
    }
    //------------------------Hours & Minutes & Seconds-----------------------------
    if(days == 0 && hours > 0 && minutes > 0 && seconds > 0)
    {
    printf("Server will restart on %d hour(s), %d minute(s) and %d second(s).",hours,minutes,seconds);
    }
    }
    //===========================End Of Console Message=============================


    //=========================Start Of Client Message==============================
    //------------------------Days Or Hours Or Minutes Or Seconds-------------------
    if(message == 2 || message == 3)
    {
    new msg1[128];
    new msg2[128];
    new msg3[128];
    new msg4[128];
    new msg5[128];
    new msg6[128];
    new msg7[128];
    new msg8[128];
    new msg9[128];
    new msg10[128];
    new msg11[128];
    new msg12[128];
    if(days > 0 && hours == 0 && minutes == 0 && seconds == 0)
    {
    format(msg1,sizeof(msg1),"Server will restart on %d day(s).",days);
    SendClientMessageToAll(COLOR,msg1);
    }
    if(days == 0 && hours > 0 && minutes == 0 && seconds == 0)
    {
    format(msg2,sizeof(msg2),"Server will restart on %d hour(s).",hours);
    SendClientMessageToAll(COLOR,msg2);
    }
    if(days == 0 && hours == 0 && minutes > 0 && seconds == 0)
    {
    format(msg3,sizeof(msg3),"Server will restart on %d minute(s).",minutes);
    SendClientMessageToAll(COLOR,msg3);
    }
    if(days == 0 && hours == 0 && minutes == 0 && seconds > 0)
    {
    format(msg4,sizeof(msg4),"Server will restart on %d second(s).",seconds);
    SendClientMessageToAll(COLOR,msg4);
    }
    //------------------------Days & Hours Or Days & Minutes Or Days & Seconds------
    if(days > 0 && hours > 0 && minutes == 0 && seconds == 0)
    {
    format(msg5,sizeof(msg5),"Server will restart on %d day(s) and %d hour(s).",days,hours);
    SendClientMessageToAll(COLOR,msg5);
    }
    if(days > 0 && hours == 0 && minutes > 0 && seconds == 0)
    {
    format(msg6,sizeof(msg6),"Server will restart on %d day(s) and %d minute(s).",hours,minutes);
    SendClientMessageToAll(COLOR,msg6);
    }
    if(days > 0 && hours == 0 && minutes == 0 && seconds > 0)
    {
    format(msg7,sizeof(msg7),"Server will restart on %d day(s) and %d second(s).",days,seconds);
    SendClientMessageToAll(COLOR,msg7);
    }
    //------------------------Hours & Minutes Or Hours & Seconds--------------------
    if(days == 0 && hours > 0 && minutes > 0 && seconds == 0)
    {
    format(msg8,sizeof(msg8),"Server will restart on %d hour(s) and %d minute(s).",hours,minutes);
    SendClientMessageToAll(COLOR,msg8);
    }
    if(days == 0 && hours > 0 && minutes == 0 && seconds > 0)
    {
    format(msg9,sizeof(msg9),"Server will restart on %d hour(s) and %d second(s).",hours,seconds);
    SendClientMessageToAll(COLOR,msg9);
    }


    //------------------------Days & Hours & Minutes Or Days & Hours & Seconds------
    if(days > 0 && hours > 0 && minutes > 0 && seconds == 0)
    {
    format(msg10,sizeof(msg10),"Server will restart on %d day(s), %d hour(s) and %d minute(s).",days,hours,minutes);
    SendClientMessageToAll(COLOR,msg10);
    }
    if(days > 0 && hours > 0 && minutes == 0 && seconds > 0)
    {
    format(msg11,sizeof(msg11),"Server will restart on %d day(s), %d hour(s) and %d second(s).",days,hours,seconds);
    SendClientMessageToAll(COLOR,msg11);
    }
    //------------------------Hours & Minutes & Seconds-----------------------------
    if(days == 0 && hours > 0 && minutes > 0 && seconds > 0)
    {
    format(msg12,sizeof(msg12),"Server will restart on %d hour(s), %d minute(s) and %d second(s).",hours,minutes,seconds);
    SendClientMessageToAll(COLOR,msg12);
    }
    }
    //=========================End Of Client Message================================


    print("\n----------------------------------");
    print(" Auto-Restarter v2 by nepstep");
    print("----------------------------------\n");


    }


    Ich hoffe ich konnte dir weiterhelfen ;)

    HI wollte fragen ob mir jemand ein Dynamisches Geschäfts System scripten kann


    Wunsch: /bizeingang [24/7]


    dann sollte sich ein Eingangs Pickup erstellen


    & dann noch wen man in dem 24/7 Pickup Steht sollte man


    reingeportet werden..


    das gleiche natürlich auch beim rausgehen also wieder rausporten..


    Wäre dankbar wen mir da jemand weiterhelfen könnte ;)
    :)

    Hi ich bin grade dabei ein Dynamisches Fraktions Car System zu scripten


    eine Frage wie kann ich hier


    enum fInfo
    {
    bool:fLock,
    fCarid,
    fVehid,
    Float:fPos[4],
    fCol[2],
    fFraction[5]
    };
    new FractionCars[MAX_FRACTION_CARS][fInfo];


    noch weitere Features zu scripten also z.B fNummernschild