Beiträge von barney™

    Hallo community


    Ich habe mein Erstes Selfmade was ich damals Angefangen habe auf meinem Rechner wieder Gefunden und Ich möchte es nicht so gerne Wegschmeißen also Release ich es.


    Es ist nix Besonderes Doch es sind schon einige sachen vll drin die einigen helfen könnten.


    Das Script hat um die 3750 Zeilen.


    Ich gebe Kein Support Auf dieses Script.


    Es benutzt das Plugin Streamer.



    [tabmenu]

    [tab='Script']
    http://pastebin.com/z9DS1jJ0
    Download:
    http://www.file-upload.net/ind…53b6c4e0a7d7da1b325f01c11
    [tab='Credits]
    Gehen an mich löwecadii aka justin und Breadfisch[/tabmenu]


    • Die befehle sind hauptsächlich über ocmd: geschrieben
    • Es gibt einen Tacho.
    • #define fraktname1 "LSPD"
    • #define fraktname2 "FBI"
    • #define fraktname3 "Medic"
    • #define fraktname4 "Feuerwehr"
    • #define fraktname5 "fahrschule"
    • #define fraktname6 "ADAC"
    • #define fraktname7 "Reporter"
    • #define fraktname8 "Aztecas"
    • #define fraktname9 "Russenmafia"
    • #define fraktname10 "Groovestreet"
    • #define fraktname11 "Ballas"
    • #define fraktname12 "RAF"
    • #define fraktname13 "Vagoz"
    • der befehl ocmd:stats ist in einem Dialog.
    • Es sind viele Maps Vorhanden.
    • Man kann leute per /spawnen.
    • es gibt Schon licensen bisher sind aber nur 2 stück definiert der rest muss dan noch gemacht werden.
    • Das LSPD hat schon fast alle Befehle die wichtig sind ocmd:clear ocmd:festnehmen usw.
    • Ein Ticket System ist vorhanden
    • es ist für Fraktionen ein Rank system vorhanden
    • eine Uhr ist da
    • Und 2 Textdraws über der uhr
    • payday


    ist ein kleines Anfänger script .


    MFG löwecadii /justin

    klappt doch nicht..



    Niemand,0,0,0,0,0,0,0,0,0,0
    0.000000,0.000000,0.000000,0.000000,0.000000,0.000000, so sieht es unverarbeitet aus



    //edit


    habe schon paar mal versucht nur nach server start war nix da als ich dan wieder in der house datei geguckt habe waren ganz viele alte häuser drinn die neuen vesuche werden nicht gespeichert

    C:\Users\Justin\Desktop\server\gamemodes\selfmade.pwn(3151) : error 035: argument type mismatch (argument 1)
    C:\Users\Justin\Desktop\server\gamemodes\selfmade.pwn(3151) : warning 202: number of arguments does not match definition
    C:\Users\Justin\Desktop\server\gamemodes\selfmade.pwn(3373) : warning 204: symbol is assigned a value that is never used: "string"





    und nun kommen die hier :D

    PAWN Quelltext



    C:\Users\Justin\Desktop\server\gamemodes\selfmade.pwn(3151) : warning 202: number of arguments does not match definition
    C:\Users\Justin\Desktop\server\gamemodes\selfmade.pwn(3151) : warning 202: number of arguments does not match definition
    C:\Users\Justin\Desktop\server\gamemodes\selfmade.pwn(3373) : warning 204: symbol is assigned a value that is never used: "string"





    //Zeilen die 2 warnings



    new ipadr[16];
    GetPlayerCountryName(playerid, ipadr, sizeof(ipadr));



    //der eine warning


    new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));

    unzwar habe ich ein ocmd:neon befehl für ein dialog wen ich zb machen möchte das er nur an einer tuning gebäude neon machen kan muss ich das in den ocmd:neon befehl oder in den dialog rein
    ???


    if(dialogid == neondialog)
    {
    if(response)
    {
    if(listitem == 0)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "DunkelBlau");
    }
    if(listitem == 1)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neon Installiert");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Rot");
    }
    if(listitem == 2)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Gruen");
    }
    if(listitem == 3)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Weiss");
    }
    if(listitem == 4)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Lila");
    }
    if(listitem == 5)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Gelb");
    }
    if(listitem == 6)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon12", CreateObject(18648,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon13", CreateObject(18648,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon14", CreateObject(18649,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon15", CreateObject(18649,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon14"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon15"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Tuerkis");
    }
    if(listitem == 7)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon16", CreateObject(18648,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon17", CreateObject(18648,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon18", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon19", CreateObject(18652,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon16"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon17"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon18"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon19"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "HellBlau");
    }
    if(listitem == 8)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon20", CreateObject(18647,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon21", CreateObject(18647,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon22", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon23", CreateObject(18652,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon20"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon21"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon22"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon23"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Pink");
    }
    if(listitem == 9)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon24", CreateObject(18647,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon25", CreateObject(18647,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon26", CreateObject(18650,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon27", CreateObject(18650,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon24"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon25"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon26"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon27"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Orange");
    }
    if(listitem == 10)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon28", CreateObject(18649,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon29", CreateObject(18649,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon30", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon31", CreateObject(18652,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon28"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon29"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon30"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon31"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "HellGruen");
    }
    if(listitem == 11)
    {
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon32", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon33", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon34", CreateObject(18650,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon35", CreateObject(18650,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon32"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon33"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon34"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon35"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter installiert!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Create(NeonDatei);
    dini_Set(NeonDatei, "Farbe", "Gold");
    }
    if(listitem == 12)
    {
    DestroyObject(GetPVarInt(playerid, "neon")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon2")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon3"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon4")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon5")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon6")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon7"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon8")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon9")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon10")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon11"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon12")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon13")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon14")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon15"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon16")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon17")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon18")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon19"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon20")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon21")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon22")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon23"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon24")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon25")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon26")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon27"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon28")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon29")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon30")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon31"));
    DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon32")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon33")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon34")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon35"));
    SendClientMessage(playerid, 0xFFFFFFAA, "Neonlichter entfernt!");
    new NeonDatei[64];
    format(NeonDatei,sizeof(NeonDatei),"/Neons/%d.ini", GetPlayerVehicleID(playerid));
    dini_Remove(NeonDatei);
    }
    }
    }
    return 0;
    }


    der befehl:



    ocmd:neon(playerid,params[])
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    ShowPlayerDialog(playerid, neondialog, DIALOG_STYLE_LIST, "Neons", "Dunkel Blau\nRot\nGruen\nWeiss\nLila\nGelb\nTuerkis\nHell Blau\nPink\nOrange\nHell Gruen\nGold\nNeonlichter entfernen", "OK", "Abbrechen");
    }
    return 1;
    }