Beiträge von Tro53Vladi

    Nun is bei mir ein Klammerfehler Ö.ö




    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(38876) : warning 208: function with tag result used before definition, forcing reparse
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(38889) : warning 208: function with tag result used before definition, forcing reparse
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(38916) : warning 208: function with tag result used before definition, forcing reparse
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(38939) : warning 208: function with tag result used before definition, forcing reparse
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(485) : warning 217: loose indentation
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(500) : error 079: inconsistent return types (array & non-array)
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(92) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(92) : error 017: undefined symbol "IsAtEatATM"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(93) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(93) : error 017: undefined symbol "IsAtATM"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(179) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(179) : error 017: undefined symbol "IsAHitmanCar"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(180) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(180) : error 017: undefined symbol "IsAMullCar"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(181) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(181) : error 017: undefined symbol "SaveAccounts"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(182) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(182) : error 017: undefined symbol "oid"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(183) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(183) : error 017: undefined symbol "oid"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(185) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(185) : error 017: undefined symbol "HandyVer"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(186) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(186) : error 017: undefined symbol "HartzIV"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(187) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(187) : error 017: undefined symbol "Hotel"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(188) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(189) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(190) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(190) : error 017: undefined symbol "AddToBizzTill"
    C:\Users\Vladi\Desktop\Los Angeles Reallife\gamemodes\LosAngelesReallife.pwn(191) : error 029: invalid expression, assumed zero


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.


    M_Bot ist der Ausschnitt von dir und im Script: sind nur defines dooch ich weis vlt wo der fehler ist... hab bei mir alle gang fraktionen gestockt und vlt liegt dort der fehler ?





    stock PlayerInFrak(id) //Alle Gang Fraks { if(PlayerInfo[id][pLeader]==5 || PlayerInfo[id][pLeader]==6 || PlayerInfo[id][pLeader]==8 || PlayerInfo[id][pLeader]==13 ||) if(PlayerInfo[id][pMember]==5 || PlayerInfo[id][pMember]==6 || PlayerInfo[id][pMember]==8 || PlayerInfo[id][pMember]==13 ||) if(PlayerInfo[id][pLeader]==14 || PlayerInfo[id][pLeader]==15 || PlayerInfo[id][pLeader]==16 || PlayerInfo[id][pLeader]==17 ||) if(PlayerInfo[id][pMember]==14 || PlayerInfo[id][pMember]==15 || PlayerInfo[id][pMember]==16 || PlayerInfo[id][pMember]==17 ||) if(PlayerInfo[id][pLeader]==18 || PlayerInfo[id][pLeader]==19 || PlayerInfo[id][pLeader]==20 ||) if(PlayerInfo[id][pMember]==18 || PlayerInfo[id][pMember]==19 || PlayerInfo[id][pMember]==20 ||)
    }





    Hier hab mal ein Problem mit dem M_Bot und verstehe nicht warum:



    M_Bot:




    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : error 027: invalid character constant
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : warning 215: expression has no effect
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : error 001: expected token: ";", but found ")"
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.


    ///////////Ausschnitt////////////


    new File:BLACKLISTFILE = fopen("/M_Bot/M_Black.cfg", io_read); //Zeile 485
    if(BLACKLISTFILE)
    {
    while(fread(BLACKLISTFILE,read))
    {
    for(new x=0; x<strlen(read); x++)
    {
    if(read[x] == 'n')
    {
    read[x] = ' //Zeile 949

    So eh nun kommen fehler mit dem


    M_Bot:




    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : error 027: invalid character constant
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : warning 215: expression has no effect
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : error 001: expected token: ";", but found ")"
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : error 029: invalid expression, assumed zero
    C:\Users\Vladi\Desktop\LOSANG~1\pawno\include\M_Bot.inc(494) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.




    new File:BLACKLISTFILE = fopen("/M_Bot/M_Black.cfg", io_read); //Zeile 485
    if(BLACKLISTFILE)
    {
    while(fread(BLACKLISTFILE,read))
    {
    for(new x=0; x

    Ich weis nicht wie ich das sagen soll also ehm beim tie und untie befehl möchte ich gerne die auforgerrung setzten das der spieler in den angegeben Fraktionen Member oder Leader ist. Das sind alle Gang Fraktionen in meinem script. hab alles in eine zeile geschrieben und der compiler sagt das dies zu lang wäre. nun weis ich aber nicht wie ich die aufteilen soll um es in 3 zeilen hinzubekommen

    Hey, ich benutze das LA Script v1.0


    und ich wollte fragen wie ich dies hier richtig mache:


    http://pastebin.com/81tiv2mr




    Ich meine den auschnitt mit den



    • if(PlayerInfo[i][pLeader] == 5 || PlayerInfo[i][pMember] == 5 || PlayerInfo[i][pLeader] == 6 || PlayerInfo[i][pMember] == 6 || PlayerInfo[i][pLeader] == 8 || PlayerInfo[i][pMember] == 8 || PlayerInfo[i][pLeader] == 13);

    • else if(PlayerInfo[i][pMember] == 13 || PlayerInfo[i][pLeader] == 14 || PlayerInfo[i][pMember] == 14 || PlayerInfo[i][pLeader] == 15 || PlayerInfo[i][pMember] == 15 || PlayerInfo[i][pLeader] == 16 || PlayerInfo[i][pMember] == 16);

    • else if(PlayerInfo[i][pLeader] == 17 || PlayerInfo[i][pMember] == 17 || PlayerInfo[i][pLeader] == 18 || PlayerInfo[i][pMember] == 18 || PlayerInfo[i][pLeader] == 19 || PlayerInfo[i][pMember] == 19 || PlayerInfo[i][pLeader] == 20 || PlayerInfo[i][pMember] == 20);



      Also wie mache ich diese lines richtig untereinander da sie alle in einer großen zu lang für den compiler sind.


      Danke Voraus

    Huhu, habe das LoH 0.4 Script und habe eine frage zu den Autohäusern:


    Ich möchte die 0-2 Räder nach Counts und Schutz verschieben. Die Cars die dort sind erstmal rausnehmen.
    Alle Mittel-Billigen Cars nach Intercars und Die Teuren Nach Grottis. In SF sollen Mittel-Billigen zu Wangcars und Teuren Ottos (sind sie ja) nur in grottis sollen die selben sein ;D


    Oben
    #define AUTOHAUSER 5 // Anzahl der Autohäuser



    new dtcKaufliste[][dtcCarModell] = { //CARSYS//0 = 2 Räder {0,462,700}, //Faggio {0,581,7000}, //BF-400 {0,521,7400}, //FCR-900 {0,463,9000}, //Freeway {0,461,7300}, //PCJ-600 {0,468,7100}, //Sanchez {0,586,6500}, //Wayfarer {0,522,15000}, //NRG-500 {0,471,9500}, //Quad//1 = LS Studios (Mittel-Teuer) {1,533,8500}, //Feltzer {1,579,14000}, //Huntley {1,507,12000}, //Elegant {1,419,8000}, //Esperant {1,526,7000}, //Fortune {1,602,20000}, //Alpha {1,400,12000}, //Landstal {1,545,7300}, //Hustler {1,405,16000}, //Sentinel {1,445,16000}, //Admiral {1,475,12000}, //Sabre// 2 = LS Count & Schutz (Billige-Gang) {2,467,13000}, //Oceanic {2,536,7500}, //Blade {2,534,7000}, //Remigton {2,567,12000}, //Savanna {2,535,20000}, //Slamvan {2,412,7000}, //Voodo {2,518,7000}, //Buccanee {2,542,4000}, //Clover {2,496,8000}, //Blistac {2,587,18000}, //Euros//3 = SF WangCars (Mittel-Gemischt) {3,439,10000}, //Stallion {3,550,7500}, //Sunrise {3,540,7500}, //Vincent {3,404,6000}, //Peren {3,413,8500}, //Pony {3,458,7500}, //Solair {3,479,7500}, //Regina {3,440,8300}, //Rumpo {3,423,6000}, //Eiswagen (Mrwhoop) {3,483,8000}, //Camper {3,500,6700}, //Mesa {3,508,9000}, //Journey {3,554,16000}, //Yosemite {3,561,25000}, //Startum {3,489,18500}, //Rancher {3,543,4900}, //Sadler {3,442,7500}, //Leichenwagen {3,527,7100}, //Cadrona//4 = SF Otto (Luxus-Renn Wagen) {4,409,40000}, //Stretch {4,562,30000}, //Elegy {4,560,40000}, //Sultan {4,429,35000}, //Banshee {4,402,30000}, //Buffalo {4,541,50000}, //Bullet {4,415,47000}, //Cheetah {4,589,17000}, //Club {4,411,50000}, //Infernus {4,559,33000}, //Jester {4,603,17000}, //Phönix {4,506,35000}, //Supergt {4,451,45000}, //Turismo {4,558,20000}, //Uranus {4,477,39000}, //Zr350 {4,565,29000} //Flash};
    new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = { {//2Räder LS {2471.7231, -1558.3952, 23.5809, 0.0}, {2474.7231, -1558.3952, 23.5751, 0.0}, {2477.7231, -1558.3952, 23.5771, 0.0}, {2480.7231, -1558.3952, 23.5921, 0.0}, {2483.7231, -1558.3952, 23.6092, 0.0}, {2486.7231, -1558.3952, 23.6319, 0.0} }, {//LS Studio {743.0629, -1334.0764, 13.2483, 180.0}, {748.0629, -1334.0764, 13.2708, 180.0}, {753.0629, -1334.0764, 13.2483, 180.0}, {758.0629, -1334.0764, 13.2708, 180.0}, {763.0629, -1334.0764, 13.2708, 180.0}, {768.0629, -1334.0764, 13.2708, 180.0} }, {//LS CarSeller {2148.0617, -1138.3233, 25.1975, 270.0}, {2148.5222, -1143.1345, 24.6887, 270.0}, {2147.8491, -1148.3714, 24.1134, 270.0}, {2147.5104, -1152.7818, 23.6500, 270.0}, {2162.6025, -1143.5594, 24.5686, 90.0}, {2162.1083, -1148.1929, 24.0967, 90.0} }, {//SF WangCars {-1989.7611, 274.7534, 34.8779, 264.6156}, {-1989.5825, 269.7829, 34.8801, 267.2173}, {-1990.5858, 264.7871, 34.8799, 266.7876}, {-1990.8823, 261.4637, 34.8847, 269.7044}, {-1991.2576, 256.8243, 34.8771, 268.2578}, {-1992.4147, 251.5304, 34.8773, 265.7555} }, {//SF Otto {-1655.6544, 1314.9093, 6.7437, 135.0215}, {-1651.9338, 1311.1221, 6.7386, 135.3069}, {-1648.4603, 1307.6773, 6.7355, 134.1947}, {-1644.4732, 1304.8732, 6.7335, 134.7024}, {-1641.2857, 1300.8385, 6.7350, 133.8564}, {-1637.2679, 1297.7364, 6.7388, 134.7171} }};
    new Float:DtcSonstiges[AUTOHAUSER][5][4] = { {//2Räder LS {2471.0097, -1542.7354, 24.1628, 0.0}, // Info Zeichen etc. {2475.3952, -1537.1600, 28.6523, 340.2388}, // LiveView Car {2472.8505, -1533.2855, 29.0964, 0.0}, // LiveView Cam {2468.4548, -1534.1237, 29.1007, 0.0}, // LiveView Player {2470.8825, -1544.0834, 24.0406, 178.5745} // LiveView Player Exit }, {//LS Studio {750.7259, -1356.9744, 13.5000, 0.0}, // Info Zeichen etc. {740.5779, -1365.2796, 25.4192, 225.3830}, // LiveView Car {741.2583, -1370.9835, 25.6922, 0.0}, // LiveView Cam {741.7747, -1376.3156, 25.6922, 0.0}, // LiveView Player {753.6887, -1338.2799, 13.5320, 14.7941} // LiveView Player Exit }, {//LS CarSeller {2131.7124, -1151.0965, 24.0838, 0.0}, // Info Zeichen etc. {2131.7192, -1163.0882, 27.8755, 301.3163}, // LiveView Car {2133.0817, -1156.3632, 28.1484, 0.0}, // LiveView Cam {2133.0031, -1154.4589, 28.1484, 0.0}, // LiveView Player {2131.7634, -1148.4149, 24.3788, 359.2809} // LiveView Player Exit }, {//SF WangCars {-1952.7033, 305.9252, 35.4687, 0.0}, // Info Zeichen etc. {-1955.6175, 303.5680, 40.7522, 216.4390}, // LiveView Car {-1958.9270, 300.6989, 41.0470, 0.0}, // LiveView Cam {-1959.0230, 296.7452, 41.0470, 0.0}, // LiveView Player {-1954.0255, 304.5932, 35.4687, 135.2179} // LiveView Player Exit }, {//SF Otto {-1657.0843, 1210.9168, 7.2500, 0.0}, // Info Zeichen etc. {-1656.0672, 1206.6827, 20.8816, 326.4050}, // LiveView Car {-1655.7023, 1213.2756, 21.1562, 0.0}, // LiveView Cam {-1656.0598, 1216.6409, 21.1562, 0.0}, // LiveView Player {-1656.3897, 1213.1212, 7.2500, 342.5089} // LiveView Player Exit }};



    Halt wie gesagt.Wie soll ich das anstellen ? ;0

    =/ Kriege es net hin da ich mich mit Textdraws net so gut auskenne ... X.x
    und unter wiki:


    TextDrawSetString




    new Text:himessage;




    public OnGameModeInit(){ himessage = TextDrawCreate(1.0, 5.6, "Hi, how are you?"); return 1;}




    public OnPlayerConnect(playerid){ new newtext[41], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(newtext, sizeof(newtext), "Hi %s, how are you?", name); TextDrawSetString(himessage, newtext); TextDrawShowForPlayer(playerid, himessage); return 1;}



    ich Schätze mal bei GetPlayer() iwie Bankstand einfügen oder ? =o

    Hallo, Ich habe mal ein Problem ich hab jetzt mal nen Server erstellt und möchte eine Kontostand Anzeige(Unter die Geld Anzeige.) erstellen,
    habe aber keine Ahnung wie. Ich habe schon SuFu durchgesucht und gegoogelt aber nichts gefunden.


    Pls Help ^^ :)