Klammerfehler?!

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • 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.

  • /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.

  • 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}

  • 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.

  • 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"}
    };

    Einmal editiert, zuletzt von ScriptHelp ()

  • Du vor dem letzten "Parameter" (z.B. hier: {1, ITEM_TYPE_HELMET, 18645, "Helm", 1,true,0.000000, 0.000000, 0.000000, 1.000000 "Mit einem Helm bist du vor Kopfschuessen sicher!"},) immer ein Komma vergessen.

    C
    {1,  ITEM_TYPE_HELMET, 18645, "Helm", 1,true,0.000000, 0.000000, 0.000000, 1.000000 "Mit einem Helm bist du vor Kopfschuessen sicher!"},

    zu


    C
    {1,  ITEM_TYPE_HELMET, 18645, "Helm", 1,true,0.000000, 0.000000, 0.000000, 1.000000,"Mit einem Helm bist du vor Kopfschuessen sicher!"},

    Das bei jeden Eintrag.

  • 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?

  • #include <mysql> oben eingetragen. Hat gefehlt.

    a_mysql hast du doch bei den Includes schon definiert, soweit ich das weiter oben im Thread sehen kann.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen