Beiträge von Angeloflove

    hallo ich habe ein job dhl jezt soll der user wenn der im 1 Checkpoint ist das der zu sein Kofferraum laufen soll dan ein packte bekommt und zum haus bringen muss wie mache ich das ich habe es momentan so


    stock const Float:checkDHL[][3] = {
    {2065.7559,-1703.4139,14.1484},//1
    {2068.2170,-1731.7712,13.8762},//2
    {2103.4197,-1806.3817,13.5547},//3
    {2176.1450,-1814.4629,13.5469},//4
    {2162.9980,-1814.4858,13.5469},//5
    {2151.8184,-1808.2286,13.5469},//6
    {2151.5332,-1789.5991,13.5100},//7
    {2147.1189,-1808.0038,16.1406},//8
    {2151.6099,-1819.2518,16.1406},//9
    {2164.7219,-1819.4974,16.1406},//10
    {2192.2378,-1814.3676,13.5469},//11
    {2231.5369,-1785.5688,13.5609},//12
    {2274.3704,-1785.7787,13.5469},//13
    {2345.5815,-1785.6888,13.5469},//14
    {2402.3303,-1715.5844,14.1328},//15
    {2385.6711,-1712.4873,14.2422},//16
    {2326.8892,-1717.0460,13.9074},//17
    {2368.1250,-1674.8383,14.1682},//18
    {2393.2739,-1646.4098,13.9051},//19
    {2408.9231,-1674.1664,13.6051},//20
    {2459.8181,-1690.2717,13.5394},//21
    {2513.6563,-1691.0569,13.7842},//22
    {2524.6282,-1658.5358,15.8240},//23
    {2498.5210,-1642.4344,13.7826},//24
    {2469.7729,-1647.0834,13.5182},//25
    {2389.8125,-1547.9135,24.1641},//26
    {2404.1208,-1548.4551,24.1641},//27
    {2418.5986,-1548.3904,24.1641},//28
    {2531.0210,-1227.7378,43.6563},//29
    {2421.2717,-1222.0807,25.3793},//30
    {2352.0618,-1168.3525,27.9209},//31
    {1439.1721,-926.0726,39.6477},//32
    {1280.9027,-875.1431,46.8438},//33
    {1287.2605,-867.7988,46.8361},//34
    {1280.7419,-867.9791,42.9445},//35
    {1287.4330,-873.5793,43.0766},//36
    {1285.5757,-903.7887,46.6328},//37
    {1290.0724,-897.5581,46.6251},//38
    {1242.0942,-878.0595,46.6406},//39
    {1248.7864,-871.0685,46.6329},//40
    {1252.1527,-900.9449,42.8828},//41
    {1585.7701,-1413.7760,13.3226}//42
    };



    switch(DHL[playerid])
    {
    case 1..42: {
    new str[64],id=DHL[playerid]-1;
    format(str,64,"Du hast den Checkpoint Nr. %d erreicht.",DHL[playerid]);
    SendClientMessage(playerid,GRUN,str);
    SetPlayerCheckpoint(playerid,checkDHL[id][0],checkDHL[id][1],checkDHL[id][2], 2.0);
    DHL[playerid]++;
    }
    case 43:
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du bekomst 1600$ -7% Steuern.");
    DestroyVehicle(GetPlayerVehicleID(playerid));
    GivePlayerMoney(playerid,1000);


    }
    }

    jezt habe ich da [pwn]C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(545) : warning 204: symbol is assigned a value that is never used: "PSteuern"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.

    [pwn]C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(545) : warning 204: symbol is assigned a value that is never used: "PSteuern"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.
    [/pwn]

    jezt bekomme ich das C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(171) : error 017: undefined symbol "sKasse"
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(539) : error 017: undefined symbol "Gehalt"
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(539) : warning 215: expression has no effect
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(540) : error 017: undefined symbol "PSteuern"
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(540) : warning 215: expression has no effect
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(541) : error 017: undefined symbol "VSteuern"
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(541) : warning 215: expression has no effect
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(542) : error 017: undefined symbol "Gehalt"
    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(543) : error 017: undefined symbol "VSteuern"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

    ich habe es so habe 2 jobs gemacht jedes mall wenn der fertig ist soll der sein lohn bekommen und bestürmte mange an geld soll abgezogen werden und in der Stadtkasse gehen

    hallo frage ist wie speicher ich das mit Dini // GLOBALE VARIABLEN
    new SKasse;


    // SPEICHER-FUNKTION


    // LADE-FUNKTION


    // Beim Job:
    Gehalt = 2500;
    PSteuern = 7; // Prozent
    VSteuern = (2500/100)*7; // Steuern
    GivePlayerMoney(playerid, Gehalt - VSteuern);
    // Diese Variablen dienen natürlich nur zum Beispiel und müssen ggf. an dein Code angepasst werden.


    SKasse += VSteuern; // Steuern werden in die Staatskasse gezahlt

    hallo breadfish ich möchte gerne eine kasse erstellen also ich habe jezt 4 jobs gemacht wo steuern abgezogen wirt und jezt möchte ich das die steuer die abgezogen werden in der Kasse gehen nur weis ich nicht wie ich das machen kann ist das möglich

    habe in schon dank euch noch ne frage kann ich es so machen das der User sone Uhr sehen kann wo die 5 Sekunden ab ablaufen


    hatte ne { vergessen da her Karm der Error

    das probabel ist das das nicht funkt public message()
    {
    new playerid;
    TogglePlayerControllable(playerid,0);
    }


    format(str,64,"Du hast den Checkpoint Nr. %d erreicht.",Bus[playerid]);
    SendClientMessage(playerid,GRUN,str);
    SetPlayerCheckpoint(playerid,checkP[id][0],checkP[id][1],checkP[id][2], 5.0);
    Bus[playerid]++;
    TogglePlayerControllable(playerid,1);
    SetTimer("message", 1000, false); // Set a timer of 1000 miliseconds (1 second)

    hallo kann mir jemand helfen bin jezt seit 2 stunden dran ich möchte gerne Spieler die in Checkpoints fahren Freeze un weis ich nicht wie das geht

    jezt habe ich das C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(1766) : error 025: function heading differs from prototype
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    hallo weis nicht was ich gemacht habe aber ich bekomme immer dis


    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(1768) : error 017: undefined symbol "playerid"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.



    public teimer1()
    {
    TogglePlayerControllable(playerid,0);
    return 1;
    }


    hoffe jemand kann helfen

    hallo habe 2 fragen 1 frage ist wie bekomme ich das kleiner und die 2 frage ist wie mache ich das das der User ge freezet Wört bei jeden point



    if(Bus[playerid] == 1)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 1 erreicht.");
    SetPlayerCheckpoint(playerid,1436.0986,-1735.5679,13.0875, 5.0/* Koordinaten #2*/);
    Bus[playerid] = 2;
    }
    else if(Bus[playerid] == 2)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 2 erreicht.");
    SetPlayerCheckpoint(playerid,1818.4584,-1911.8336,13.0939, 5.0/* Koordinaten #3*/);
    Bus[playerid] = 3;
    }
    else if(Bus[playerid] == 3)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 3 erreicht.");
    SetPlayerCheckpoint(playerid,2059.4771,-1940.6632,13.0563, 5.0/* Koordinaten #4*/);
    Bus[playerid] = 4;
    }
    else if(Bus[playerid] == 4)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 4 erreicht.");
    SetPlayerCheckpoint(playerid,2008.5358,-1457.9471,13.0952, 5.0/* Koordinaten #5*/);
    Bus[playerid] = 5;
    }
    else if(Bus[playerid] == 5)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 5 erreicht.");
    SetPlayerCheckpoint(playerid,1718.0936,-1414.9360,13.0885, 5.0/* Koordinaten #6*/);
    Bus[playerid] = 6;
    }
    else if(Bus[playerid] == 6)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 6 erreicht.");
    SetPlayerCheckpoint(playerid,1558.5846,-1294.5383,16.4447, 5.0/* Koordinaten #7*/);
    Bus[playerid] = 7;
    }
    else if(Bus[playerid] == 7)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 7 erreicht.");
    SetPlayerCheckpoint(playerid,1427.1154,-1030.7017,23.3610, 5.0/* Koordinaten #4*/);
    Bus[playerid] = 8;
    }
    else if(Bus[playerid] == 8)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
    SetPlayerCheckpoint(playerid,1203.2323,-933.3453,42.4372, 5.0/* Koordinaten #8*/);
    Bus[playerid] = 9;
    }
    else if(Bus[playerid] == 9)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
    SetPlayerCheckpoint(playerid,793.3743,-1354.3220,13.0956, 5.0/* Koordinaten #8*/);
    Bus[playerid] = 10;
    }
    else if(Bus[playerid] == 10)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
    SetPlayerCheckpoint(playerid,561.6163,-1399.9645,14.5171, 5.0/* Koordinaten #8*/);
    Bus[playerid] = 11;
    }
    else if(Bus[playerid] == 11)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
    SetPlayerCheckpoint(playerid,357.1045,-1649.3328,32.5020, 5.0/* Koordinaten #8*/);
    Bus[playerid] = 12;
    }
    else if(Bus[playerid] == 12)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
    SetPlayerCheckpoint(playerid,1143.0398,-1737.3237,13.2442, 5.0/* Koordinaten #8*/);
    Bus[playerid] = 13;
    }
    else if(Bus[playerid] == 13)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUN, "Herzlichen Glueckwunsch Du hast Bestanden");
    DestroyVehicle(GetPlayerVehicleID(playerid));
    }

    hallo ich habe ein Problem ich möchte gerne das der befehl nur im ein Fahrzeug funktioniert zb ein bestürmtes wie mache ich das


    ocmd:bjob(playerid,params[])
    {
    Bus[playerid]=1;
    SetPlayerCheckpoint(playerid,1269.1068,-911.3364,42.6467,2.0); //den ersten point
    SendClientMessage(playerid,BLAU,"Du hast deine Prüfung Begonnen");
    return 1;
    }

    C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Blue-Mix-Reallife.pwn(1399) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.


    -----> = 1399 = SetPlayerCheckpoint(playerid,x,y,z);