Beiträge von Fabi.StaR

    Hir:


    Code
    [Wed Mar 13 21:10:55 2013] -------------------------[Wed Mar 13 21:10:55 2013]      Logging Started[Wed Mar 13 21:10:55 2013] -------------------------[Wed Mar 13 23:22:41 2013] -------------------------[Wed Mar 13 23:22:41 2013]      Logging Started[Wed Mar 13 23:22:41 2013] -------------------------[23:42:03] Plugin succesfully loaded![23:43:01] Plugin succesfully loaded![23:43:36] Plugin succesfully loaded![23:43:37] Plugin succesfully loaded![23:43:38] Plugin succesfully loaded![23:43:48] Plugin succesfully loaded![23:49:42] Plugin succesfully loaded![23:51:05] Plugin succesfully loaded![23:51:28] Plugin succesfully loaded![00:11:20] Plugin succesfully loaded![22:48:41]  [22:48:41] ---------------------------[22:48:41] MySQL Debugging activated (04/22/13)[22:48:41] ---------------------------[22:48:41]  [22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT * FROM `usercars` WEHRE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Besitzer` = 'Fabi.StaR'' at line 1)[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(CarID); - Escaped 5 characters to CarID.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT `CarID` FROM `usercars` WHERE `Besitzer` = 'Fabi.StaR') - Successfully executed.[22:49:27] >> mysql_store_result( Connection handle: 1 )[22:49:27] CMySQLHandler::StoreResult() - Result was stored.[22:49:27] >> mysql_fetch_int( Connection handle: 1 )[22:49:27] >> mysql_free_result( Connection handle: 1 )[22:49:27] CMySQLHandler::FreeResult() - Result was successfully free'd.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(PosX); - Escaped 4 characters to PosX.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:27] >> mysql_store_result( Connection handle: 1 )[22:49:27] CMySQLHandler::StoreResult() - No data to store.[22:49:27] >> mysql_fetch_float( Connection handle: 1 )[22:49:27] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:27] >> mysql_free_result( Connection handle: 1 )[22:49:27] CMySQLHandler::FreeResult() - The result is already empty.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(PosY); - Escaped 4 characters to PosY.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:27] >> mysql_store_result( Connection handle: 1 )[22:49:27] CMySQLHandler::StoreResult() - No data to store.[22:49:27] >> mysql_fetch_float( Connection handle: 1 )[22:49:27] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:27] >> mysql_free_result( Connection handle: 1 )[22:49:27] CMySQLHandler::FreeResult() - The result is already empty.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(PosZ); - Escaped 4 characters to PosZ.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:27] >> mysql_store_result( Connection handle: 1 )[22:49:27] CMySQLHandler::StoreResult() - No data to store.[22:49:27] >> mysql_fetch_float( Connection handle: 1 )[22:49:27] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:27] >> mysql_free_result( Connection handle: 1 )[22:49:27] CMySQLHandler::FreeResult() - The result is already empty.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(PosA); - Escaped 4 characters to PosA.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:27] >> mysql_store_result( Connection handle: 1 )[22:49:27] CMySQLHandler::StoreResult() - No data to store.[22:49:27] >> mysql_fetch_float( Connection handle: 1 )[22:49:27] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:27] >> mysql_free_result( Connection handle: 1 )[22:49:27] CMySQLHandler::FreeResult() - The result is already empty.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Farbe1); - Escaped 6 characters to Farbe1.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT `Farbe1` FROM `usercars` WHERE `Besitzer` = 'Fabi.StaR') - Successfully executed.[22:49:27] >> mysql_store_result( Connection handle: 1 )[22:49:27] CMySQLHandler::StoreResult() - Result was stored.[22:49:27] >> mysql_fetch_int( Connection handle: 1 )[22:49:27] >> mysql_free_result( Connection handle: 1 )[22:49:27] CMySQLHandler::FreeResult() - Result was successfully free'd.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Farbe2); - Escaped 6 characters to Farbe2.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:27] >> mysql_real_escape_string( Connection handle: 1 )[22:49:27] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:27] >> mysql_query( Connection handle: 1 )[22:49:27] CMySQLHandler::Query(SELECT `Farbe2` FROM `usercars` WHERE `Besitzer` = 'Fabi.StaR') - Successfully executed.[22:49:27] >> mysql_store_result( Connection handle: 1 )[22:49:27] CMySQLHandler::StoreResult() - Result was stored.[22:49:27] >> mysql_fetch_int( Connection handle: 1 )[22:49:27] >> mysql_free_result( Connection handle: 1 )[22:49:27] CMySQLHandler::FreeResult() - Result was successfully free'd.[22:49:38] >> mysql_query( Connection handle: 1 )[22:49:38] CMySQLHandler::Query(INSERT INTO `usercars` (`Besitzer`,`CarID`,`PosX`,`PosY`,`PosZ`,`PosA`,`Farbe1`,`Farbe2`) VALUE ('Fabi.StaR','2028.631103','132) - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''132' at line 1)[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(CarID); - Escaped 5 characters to CarID.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:38] >> mysql_query( Connection handle: 1 )[22:49:38] CMySQLHandler::Query(SELECT `CarID` FROM `usercars` WHERE `Besitzer` = 'Fabi.StaR') - Successfully executed.[22:49:38] >> mysql_store_result( Connection handle: 1 )[22:49:38] CMySQLHandler::StoreResult() - Result was stored.[22:49:38] >> mysql_fetch_int( Connection handle: 1 )[22:49:38] >> mysql_free_result( Connection handle: 1 )[22:49:38] CMySQLHandler::FreeResult() - Result was successfully free'd.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(PosX); - Escaped 4 characters to PosX.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:38] >> mysql_query( Connection handle: 1 )[22:49:38] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:38] >> mysql_store_result( Connection handle: 1 )[22:49:38] CMySQLHandler::StoreResult() - No data to store.[22:49:38] >> mysql_fetch_float( Connection handle: 1 )[22:49:38] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:38] >> mysql_free_result( Connection handle: 1 )[22:49:38] CMySQLHandler::FreeResult() - The result is already empty.[22:49:38] >> mysql_real_escape_string( Connection handle: 1 )[22:49:38] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(PosY); - Escaped 4 characters to PosY.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:39] >> mysql_query( Connection handle: 1 )[22:49:39] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:39] >> mysql_store_result( Connection handle: 1 )[22:49:39] CMySQLHandler::StoreResult() - No data to store.[22:49:39] >> mysql_fetch_float( Connection handle: 1 )[22:49:39] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:39] >> mysql_free_result( Connection handle: 1 )[22:49:39] CMySQLHandler::FreeResult() - The result is already empty.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(PosZ); - Escaped 4 characters to PosZ.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:39] >> mysql_query( Connection handle: 1 )[22:49:39] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:39] >> mysql_store_result( Connection handle: 1 )[22:49:39] CMySQLHandler::StoreResult() - No data to store.[22:49:39] >> mysql_fetch_float( Connection handle: 1 )[22:49:39] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:39] >> mysql_free_result( Connection handle: 1 )[22:49:39] CMySQLHandler::FreeResult() - The result is already empty.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(PosA); - Escaped 4 characters to PosA.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:39] >> mysql_query( Connection handle: 1 )[22:49:39] CMySQLHandler::Query(SELECT `80` FROM `117` WHERE `Besitzer` = 'Fabi.StaR') - An error has occured. (Error ID: 1146, Table 'autohaustest.117' doesn't exist)[22:49:39] >> mysql_store_result( Connection handle: 1 )[22:49:39] CMySQLHandler::StoreResult() - No data to store.[22:49:39] >> mysql_fetch_float( Connection handle: 1 )[22:49:39] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)[22:49:39] >> mysql_free_result( Connection handle: 1 )[22:49:39] CMySQLHandler::FreeResult() - The result is already empty.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Farbe1); - Escaped 6 characters to Farbe1.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:39] >> mysql_query( Connection handle: 1 )[22:49:39] CMySQLHandler::Query(SELECT `Farbe1` FROM `usercars` WHERE `Besitzer` = 'Fabi.StaR') - Successfully executed.[22:49:39] >> mysql_store_result( Connection handle: 1 )[22:49:39] CMySQLHandler::StoreResult() - Result was stored.[22:49:39] >> mysql_fetch_int( Connection handle: 1 )[22:49:39] >> mysql_free_result( Connection handle: 1 )[22:49:39] CMySQLHandler::FreeResult() - Result was successfully free'd.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(usercars); - Escaped 8 characters to usercars.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Farbe2); - Escaped 6 characters to Farbe2.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Besitzer); - Escaped 8 characters to Besitzer.[22:49:39] >> mysql_real_escape_string( Connection handle: 1 )[22:49:39] CMySQLHandler::EscapeString(Fabi.StaR); - Escaped 9 characters to Fabi.StaR.[22:49:39] >> mysql_query( Connection handle: 1 )[22:49:39] CMySQLHandler::Query(SELECT `Farbe2` FROM `usercars` WHERE `Besitzer` = 'Fabi.StaR') - Successfully executed.[22:49:39] >> mysql_store_result( Connection handle: 1 )[22:49:39] CMySQLHandler::StoreResult() - Result was stored.[22:49:39] >> mysql_fetch_int( Connection handle: 1 )[22:49:39] >> mysql_free_result( Connection handle: 1 )[22:49:39] CMySQLHandler::FreeResult() - Result was successfully free'd.

    Guten Tag,


    Wieso wird nix in die Tabbele eingeschrieben??


    hir der code:



    stock create_player_car(playerid,Float:pX,Float:pY,Float:pZ,Float:pA,c1,c2) {
    new query[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(query,128,"INSERT INTO `usercars` (`Besitzer`,`CarID`,`PosX`,`PosY`,`PosZ`,`PosA`,`Farbe1`,`Farbe2`) VALUES ('%s','%f','%f','%f','%f','%i','%i')", name,pX,pY,pZ,pA,c1,c2);
    mysql_query(query);
    return 1;
    }

    Warum werden die Daten in der Tabele nicht geuptatet? hir der code:


    SQL
    $eintrag = "INSERT INTO test
                        (Titel,ueberschrieft,text)
                            VALUES
                        ('$Titel','$ueber','$text')
    
    
                            WHERE ID = '0'";
                        $eintragen = mysql_query($eintrag);

    Gute Abend ich weiss zwar nicht ob es hir her gehöhrt aber egal.


    Ich hoffe mir kann jemand helfen unzwar habe ich probleme mit alert in einem php script hir der code mit erklärung:


    SQL
    echo "<script>alert('Falsches Password');</script>";//Das wird nicht angezeigt
                header('Location:index.php');//das wird ausgeführt


    Aber ich möchte das erst alert kommt und dann die weiter leitung


    ich bedanke mich bei jedem der mir helfen kann..

    GUten Abend ich bins Wieder mal :|,


    ehm ich habe folgendes problem wenn ich es so schreibe:


    Spoiler anzeigen
    new Sirene[MAX_VEHICLE][2];
    new UCL[MAX_VEHICLE];


    bekomme ich diese Errors:


    Code
    C:\Users\Fabian\Desktop\Mein Server\gamemodes\Selfmade.pwn(96) : error 017: undefined symbol "MAX_VEHICLE"
    C:\Users\Fabian\Desktop\Mein Server\gamemodes\Selfmade.pwn(97) : error 017: undefined symbol "MAX_VEHICLE"
    C:\Users\Fabian\Desktop\Mein Server\gamemodes\Selfmade.pwn(97) : error 009: invalid array size (negative, zero or out of bounds)
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    
    
    3 Errors.

    Hab es so geht aber nicht :/


    for(new car=0; car<sizeof(SAPDCAR); car++) {
    SAPDCAR[car][VEHID] = AddStaticVehicle(SAPDCAR[car][CarID],SAPDCAR[car][saX],SAPDCAR[car][saY],SAPDCAR[car][saZ],SAPDCAR[car][saA],0,1);
    if(SAPDCAR[car][SIRENE] == 1) {
    Sirene[0] = CreateObject(19419,-0.000000, -0.254999, 0.809999, 0.000000, 0.000000, 0.000000);
    AttachObjectToVehicle(Sirene[0], SAPDCAR[car][VEHID], -0.000000, -0.254999, 0.809999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    }
    }

    Guten Abend,


    Ich habe vor das immer das Object am fahrzeug ist aber irgendwie funkt das net hir der code:


    Spoiler anzeigen
    enum sacar {
    CarID,
    Float:saX,
    Float:saY,
    Float:saZ,
    Float:saA,
    VEHID,
    SIRENE
    };

    Spoiler anzeigen
    new SAPDCAR[3][sacar] = {
    {497,1550.6265,-1707.2272,28.5704,90.3057,-1,0},//HELI
    {497,1551.1014,-1643.9941,28.5803,89.9257,-1,0},//HELI
    {560,1089.7709,-1800.5479,13.3079,0.0098,-1,1}//SULTAN
    };

    Spoiler anzeigen
    OnGameModeInit:

    Spoiler anzeigen
    for(new car=0; car<sizeof(SAPDCAR); car++) {
    SAPDCAR[car][VEHID] = AddStaticVehicle(SAPDCAR[car][CarID],SAPDCAR[car][saX],SAPDCAR[car][saY],SAPDCAR[car][saZ],SAPDCAR[car][saA],0,1);
    if(SAPDCAR[car][SIRENE] == 1) {
    AttachObjectToVehicle(19419, SAPDCAR[car][VEHID], -0.000000, -0.254999, 0.809999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    }
    }

    Guten Abend,
    Ich habe grade eine Car enum gemacht und so und die cars werden nicht gespawnt :( hir der code:


    Spoiler anzeigen
    enum sacar {
    CarID,
    Float:saX,
    Float:saY,
    Float:saZ,
    Float:saA,
    VEHID
    };

    Spoiler anzeigen
    new SAPDCAR[2][sacar] = {
    {497,1550.6265,-1707.2272,28.5704,90.3057},
    {497,1551.1014,-1643.9941,28.5803,89.9257}
    };

    Spoiler anzeigen
    OnGameModeInit:

    Spoiler anzeigen
    for(new car=0; car<sizeof(SAPDCAR); car++) {
    SAPDCAR[car][VEHID] = AddStaticVehicle(SAPDCAR[car][VEHID],SAPDCAR[car][saX],SAPDCAR[car][saY],SAPDCAR[car][saZ],SAPDCAR[car][saA],0,1);
    }


    Danke jeden der mir helfen will und kann


    ps. Fabi.StaR