Beiträge von ScriptHelp

    Und wie lässt du das Speichern ?

    stock SaveCar(carid)
    {
    /*new query[200];
    format(query,sizeof(query),"UPDATE cars SET cVID='%i',cPreis='%i',cColor1='%i',cColor2='%i',cOwner='%s',cX='%f',cY='%f',cZ='%f',cA='%f',cFuel='%i',cFraktion='%i',cJob='%i',cZivil='%i' WHERE `cID` = '%i'",cInfo[carid][cVID],cInfo[carid][cPreis],cInfo[carid][cColor1],cInfo[carid][cColor2],cInfo[carid][cOwner],cInfo[carid][cX],cInfo[carid][cY],cInfo[carid][cZ],cInfo[carid][cA],cInfo[carid][cFuel],cInfo[carid][cFraktion],cInfo[carid][cJob],cInfo[carid][cZivil],carid);
    mysql_function_query(sqlHandle,query,false,"","");
    return 1;
    }*/


    new query[1000], result[1024];
    format(query, sizeof(query), "\
    `cVID` = '%i',\
    `cPreis` = '%i',\
    `cColor1` = '%i',\
    `cColor2` = '%i',\
    `cOwner` = '%s',\
    `cX` = '%f',\
    `cY` = '%f',\
    `cZ` = '%f',\
    `cA` = '%f',\
    `cFuel` = '%i',\
    `cFraktion` = '%i',\
    `cJob` = '%i',\
    `cZivil` = '%i'",
    cInfo[carid][cVID],
    cInfo[carid][cPreis],
    cInfo[carid][cColor1],
    cInfo[carid][cColor2],
    cInfo[carid][cOwner],
    cInfo[carid][cX],
    cInfo[carid][cY],
    cInfo[carid][cZ],
    cInfo[carid][cA],
    cInfo[carid][cFuel],
    cInfo[carid][cFraktion],
    cInfo[carid][cJob],
    cInfo[carid][cZivil]);
    format(result, sizeof(result), "\
    UPDATE `cars` SET %s WHERE `cID` = '%i'",
    query,
    carid);
    db_query(Database, result);
    return 1;
    }


    #push

    Heyho, kann mir jemand helfen? Ich wollte es so machen, dass wenn ein User disconnectet, sein Auto despawnt, doch wenn ich mich auslogge, ist das Fahrzeug komplett weg und wird auch nichtmehr im /carkey angezeigt.


    Ich möchte es gerne so haben:
    Spieler loggt sich ein = Privatfahrzeug/e spawnen
    Spieler loggt sich aus = Privatfahrzeug/e despawnen.



    Danke im Voraus

    Heyho, ich habe ein Problem mit der MYSQL-Datenbank, jedesmal wenn ich den Server hochfahren will kommt folgendes: [MYSQL]: Verbindung zur Datenbank .... fehlgeschlagen! (HOST:**************(die IP))


    mysql_log:


    [10:25:42] >> mysql_connect(................,(Datenbankdaten) ******) on port 3306
    [10:25:42] CMySQLHandler::CMySQLHandler() - constructor called.
    [10:25:42] CMySQLHandler::CMySQLHandler() - Connecting to "(IP)" | DB: "*****" | Username: "*****"
    [10:25:42] CMySQLHandler::Connect() - Connection was successful.
    [10:25:43] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.


    [10:25:43] >> mysql_errno( Connection handle: 1 )


    Danke im Voraus


    Die Datenbankdaten hab ich mit *** usw. ersetzt.

    pawno\include\M_Bot.inc(142) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(287) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "ammo"
    pawno\include\M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "weapon"
    pawno\include\M_Bot.inc(807) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\sscanf.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    (3620) : warning 219: local variable "string" shadows a variable at a preceding level
    (3657) : warning 219: local variable "string" shadows a variable at a preceding level
    (3735) : warning 219: local variable "string" shadows a variable at a preceding level
    (3763) : warning 219: local variable "string" shadows a variable at a preceding level
    (3830) : warning 219: local variable "string" shadows a variable at a preceding level
    (3926) : warning 219: local variable "string" shadows a variable at a preceding level
    (4231) : warning 219: local variable "string" shadows a variable at a preceding level
    (4810) : warning 219: local variable "string" shadows a variable at a preceding level
    (5127) : warning 219: local variable "string" shadows a variable at a preceding level
    (5165) : warning 219: local variable "string" shadows a variable at a preceding level
    (5175) : warning 219: local variable "string" shadows a variable at a preceding level
    (5196) : warning 219: local variable "string" shadows a variable at a preceding level
    (5291) : warning 219: local variable "string" shadows a variable at a preceding level
    (5306) : warning 219: local variable "string" shadows a variable at a preceding level
    (5353) : warning 219: local variable "string" shadows a variable at a preceding level
    (5368) : warning 219: local variable "string" shadows a variable at a preceding level
    (5421) : warning 219: local variable "string" shadows a variable at a preceding level
    (5623) : warning 216: nested comment
    (5706) : warning 204: symbol is assigned a value that is never used: "valid_shot"
    (5811) : warning 219: local variable "string" shadows a variable at a preceding level
    (5869) : warning 219: local variable "string" shadows a variable at a preceding level
    (6776) : warning 219: local variable "string" shadows a variable at a preceding level
    (7375) : warning 219: local variable "string" shadows a variable at a preceding level
    (7385) : warning 219: local variable "string" shadows a variable at a preceding level
    (7395) : warning 219: local variable "string" shadows a variable at a preceding level
    (7404) : warning 219: local variable "string" shadows a variable at a preceding level
    (7413) : warning 219: local variable "string" shadows a variable at a preceding level
    (7422) : warning 219: local variable "string" shadows a variable at a preceding level
    (7431) : warning 219: local variable "string" shadows a variable at a preceding level
    (7440) : warning 219: local variable "string" shadows a variable at a preceding level
    (7449) : warning 219: local variable "string" shadows a variable at a preceding level
    (7460) : warning 219: local variable "string" shadows a variable at a preceding level
    (8857) : warning 216: nested comment
    (8876) : warning 216: nested comment
    (9247) : warning 219: local variable "string" shadows a variable at a preceding level
    (10423) : warning 219: local variable "string" shadows a variable at a preceding level
    (11317) : warning 219: local variable "string" shadows a variable at a preceding level
    (11365) : warning 219: local variable "string" shadows a variable at a preceding level
    (11402) : warning 219: local variable "string" shadows a variable at a preceding level
    (11888) : warning 219: local variable "string" shadows a variable at a preceding level
    (13158) : warning 219: local variable "string" shadows a variable at a preceding level
    (19163) : warning 219: local variable "string" shadows a variable at a preceding level
    (19322) : warning 219: local variable "string" shadows a variable at a preceding level
    (19384) : warning 219: local variable "string" shadows a variable at a preceding level
    (20193) : warning 219: local variable "string" shadows a variable at a preceding level
    (20231) : warning 219: local variable "string" shadows a variable at a preceding level
    (20269) : warning 219: local variable "string" shadows a variable at a preceding level
    (20507) : warning 219: local variable "string" shadows a variable at a preceding level
    (20514) : warning 219: local variable "string" shadows a variable at a preceding level
    (20530) : warning 219: local variable "string" shadows a variable at a preceding level
    (20547) : warning 219: local variable "string" shadows a variable at a preceding level
    (20561) : warning 219: local variable "string" shadows a variable at a preceding level
    (20575) : warning 219: local variable "string" shadows a variable at a preceding level
    (20589) : warning 219: local variable "string" shadows a variable at a preceding level
    (20603) : warning 219: local variable "string" shadows a variable at a preceding level
    (20617) : warning 219: local variable "string" shadows a variable at a preceding level
    (20634) : warning 219: local variable "string" shadows a variable at a preceding level
    (20648) : warning 219: local variable "string" shadows a variable at a preceding level
    (20662) : warning 219: local variable "string" shadows a variable at a preceding level
    (20677) : warning 219: local variable "string" shadows a variable at a preceding level
    (20705) : warning 219: local variable "string" shadows a variable at a preceding level
    (20719) : warning 219: local variable "string" shadows a variable at a preceding level
    (20781) : warning 219: local variable "string" shadows a variable at a preceding level
    (20857) : warning 219: local variable "pID" shadows a variable at a preceding level
    (20977) : warning 219: local variable "pID" shadows a variable at a preceding level
    (21034) : warning 219: local variable "string" shadows a variable at a preceding level
    (41850) : error 047: array sizes do not match, or destination array is too small
    (41896) : error 047: array sizes do not match, or destination array is too small
    (53327) : warning 219: local variable "string" shadows a variable at a preceding level
    (53421) : warning 219: local variable "string" shadows a variable at a preceding level
    (53611) : warning 219: local variable "string" shadows a variable at a preceding level
    (55870) : warning 219: local variable "string" shadows a variable at a preceding level
    (55927) : warning 219: local variable "string" shadows a variable at a preceding level
    (55956) : warning 219: local variable "string" shadows a variable at a preceding level
    (55973) : warning 219: local variable "string" shadows a variable at a preceding level
    (55990) : warning 219: local variable "string" shadows a variable at a preceding level
    (56256) : warning 219: local variable "string" shadows a variable at a preceding level
    (56416) : warning 219: local variable "string" shadows a variable at a preceding level
    (56446) : warning 219: local variable "string" shadows a variable at a preceding level
    (56481) : warning 219: local variable "string" shadows a variable at a preceding level
    (56510) : warning 219: local variable "string" shadows a variable at a preceding level
    (56569) : warning 219: local variable "string" shadows a variable at a preceding level
    (58748) : warning 219: local variable "string" shadows a variable at a preceding level
    (60388) : warning 219: local variable "string" shadows a variable at a preceding level
    (62314) : warning 219: local variable "string" shadows a variable at a preceding level
    (62592) : warning 219: local variable "string" shadows a variable at a preceding level
    (62595) : warning 219: local variable "sHealth" shadows a variable at a preceding level
    (62595) : warning 219: local variable "sArmor" shadows a variable at a preceding level
    (62615) : warning 219: local variable "pID" shadows a variable at a preceding level
    (63077) : warning 219: local variable "string" shadows a variable at a preceding level
    (63133) : warning 219: local variable "string" shadows a variable at a preceding level
    (63311) : warning 219: local variable "string" shadows a variable at a preceding level
    (63479) : warning 219: local variable "pID" shadows a variable at a preceding level
    (63526) : warning 219: local variable "string" shadows a variable at a preceding level
    (63758) : warning 219: local variable "string" shadows a variable at a preceding level
    (64448) : warning 219: local variable "string" shadows a variable at a preceding level
    (65252) : warning 219: local variable "string" shadows a variable at a preceding level
    (65275) : warning 219: local variable "string" shadows a variable at a preceding level
    (65430) : warning 219: local variable "pID" shadows a variable at a preceding level
    (65430) : warning 219: local variable "string" shadows a variable at a preceding level
    (65448) : warning 219: local variable "pID" shadows a variable at a preceding level
    (65448) : warning 219: local variable "string" shadows a variable at a preceding level
    (65490) : warning 219: local variable "string" shadows a variable at a preceding level
    (65491) : error 021: symbol already defined: "strtok"
    (65506) : error 047: array sizes do not match, or destination array is too small
    (65926) : warning 216: nested comment
    (65970) : warning 216: nested comment
    (65975) : error 054: unmatched closing brace ("}")
    (66041) : warning 216: nested comment
    (67327) : warning 219: local variable "string" shadows a variable at a preceding level
    (67328) : error 021: symbol already defined: "StripNewLine"
    (67497) : warning 219: local variable "string" shadows a variable at a preceding level
    (67600) : warning 219: local variable "pID" shadows a variable at a preceding level
    (67600) : warning 219: local variable "string" shadows a variable at a preceding level
    (67628) : warning 219: local variable "string" shadows a variable at a preceding level
    (67699) : warning 219: local variable "string" shadows a variable at a preceding level
    (67720) : warning 219: local variable "string" shadows a variable at a preceding level
    (67765) : warning 219: local variable "string" shadows a variable at a preceding level
    (67891) : warning 219: local variable "string" shadows a variable at a preceding level
    (67938) : warning 219: local variable "string" shadows a variable at a preceding level
    (67974) : warning 219: local variable "string" shadows a variable at a preceding level
    (67993) : warning 219: local variable "string" shadows a variable at a preceding level
    (68092) : warning 219: local variable "string" shadows a variable at a preceding level
    (68318) : warning 219: local variable "pID" shadows a variable at a preceding level
    (68318) : warning 219: local variable "string" shadows a variable at a preceding level
    (68390) : warning 219: local variable "string" shadows a variable at a preceding level
    (68428) : warning 219: local variable "pID" shadows a variable at a preceding level
    (68428) : warning 219: local variable "string" shadows a variable at a preceding level
    (68551) : warning 219: local variable "string" shadows a variable at a preceding level
    (68576) : warning 219: local variable "string" shadows a variable at a preceding level
    (68578) : error 017: undefined symbol "IsValidVehicle"
    (68603) : error 010: invalid function or declaration
    (68605) : error 010: invalid function or declaration
    (68608) : error 010: invalid function or declaration
    (68611) : error 010: invalid function or declaration
    (68613) : error 021: symbol already defined: "TogglePlayerSpectating"
    (68615) : error 008: must be a constant expression; assumed zero
    (68615) : error 021: symbol already defined: "M_SetPlayerPos"
    (68619) : error 054: unmatched closing brace ("}")
    (68620) : error 010: invalid function or declaration
    (68622) : error 010: invalid function or declaration
    (68623) : error 010: invalid function or declaration
    (68626) : error 021: symbol already defined: "GetPlayerHealth"
    (68629) : error 010: invalid function or declaration
    (68632) : error 021: symbol already defined: "SetPlayerVirtualWorld"
    (68635) : error 010: invalid function or declaration
    (68638) : error 021: symbol already defined: "GetPlayerPos"
    (68641) : error 010: invalid function or declaration
    (68642) : error 010: invalid function or declaration
    (68644) : error 010: invalid function or declaration


    26 Errors weiterhin


    need help.

    pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(142) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(287) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "ammo"
    pawno\include\M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "weapon"
    C\pawno\include\M_Bot.inc(807) : warning 219: local variable "string" shadows a variable at a preceding level
    \pawno\include\a_mysql.inc(41) : error 021: symbol already defined: "mysql_affected_rows"
    \pawno\include\a_mysql.inc(42) : error 021: symbol already defined: "mysql_close"
    \pawno\include\a_mysql.inc(43) : error 021: symbol already defined: "mysql_connect"
    \pawno\include\a_mysql.inc(43) : error 025: function heading differs from prototype
    \pawno\include\a_mysql.inc(43) : error 025: function heading differs from prototype
    \pawno\include\a_mysql.inc(43) : fatal error 107: too many error messages on one line


    6 Errors.


    Kann jemand helfen?

    Deine new Items

    pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(142) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(287) : warning 219: local variable "string" shadows a variable at a preceding level
    pawno\include\M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "ammo"
    pawno\include\M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "weapon"
    pawno\include\M_Bot.inc(807) : warning 219: local variable "string" shadows a variable at a preceding level
    (231) : warning 213: tag mismatch
    (231) : warning 227: more initiallers than enum fields
    (231) : warning 213: tag mismatch
    (231) : warning 227: more initiallers than enum fields
    (231) : warning 213: tag mismatch
    (231) : error 001: expected token: "}", but found "-string-"
    (250) : error 010: invalid function or declaration
    (3620) : warning 219: local variable "string" shadows a variable at a preceding level
    (3657) : warning 219: local variable "string" shadows a variable at a preceding level
    (3735) : warning 219: local variable "string" shadows a variable at a preceding level
    (3763) : warning 219: local variable "string" shadows a variable at a preceding level
    (3830) : warning 219: local variable "string" shadows a variable at a preceding level
    (3926) : warning 219: local variable "string" shadows a variable at a preceding level
    (4231) : warning 219: local variable "string" shadows a variable at a preceding level
    (4810) : warning 219: local variable "string" shadows a variable at a preceding level
    (5127) : warning 219: local variable "string" shadows a variable at a preceding level
    (5165) : warning 219: local variable "string" shadows a variable at a preceding level
    (5175) : warning 219: local variable "string" shadows a variable at a preceding level
    (5196) : warning 219: local variable "string" shadows a variable at a preceding level
    (5291) : warning 219: local variable "string" shadows a variable at a preceding level
    (5306) : warning 219: local variable "string" shadows a variable at a preceding level
    (5353) : warning 219: local variable "string" shadows a variable at a preceding level
    (5368) : warning 219: local variable "string" shadows a variable at a preceding level
    (5421) : warning 219: local variable "string" shadows a variable at a preceding level
    (5809) : warning 219: local variable "string" shadows a variable at a preceding level
    (5867) : warning 219: local variable "string" shadows a variable at a preceding level
    (6774) : warning 219: local variable "string" shadows a variable at a preceding level
    (7373) : warning 219: local variable "string" shadows a variable at a preceding level
    (7383) : warning 219: local variable "string" shadows a variable at a preceding level
    (7393) : warning 219: local variable "string" shadows a variable at a preceding level
    (7402) : warning 219: local variable "string" shadows a variable at a preceding level
    (7411) : warning 219: local variable "string" shadows a variable at a preceding level
    (7420) : warning 219: local variable "string" shadows a variable at a preceding level
    (7429) : warning 219: local variable "string" shadows a variable at a preceding level
    (7438) : warning 219: local variable "string" shadows a variable at a preceding level
    (7447) : warning 219: local variable "string" shadows a variable at a preceding level
    (7458) : warning 219: local variable "string" shadows a variable at a preceding level
    (9245) : warning 219: local variable "string" shadows a variable at a preceding level
    (10421) : warning 219: local variable "string" shadows a variable at a preceding level
    (11315) : warning 219: local variable "string" shadows a variable at a preceding level
    (11363) : warning 219: local variable "string" shadows a variable at a preceding level
    (11400) : warning 219: local variable "string" shadows a variable at a preceding level
    (11886) : warning 219: local variable "string" shadows a variable at a preceding level
    (13156) : warning 219: local variable "string" shadows a variable at a preceding level
    (19161) : warning 219: local variable "string" shadows a variable at a preceding level
    (19320) : warning 219: local variable "string" shadows a variable at a preceding level
    (19382) : warning 219: local variable "string" shadows a variable at a preceding level
    (20191) : warning 219: local variable "string" shadows a variable at a preceding level
    (20229) : warning 219: local variable "string" shadows a variable at a preceding level
    (20267) : warning 219: local variable "string" shadows a variable at a preceding level
    (20505) : warning 219: local variable "string" shadows a variable at a preceding level
    (20512) : warning 219: local variable "string" shadows a variable at a preceding level
    (20528) : warning 219: local variable "string" shadows a variable at a preceding level
    (20545) : warning 219: local variable "string" shadows a variable at a preceding level
    (20559) : warning 219: local variable "string" shadows a variable at a preceding level
    (20573) : warning 219: local variable "string" shadows a variable at a preceding level
    (20587) : warning 219: local variable "string" shadows a variable at a preceding level
    (20601) : warning 219: local variable "string" shadows a variable at a preceding level
    (20615) : warning 219: local variable "string" shadows a variable at a preceding level
    (20632) : warning 219: local variable "string" shadows a variable at a preceding level
    (20646) : warning 219: local variable "string" shadows a variable at a preceding level
    (20660) : warning 219: local variable "string" shadows a variable at a preceding level
    (20675) : warning 219: local variable "string" shadows a variable at a preceding level
    (20703) : warning 219: local variable "string" shadows a variable at a preceding level
    (20717) : warning 219: local variable "string" shadows a variable at a preceding level
    (20779) : warning 219: local variable "string" shadows a variable at a preceding level
    (20855) : warning 219: local variable "pID" shadows a variable at a preceding level
    (20975) : warning 219: local variable "pID" shadows a variable at a preceding level
    (21032) : warning 219: local variable "string" shadows a variable at a preceding level
    (41848) : error 047: array sizes do not match, or destination array is too small
    (41894) : error 047: array sizes do not match, or destination array is too small
    (53325) : warning 219: local variable "string" shadows a variable at a preceding level
    (53419) : warning 219: local variable "string" shadows a variable at a preceding level
    (53609) : warning 219: local variable "string" shadows a variable at a preceding level
    (55868) : warning 219: local variable "string" shadows a variable at a preceding level
    (55925) : warning 219: local variable "string" shadows a variable at a preceding level
    (55954) : warning 219: local variable "string" shadows a variable at a preceding level
    (55971) : warning 219: local variable "string" shadows a variable at a preceding level
    (55988) : warning 219: local variable "string" shadows a variable at a preceding level
    (56254) : warning 219: local variable "string" shadows a variable at a preceding level
    (56414) : warning 219: local variable "string" shadows a variable at a preceding level
    (56444) : warning 219: local variable "string" shadows a variable at a preceding level
    (56479) : warning 219: local variable "string" shadows a variable at a preceding level
    (56508) : warning 219: local variable "string" shadows a variable at a preceding level
    (56567) : warning 219: local variable "string" shadows a variable at a preceding level
    (58746) : warning 219: local variable "string" shadows a variable at a preceding level
    (60386) : warning 219: local variable "string" shadows a variable at a preceding level
    (62312) : warning 219: local variable "string" shadows a variable at a preceding level
    (62590) : warning 219: local variable "string" shadows a variable at a preceding level
    (62593) : warning 219: local variable "sHealth" shadows a variable at a preceding level
    (62593) : warning 219: local variable "sArmor" shadows a variable at a preceding level
    (62613) : warning 219: local variable "pID" shadows a variable at a preceding level
    (63075) : warning 219: local variable "string" shadows a variable at a preceding level
    (63131) : warning 219: local variable "string" shadows a variable at a preceding level
    (63309) : warning 219: local variable "string" shadows a variable at a preceding level
    (63477) : warning 219: local variable "pID" shadows a variable at a preceding level
    (63524) : warning 219: local variable "string" shadows a variable at a preceding level
    (63756) : warning 219: local variable "string" shadows a variable at a preceding level
    (64446) : warning 219: local variable "string" shadows a variable at a preceding level
    (65250) : warning 219: local variable "string" shadows a variable at a preceding level
    (65273) : warning 219: local variable "string" shadows a variable at a preceding level
    (65428) : warning 219: local variable "pID" shadows a variable at a preceding level
    (65428) : warning 219: local variable "string" shadows a variable at a preceding level
    (65446) : warning 219: local variable "pID" shadows a variable at a preceding level
    (65446) : warning 219: local variable "string" shadows a variable at a preceding level
    (65488) : warning 219: local variable "string" shadows a variable at a preceding level
    (65489) : error 021: symbol already defined: "strtok"
    (65504) : error 047: array sizes do not match, or destination array is too small
    (66488) : warning 219: local variable "string" shadows a variable at a preceding level
    (66519) : warning 219: local variable "string" shadows a variable at a preceding level
    (67326) : warning 219: local variable "string" shadows a variable at a preceding level
    (67327) : error 021: symbol already defined: "StripNewLine"
    (67407) : warning 219: local variable "string" shadows a variable at a preceding level
    (67450) : error 017: undefined symbol "mysql_num_rows"
    (67496) : warning 219: local variable "string" shadows a variable at a preceding level
    (67599) : warning 219: local variable "pID" shadows a variable at a preceding level
    (67599) : warning 219: local variable "string" shadows a variable at a preceding level
    (67627) : warning 219: local variable "string" shadows a variable at a preceding level
    (67698) : warning 219: local variable "string" shadows a variable at a preceding level
    (67719) : warning 219: local variable "string" shadows a variable at a preceding level
    (67764) : warning 219: local variable "string" shadows a variable at a preceding level
    (67890) : warning 219: local variable "string" shadows a variable at a preceding level
    (67937) : warning 219: local variable "string" shadows a variable at a preceding level
    (67973) : warning 219: local variable "string" shadows a variable at a preceding level
    (67992) : warning 219: local variable "string" shadows a variable at a preceding level
    (68091) : warning 219: local variable "string" shadows a variable at a preceding level
    (68317) : warning 219: local variable "pID" shadows a variable at a preceding level
    (68317) : warning 219: local variable "string" shadows a variable at a preceding level
    (68389) : warning 219: local variable "string" shadows a variable at a preceding level
    (68427) : warning 219: local variable "pID" shadows a variable at a preceding level
    (68427) : warning 219: local variable "string" shadows a variable at a preceding level
    (68550) : warning 219: local variable "string" shadows a variable at a preceding level
    (68575) : warning 219: local variable "string" shadows a variable at a preceding level
    (68577) : error 017: undefined symbol "IsValidVehicle"
    (68602) : error 010: invalid function or declaration
    (68604) : error 010: invalid function or declaration
    (68607) : error 010: invalid function or declaration
    (68610) : error 010: invalid function or declaration
    (68612) : error 021: symbol already defined: "TogglePlayerSpectating"
    (68614) : error 008: must be a constant expression; assumed zero
    (68614) : error 021: symbol already defined: "M_SetPlayerPos"
    (68618) : error 054: unmatched closing brace ("}")
    (68619) : error 010: invalid function or declaration
    (68621) : error 010: invalid function or declaration
    (68622) : error 010: invalid function or declaration
    (68625) : error 021: symbol already defined: "GetPlayerHealth"
    (68628) : error 010: invalid function or declaration
    (68631) : error 021: symbol already defined: "SetPlayerVirtualWorld"
    (68634) : error 010: invalid function or declaration
    (68637) : error 021: symbol already defined: "GetPlayerPos"
    (68640) : error 010: invalid function or declaration
    (neue Errors)


    26 Errors.



    new items:
    new Items[][enum_Items] =
    {
    {0, ITEM_TYPE_NORMAL,19382, "Nichts", 0,false,0.0,0.0,0.0,0.0 "N/A"},
    {1, ITEM_TYPE_HELMET, 18645, "Helm", 1,true,0.000000, 0.000000, 0.000000, 1.000000 "Mit einem Helm bist du vor Kopfschuessen sicher!"},
    {2, ITEM_TYPE_WEAPON, 348, "Deagle", 1, true,0.000000, -30.00000, 0.000000, 1.200000 "N/A"},
    {3, ITEM_TYPE_WEAPON, 356, "M4", 1, true,0.000000, -30.00000, 0.000000, 2.200000 "N/A"},
    {4, ITEM_TYPE_AMMO, 2061, "Munition",1500, true,0.000000, 0.000000, 0.000000, 2.000000 "N/A"},
    {5, ITEM_TYPE_WEAPON, 344, "Molotov", 5, true,0.000000, 0.000000, 0.000000, 1.000000"N/A"},
    {6, ITEM_TYPE_BODY, 19142, "Weste", 1, true,0.000000, 0.000000, 0.000000, 1.000000 "N/A"},
    {7, ITEM_TYPE_BACKPACK, 3026, "Rucksack",1, true,0.000000, 0.000000, 0.000000, 1.000000 "N/A"},
    {8, ITEM_TYPE_BACKPACK, 3026, "Großer Rucksack",1, true,0.000000, 0.000000, 0.000000, 1.000000 "N/A"},
    {9, ITEM_TYPE_WEAPON, 355, "AK-47", 1, true,0.000000, -30.00000, 0.000000, 2.200000 "N/A"},
    {10, ITEM_TYPE_WEAPON, 349, "Shotgun", 1, true,0.000000, -30.00000, 0.000000, 2.200000 "N/A"},
    {11, ITEM_TYPE_MELEEWEAPON, 335, "Messer", 1, true,0.000000, -30.00000, 0.000000, 2.200000 "N/A"},
    {12, ITEM_TYPE_MELEEWEAPON, 334, "Knueppel", 1, true,0.000000, -30.00000, 0.000000, 1.500000 "N/A"},
    {13, ITEM_TYPE_WEAPON, 352, "Uzi", 1, true,0.000000, -30.00000, 0.000000, 1.200000 "N/A"},
    {14, ITEM_TYPE_WEAPON, 347, "Usp", 1, true,0.000000, -30.00000, 0.000000, 1.200000 "N/A"},
    {15, ITEM_TYPE_WEAPON, 353, "MP5", 1, true,0.000000, -30.00000, 0.000000, 2.200000 "N/A"},
    {16, ITEM_TYPE_WEAPON, 358, "Sniper", 1, true,0.000000, -30.00000, 0.000000, 2.200000 "N/A"},
    {17, ITEM_TYPE_WEAPON, 342, "Granate", 5, true,0.000000, 0.000000, 0.000000, 1.000000"N/A"},
    {18, ITEM_TYPE_NORMAL, 11738, "Medic Kit", 5, true,0.000000, 0.000000, 0.000000, 1.000000 "N/A"}
    };

    Wie schon gesagt bei den Koordinaten sind keine Klammern nötig.
    Habs bei mir auch so:
    {1,"Grove Street","Dieses Haus Gehört: \nGrove Street Family",202.9523,-147.4619,1.5859,344.6406,305.3377,999.1484,344.6406,305.3377,999.1484,6}

    Nabend, jo das hatte ich schon entfernt immernoch treten diese Errors weiterhin auf. Hab mal die ganzen Errors rein gepostet, evtl liegt noch iwo auf einer anderen Zeile ein Klammerfehler, falls du eine Zeile brauchst mit der du mir evtl weiter helfen könntest, dann sag dann poste ich sie dir.

    /e: Die Errors:


    \dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
    \dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
    \dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
    \dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    \dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
    \dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
    \utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    \M_Bot.inc(142) : warning 219: local variable "string" shadows a variable at a preceding level
    \M_Bot.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    \M_Bot.inc(287) : warning 219: local variable "string" shadows a variable at a preceding level
    \M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "ammo"
    \M_Bot.inc(528) : warning 204: symbol is assigned a value that is never used: "weapon"
    \M_Bot.inc(807) : warning 219: local variable "string" shadows a variable at a preceding level
    \sscanf.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    \GetVehicleColor.inc(13) : warning 219: local variable "string" shadows a variable at a preceding level
    \GetVehicleColor.inc(27) : warning 219: local variable "string" shadows a variable at a preceding level
    \GetVehicleColor.inc(41) : warning 219: local variable "string" shadows a variable at a preceding level
    \GetVehicleColor.inc(60) : warning 219: local variable "string" shadows a variable at a preceding level
    \GetVehicleColor.inc(71) : warning 219: local variable "string" shadows a variable at a preceding level
    \GetVehicleColor.inc(88) : warning 219: local variable "string" shadows a variable at a preceding level
    (2000) : error 021: symbol already defined: "MoneySpam"
    (3621) : warning 219: local variable "string" shadows a variable at a preceding level
    (3658) : warning 219: local variable "string" shadows a variable at a preceding level
    (3736) : warning 219: local variable "string" shadows a variable at a preceding level
    (3764) : warning 219: local variable "string" shadows a variable at a preceding level
    (3831) : warning 219: local variable "string" shadows a variable at a preceding level
    (3927) : warning 219: local variable "string" shadows a variable at a preceding level
    (4232) : warning 219: local variable "string" shadows a variable at a preceding level
    (4811) : warning 219: local variable "string" shadows a variable at a preceding level
    (5129) : warning 219: local variable "string" shadows a variable at a preceding level
    (5167) : warning 219: local variable "string" shadows a variable at a preceding level
    (5177) : warning 219: local variable "string" shadows a variable at a preceding level
    (5198) : warning 219: local variable "string" shadows a variable at a preceding level
    (5293) : warning 219: local variable "string" shadows a variable at a preceding level
    (5308) : warning 219: local variable "string" shadows a variable at a preceding level
    (5355) : warning 219: local variable "string" shadows a variable at a preceding level
    (5370) : warning 219: local variable "string" shadows a variable at a preceding level
    (5423) : warning 219: local variable "string" shadows a variable at a preceding level
    (5811) : warning 219: local variable "string" shadows a variable at a preceding level
    (5869) : warning 219: local variable "string" shadows a variable at a preceding level
    (6777) : warning 219: local variable "string" shadows a variable at a preceding level
    (7376) : warning 219: local variable "string" shadows a variable at a preceding level
    (7386) : warning 219: local variable "string" shadows a variable at a preceding level
    (7396) : warning 219: local variable "string" shadows a variable at a preceding level
    (7405) : warning 219: local variable "string" shadows a variable at a preceding level
    (7414) : warning 219: local variable "string" shadows a variable at a preceding level
    (7423) : warning 219: local variable "string" shadows a variable at a preceding level
    (7432) : warning 219: local variable "string" shadows a variable at a preceding level
    (7441) : warning 219: local variable "string" shadows a variable at a preceding level
    (7450) : warning 219: local variable "string" shadows a variable at a preceding level
    (7461) : warning 219: local variable "string" shadows a variable at a preceding level
    (9248) : warning 219: local variable "string" shadows a variable at a preceding level
    (10424) : warning 219: local variable "string" shadows a variable at a preceding level
    (11318) : warning 219: local variable "string" shadows a variable at a preceding level
    (11366) : warning 219: local variable "string" shadows a variable at a preceding level
    (11403) : warning 219: local variable "string" shadows a variable at a preceding level
    (11889) : warning 219: local variable "string" shadows a variable at a preceding level
    (13159) : warning 219: local variable "string" shadows a variable at a preceding level
    (19164) : warning 219: local variable "string" shadows a variable at a preceding level
    (19323) : warning 219: local variable "string" shadows a variable at a preceding level
    (19385) : warning 219: local variable "string" shadows a variable at a preceding level
    (19694) : error 017: undefined symbol "mysql_query"
    (20194) : warning 219: local variable "string" shadows a variable at a preceding level
    (20232) : warning 219: local variable "string" shadows a variable at a preceding level
    (20270) : warning 219: local variable "string" shadows a variable at a preceding level
    (20508) : warning 219: local variable "string" shadows a variable at a preceding level
    (20515) : warning 219: local variable "string" shadows a variable at a preceding level
    (20531) : warning 219: local variable "string" shadows a variable at a preceding level
    (20548) : warning 219: local variable "string" shadows a variable at a preceding level
    (20562) : warning 219: local variable "string" shadows a variable at a preceding level
    (20576) : warning 219: local variable "string" shadows a variable at a preceding level
    (20590) : warning 219: local variable "string" shadows a variable at a preceding level
    (20604) : warning 219: local variable "string" shadows a variable at a preceding level
    (20618) : warning 219: local variable "string" shadows a variable at a preceding level
    (20635) : warning 219: local variable "string" shadows a variable at a preceding level
    (20649) : warning 219: local variable "string" shadows a variable at a preceding level
    (20663) : warning 219: local variable "string" shadows a variable at a preceding level
    (20678) : warning 219: local variable "string" shadows a variable at a preceding level
    (20706) : warning 219: local variable "string" shadows a variable at a preceding level
    (20720) : warning 219: local variable "string" shadows a variable at a preceding level
    (20782) : warning 219: local variable "string" shadows a variable at a preceding level
    (20858) : warning 219: local variable "pID" shadows a variable at a preceding level
    (20978) : warning 219: local variable "pID" shadows a variable at a preceding level
    (21035) : warning 219: local variable "string" shadows a variable at a preceding level
    (53328) : warning 219: local variable "string" shadows a variable at a preceding level
    (53422) : warning 219: local variable "string" shadows a variable at a preceding level
    (53612) : warning 219: local variable "string" shadows a variable at a preceding level
    (55871) : warning 219: local variable "string" shadows a variable at a preceding level
    (55928) : warning 219: local variable "string" shadows a variable at a preceding level
    (55957) : warning 219: local variable "string" shadows a variable at a preceding level
    (55974) : warning 219: local variable "string" shadows a variable at a preceding level
    (55991) : warning 219: local variable "string" shadows a variable at a preceding level
    (56257) : warning 219: local variable "string" shadows a variable at a preceding level
    (56417) : warning 219: local variable "string" shadows a variable at a preceding level
    (56447) : warning 219: local variable "string" shadows a variable at a preceding level
    (56482) : warning 219: local variable "string" shadows a variable at a preceding level
    (56511) : warning 219: local variable "string" shadows a variable at a preceding level
    (56570) : warning 219: local variable "string" shadows a variable at a preceding level
    (58749) : warning 219: local variable "string" shadows a variable at a preceding level
    (60389) : warning 219: local variable "string" shadows a variable at a preceding level
    (62315) : warning 219: local variable "string" shadows a variable at a preceding level
    (62593) : warning 219: local variable "string" shadows a variable at a preceding level
    (62596) : warning 219: local variable "sHealth" shadows a variable at a preceding level
    (62596) : warning 219: local variable "sArmor" shadows a variable at a preceding level
    (62616) : warning 219: local variable "pID" shadows a variable at a preceding level
    (63078) : warning 219: local variable "string" shadows a variable at a preceding level
    (63134) : warning 219: local variable "string" shadows a variable at a preceding level
    (63312) : warning 219: local variable "string" shadows a variable at a preceding level
    (63480) : warning 219: local variable "pID" shadows a variable at a preceding level
    (63527) : warning 219: local variable "string" shadows a variable at a preceding level
    (63759) : warning 219: local variable "string" shadows a variable at a preceding level
    (64449) : warning 219: local variable "string" shadows a variable at a preceding level
    (65253) : warning 219: local variable "string" shadows a variable at a preceding level
    (65276) : warning 219: local variable "string" shadows a variable at a preceding level
    (65431) : warning 219: local variable "pID" shadows a variable at a preceding level
    (65431) : warning 219: local variable "string" shadows a variable at a preceding level
    (65449) : warning 219: local variable "pID" shadows a variable at a preceding level
    (65449) : warning 219: local variable "string" shadows a variable at a preceding level
    (65491) : warning 219: local variable "string" shadows a variable at a preceding level
    (65492) : error 021: symbol already defined: "strtok"
    (65507) : error 047: array sizes do not match, or destination array is too small
    (66491) : warning 219: local variable "string" shadows a variable at a preceding level
    (66522) : warning 219: local variable "string" shadows a variable at a preceding level
    (67329) : warning 219: local variable "string" shadows a variable at a preceding level
    (67330) : error 021: symbol already defined: "StripNewLine"
    (67410) : warning 219: local variable "string" shadows a variable at a preceding level
    (67452) : error 017: undefined symbol "mysql_query"
    (67473) : error 017: undefined symbol "mysql_query"
    (67493) : error 017: undefined symbol "mysql_query"
    (67499) : warning 219: local variable "string" shadows a variable at a preceding level
    (67547) : error 017: undefined symbol "WBB_CreateThread"
    (67560) : error 017: undefined symbol "WBB_CreateThread"
    (67602) : warning 219: local variable "pID" shadows a variable at a preceding level
    (67602) : warning 219: local variable "string" shadows a variable at a preceding level
    (67630) : warning 219: local variable "string" shadows a variable at a preceding level
    (67701) : warning 219: local variable "string" shadows a variable at a preceding level
    (67722) : warning 219: local variable "string" shadows a variable at a preceding level
    (67767) : warning 219: local variable "string" shadows a variable at a preceding level
    (67893) : warning 219: local variable "string" shadows a variable at a preceding level
    (67940) : warning 219: local variable "string" shadows a variable at a preceding level
    (67976) : warning 219: local variable "string" shadows a variable at a preceding level
    (67995) : warning 219: local variable "string" shadows a variable at a preceding level
    (68094) : warning 219: local variable "string" shadows a variable at a preceding level
    (68320) : warning 219: local variable "pID" shadows a variable at a preceding level
    (68320) : warning 219: local variable "string" shadows a variable at a preceding level
    (68392) : warning 219: local variable "string" shadows a variable at a preceding level
    (68430) : warning 219: local variable "pID" shadows a variable at a preceding level
    (68430) : warning 219: local variable "string" shadows a variable at a preceding level
    (68553) : warning 219: local variable "string" shadows a variable at a preceding level
    (68578) : warning 219: local variable "string" shadows a variable at a preceding level
    (68580) : error 017: undefined symbol "IsValidVehicle"
    (68605) : error 010: invalid function or declaration
    (68607) : error 010: invalid function or declaration
    (68610) : error 010: invalid function or declaration
    (68613) : error 010: invalid function or declaration
    (68615) : error 021: symbol already defined: "TogglePlayerSpectating"
    (68617) : error 008: must be a constant expression; assumed zero
    (68617) : error 021: symbol already defined: "M_SetPlayerPos"
    (68621) : error 054: unmatched closing brace ("}")
    (68622) : error 010: invalid function or declaration
    (68624) : error 010: invalid function or declaration
    (68625) : error 010: invalid function or declaration
    (68628) : error 021: symbol already defined: "GetPlayerHealth"
    (68631) : error 010: invalid function or declaration
    (68634) : error 021: symbol already defined: "SetPlayerVirtualWorld"
    (68637) : error 010: invalid function or declaration


    26 Errors.


    includes:
    #include <a_samp>
    #include <a_npc>
    #include <core>
    #include <float>
    #include <time>
    #include <dini>
    #include <file>
    #include <utils>
    #include <morphinc>
    #include <M_Bot>
    #include <streamer>
    #include <a_mysql>
    #include <w_baum>
    #include <ocmd>
    #include <strlib>
    #include <sscanf>
    #include <a_mysql>
    #include <Desk.inc>
    #include <bfx_objects>
    #include <GetVehicleColor>
    #include <wbb_connect>



    @Jeffry


    o.A


    Danke im Voraus.

    new Items[][enum_Items] =
    {
    {0, ITEM_TYPE_NORMAL,19382, "Nichts", 0,false,{0.0,0.0,0.0,0.0}, "N/A"},
    {1, ITEM_TYPE_HELMET, 18645, "Helm", 1,true,{0.000000, 0.000000, 0.000000, 1.000000}, "Mit einem Helm bist du vor Kopfschuessel sicher!"},
    {2, ITEM_TYPE_WEAPON, 348, "Deagle", 1, true,{0.000000, -30.00000, 0.000000, 1.200000}, "N/A"},
    {3, ITEM_TYPE_WEAPON, 356, "M4", 1, true,{0.000000, -30.00000, 0.000000, 2.200000}, "N/A"},
    {4, ITEM_TYPE_AMMO, 2061, "Munition",1500, true,{0.000000, 0.000000, 0.000000, 2.000000}, "N/A"},
    {5, ITEM_TYPE_WEAPON, 344, "Molotov", 5, true,{0.000000, 0.000000, 0.000000, 1.000000}, "N/A"},
    {6, ITEM_TYPE_BODY, 19142, "Weste", 1, true,{0.000000, 0.000000, 0.000000, 1.000000}, "N/A"},
    {7, ITEM_TYPE_BACKPACK, 3026, "Rucksack",1, true,{0.000000, 0.000000, 0.000000, 1.000000}, "N/A"},
    {8, ITEM_TYPE_BACKPACK, 3026, "Großer Rucksack",1, true,{0.000000, 0.000000, 0.000000, 1.000000}, "N/A"},
    {9, ITEM_TYPE_WEAPON, 355, "AK-47", 1, true,{0.000000, -30.00000, 0.000000, 2.200000}, "N/A"},
    {10, ITEM_TYPE_WEAPON, 349, "Shotgun", 1, true,{0.000000, -30.00000, 0.000000, 2.200000}, "N/A"},
    {11, ITEM_TYPE_MELEEWEAPON, 335, "Messer", 1, true,{0.000000, -30.00000, 0.000000, 2.200000}, "N/A"},
    {12, ITEM_TYPE_MELEEWEAPON, 334, "Knueppel", 1, true,{0.000000, -30.00000, 0.000000, 1.500000}, "N/A"},
    {13, ITEM_TYPE_WEAPON, 352, "Uzi", 1, true,{0.000000, -30.00000, 0.000000, 1.200000}, "N/A"},
    {14, ITEM_TYPE_WEAPON, 347, "Usp", 1, true,{0.000000, -30.00000, 0.000000, 1.200000}, "N/A"},
    {15, ITEM_TYPE_WEAPON, 353, "MP5", 1, true,{0.000000, -30.00000, 0.000000, 2.200000}, "N/A"},
    {16, ITEM_TYPE_WEAPON, 358, "Sniper", 1, true,{0.000000, -30.00000, 0.000000, 2.200000}, "N/A"},
    {17, ITEM_TYPE_WEAPON, 342, "Granate", 5, true,{0.000000, 0.000000, 0.000000, 1.000000}, "N/A"},
    {18, ITEM_TYPE_NORMAL, 11738, "Medic Kit", 5, true,{0.000000, 0.000000, 0.000000, 1.000000}, "N/A"}
    };


    @Jeffry


    Es wird mir bei dieser Stelle ein Klammerfehler angezeigt.