Beiträge von Syntro

    Hey, ich hätte da ne frage..
    wenn ich ingame /gangwar mache startet kein gangwar den er erkennt keine zone
    aber in den anderen zonen erkennt er sie diese zone habe ich selber erstellt.. bei der es net klappt


    wie geht es richtig?


    new GangwarZones[MAX_GWZONES][gangwar_daten] =
    {//zone minx,zone miny,zone maxx,zone maxy,flagenpunkt1x,flagenpunkt1y,flagenpunkt1z,flagenpunkt2x,flagenpunkt2y,flagenpunkt2z,flagenpunkt3x,flagenpunkt3y,flagenpunkt3z,gebietsgehalt für frakt payday
    {"TROLOLO",-2989.536,-2942.825,-2989.536,-2942.825,2000.0,2000.0,2000.0,2000.0,2000.0,2000.0,2000.0,2000.0,2000.0},//zone zum entbuggen der zone 1
    {"Los Santos Hafen",2117.333,-2743.804,2893.112,-2155.591,2140.0071,-2271.7249,17.5625,2401.1536,-2573.8662,16.3047,2838.6057,-2369.7136,31.0078,9075},//los santos hafen
    {"Palomino Creek",2137.051,-198.5239,2592.488,198.5239,2326.7693,1.5366,26.5396,2161.0542,-103.0536,2.7500,2516.8555,126.8438,27.6756,6500},//rukilla dorf
    {"Pig Pen",2345.503,-1366.043,2851.281,-1148.917,2393.6875,-1207.0553,27.7381,2611.8501,-1237.3956,49.9844,2777.5457,-1358.4841,40.4688,9075},//pig pen in los santos
    {"Las Venturas Strip",1822.023,958.8014,2438.989,1554.484,2130.8462,1142.3115,13.5102,2323.6787,1283.3265,97.5347,2000.5404,1520.8982,17.0625,10250},//in lv innenstadt(pyramide undso)
    {"San Fierro Downtown",-2143.608,811.0348,-1992.963,1154.247,-2079.0698,902.9396,64.1328,-2079.3962,1066.5254,65.5657,-2066.9275,834.6260,71.8906,6525},//nähe san fierro hafen liegt aber mehr in der innenstadt
    {"Angel Pine",-2347.253,-2650.878,-1880.138,-2207.118,-2188.1748,-2428.2312,35.5162,-2192.9609,-2324.0313,30.6250,-2132.5352,-2512.7478,31.8163,4750},//zone unten rechts in der map da beim mount chillad
    {"Blueberry",-350.3363,-548.8602,432.0814,186.846,251.8103,-54.0862,1.5776,-62.6723,45.2555,6.4766,-56.4933,-223.8882,5.4297,10675},//fleischberg in los santos/san fierro
    {"Mont Gomery",1132.754,81.74512,1471.412,420.4035,1294.3245,174.3457,20.9106,1298.2687,355.0658,19.5547,1246.3901,209.2729,23.0555,7895},//gebiet oben vor las venturas (mont gomery)
    {"Queens Hood",-2356.056,-48.96741,-1996.826,345.529,-2073.0544,305.9836,41.9922,-2315.7722,198.6139,35.3984,-2116.7932,-5.7769,35.3203,7865},//queens hood in san fierro nähe 2´ter zone in sf
    {"San Fierro Bay",-1798.393,1039.331,-1202.821,1681.614,-1638.3418,1416.0811,7.1875,-1365.8983,1489.4930,11.0391,-1741.8547,1543.1525,7.1875,5980},//gebiet san fierro bay
    {"Bridge",-2896.113,1027.653,-2382.287,1599.869,-2655.0881,1446.2406,41.8359,-2604.3401,1225.9697,49.3693,-2818.7683,1134.2621,26.1044,7900},//sf red Bridge
    {"Factory",2435.084,2544.708,2790.425,2885.098,2618.6438,2721.2471,36.5386,2584.3252,2828.2236,10.8203,2579.7339,2854.7153,10.8203,8950},//lv fabrik nähe lvpd
    {"LV Parkdeck",1950.883,2204.319,2294.51,2525.368,2117.5818,2416.6057,49.5234,2127.5029,2375.8049,10.8203,2251.6655,2488.9050,10.9908,7250},//lv parkdeck nähe factory und lvpd
    {"LS Pier",238.7097,-1887.8304,158.8557,-1775.2039,174.3355,-1806.4796,4.1745,215.2584,-1799.6902,4.4247,201.1748,-1870.6338,3.7082}//test zone by alex scripted for test!
    };


    LS Pier also die letzte habe ich gemacht.. was is dort falsch :o


    CODES:


    AddPlayerClass(270,238.7097,-1887.8304,0.9947,206.1211,0,0,0,0,0,0); // zoneteil1 == 238.7097,-1887.8304,
    AddPlayerClass(270,158.8557,-1775.2039,4.3454,35.9937,0,0,0,0,0,0); // zoneteil2 == 158.8557,-1775.2039


    ZSM GLEICH == 238.7097,-1887.8304,158.8557,-1775.2039


    AddPlayerClass(270,174.3355,-1806.4796,4.1745,216.6797,0,0,0,0,0,0); // flagge1 == 174.3355,-1806.4796,4.1745
    AddPlayerClass(270,215.2584,-1799.6902,4.4247,9.1153,0,0,0,0,0,0); // flagge2 == 215.2584,-1799.6902,4.4247
    AddPlayerClass(270,201.1748,-1870.6338,3.7082,93.4753,0,0,0,0,0,0); // flagge3 == 201.1748,-1870.6338,3.7082


    ZSM ALLES GLEICH == 238.7097,-1887.8304,158.8557,-1775.2039,174.3355,-1806.4796,4.1745,215.2584,-1799.6902,4.4247,201.1748,-1870.6338,3.7082


    Was habe ich falsch gemacht?
    habe bei zonenteil1 - 2 immer die ersten vier ziefern genommen.

    Was?


    Erkläre bitte genau was du denn haben möchtest.


    ein control panel..
    zum laufen bringen:D
    und dafür muss ich glaube den link auslesen..
    ordner wos drinne is


    RGR CP halt..


    if(strcmp("/linie", cmd, true) == 0)
    {
    new IsInBus = 0;
    if(GetPlayerVehicleID(playerid) == 431)
    {
    IsInBus = 1;
    }
    }
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pJob] == 10)
    {
    if(IsInBus == 1)
    {
    new string1[500],string2[500],string3[500],mstring[500];
    new linie1a = PlayerInfo[playerid][pBusskill],
    linie2a = PlayerInfo[playerid][pBusskill],
    linie3a = PlayerInfo[playerid][pBusskill];
    SendClientMessage(playerid, COLOR_YELLOW, "* Wähle nun eine Linie aus!");
    format(string1,sizeof(string1),"Busfahrer: Linie Wählen");
    format(string,sizeof(string),"{FEFEFE}|{24B000}Linie 1{FEFEFE}| Ab Skill Level {F50000}0{FEFEFE} | Dein Skill Level: {00F600}%d{FEFEFE}\n|{24B000}Linie 2{FEFEFE}| Ab Skill Level {F50000}100{FEFEFE} | Dein Skill Level: {00F600}%d{FEFEFE}\n|{24B000}Linie 3{FEFEFE}| Ab Skill Level {F50000}200{FEFEFE} | Dein Skill Level: {00F600}%d{FEFEFE}",linie1a,linie2a,linie3a);
    ShowPlayerDialog(playerid,DIALOG_BUSLINIE,DIALOG_STYLE_LIST,string1,string,"Fahren","Beenden");
    //ShowPlayerDialog(playerid,DIALOG_BUSLINIE,DIALOG_STYLE_LIST,"Busfahrer: Linie Wählen","|Linie 1| Ab Skill Level 0 | Dein Skill Level: %d\n|Linie 2| Ab Skill Level 100 | Dein Skill Level: %d\n|Linie 3| Ab Skill Level 200 | Dein Skill Level: %d","Fahren","Abbrechen",linie1a,linie2a,linie3a);
    }
    else
    {
    SendClientMessage(playerid, COLOR_ERRORTEXT, "Du bist in keinem Bus!");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_ERRORTEXT, "Du bist kein Busfahrer !");
    return 1;
    }
    return 1;
    }


    1 Error:


    C:\Users\Pisser\Desktop\erpscript\LsR Server\erpscript\LsR Server\gamemodes\selfmade.pwn(19591 -- 19598) : error 017: undefined symbol "IsInBus"


    1 Warning davon:


    C:\Users\Pisser\Desktop\erpscript\LsR Server\erpscript\LsR Server\gamemodes\selfmade.pwn(19591) : warning 204: symbol is assigned a value that is never used: "IsInBus"


    Die Zeilen von 19591-19598:


    IsInBus = 1;
    }
    }
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pJob] == 10)
    {
    if(IsInBus == 1)


    Need HELP! :D wäre nett
    wenn jemand mir beim fixxen hilft.
    danke im vorraus.


    if(GetPlayerVehicleID(playerid) == 431)
    Noch ne frage hierzu das is bestimmt nur die ingame car id die 431 hat
    wie mache ich das es bei allen bussen geht also car id 431!