Sinnlose Errors!!

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
  • Hey Leutz,


    Ich hab grad verdammt probleme mit meinem Script.


    Seit 10minuten bekomme ich andauernd Fehlermeldungen.


    Unzwar folgende:


    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\pawno\include\opa_objects.inc(90) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2313) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2314) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2315) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2432) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2433) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2797) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2801) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2805) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2809) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2813) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2817) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2821) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2825) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2829) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2833) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2837) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2841) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2845) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2850) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2854) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2858) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2874) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2878) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2882) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2886) : error 004: function "PlayerToPoint" is not implemented
    C:\Program Files (x86)\Rockstars Games\GTA San Andreas\gamemodes\soul-city.pwn(2890) : error 004: function "PlayerToPoint" is not implemented


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



    26 Errors.



    Jedoch weiss ich nicht wie ich das lösen soll!!


    Die include mit PlayerToPoint heisst "ufplayers".


    Aber vor 15minuten ging ja noch alles, und ich hab am script nichts geändert..


    was mache ich falsch?!

  • Hier die zeilen mit PlayerToPoint:
    if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175)) {//SF return 1; } else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484)) {//Between LS and SF return 1; } else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,-656.46270751953, 871.70965576172, 1.5984833240509) || PlayerToPoint(6.0,playerid, -1479.5152587891, 686.85699462891, 0.9187958240509)) {//Bootstanke return 1; } else if(PlayerToPoint(8.0,playerid,-2325.6611328125, 2307.8862304688, 0.79384350776672) || PlayerToPoint(6.0,playerid, -1448.7921142578, 1503.6788330078, 1.3351314067841)) {//Bootstanke return 1; } else if(PlayerToPoint(8.0,playerid, 723.14196777344, -1494.6817626953, 1.5328280925751) || PlayerToPoint(6.0,playerid,1359.3675537109, -279.16091918945, 0.85160452127457)) {//Bootstanke return 1; } else if(PlayerToPoint(8.0,playerid, 1595.1289,2199.2390,10.8203) || PlayerToPoint(6.0,playerid,2640.2949,1107.3567,10.8203)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid, -1472.3009,1864.0583,32.6328)) {//LV return 1; } else if(PlayerToPoint(5.0,playerid, 1824.1428,-2407.0569,18.2448)) {//LS return 1; } else if(PlayerToPoint(5.0,playerid, 1004.1917,-937.2050,48.2118)) {//LS return 1; } else if(PlayerToPoint(5.0,playerid, 1380.6432,459.0359,19.9837) || PlayerToPoint(5.0,playerid, -737.2056,2743.5520,47.2266)) // gasstation in wüsste {//MONTGOMERY return 1; } else if(PlayerToPoint(5.0,playerid, 654.7516,-565.1221,16.3359)) {//DILLIMORE return 1; }

  • Code
    if(IsPlayerInRangeOfPoint(playerid,7.0,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(playerid,7.0,1944.3260,-1772.9254,13.3906))        {//LS            return 1;        }



    So, jetzt solltest du keine Error´s mehr bekommen.



    // Fail Edditiert
    Nobody´s perfect

    2 Mal editiert, zuletzt von ]AS[Flash ()

  • Code
    if(IsPlayerInRangeOfPoint(7.0,playerid,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(7.0,playerid,1944.3260,-1772.9254,13.3906))        {//LS            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(7.0,playerid,-1609.7958,-2718.2048,48.5391))        {//LS            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(7.0,playerid,-2408.7590,976.0934,45.4175))        {//SF            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(7.0,playerid,-1676.6323,414.0262,6.9484))        {//Between LS and SF            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(7.0,playerid,614.9333,1689.7418,6.6968))        {//LV            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(7.0,playerid,70.3882,1218.6783,18.5165))        {//LV            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,2113.7390,920.1079,10.5255) || IsPlayerInRangeOfPoint(7.0,playerid,-1327.7218,2678.8723,50.0625))        {//LV            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,-656.46270751953, 871.70965576172, 1.5984833240509) || IsPlayerInRangeOfPoint(7.0,playerid, -1479.5152587891, 686.85699462891, 0.9187958240509))        {//Bootstanke            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid,-2325.6611328125, 2307.8862304688, 0.79384350776672) || IsPlayerInRangeOfPoint(7.0,playerid, -1448.7921142578, 1503.6788330078, 1.3351314067841))        {//Bootstanke            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid, 723.14196777344, -1494.6817626953, 1.5328280925751) || IsPlayerInRangeOfPoint(7.0,playerid,1359.3675537109, -279.16091918945, 0.85160452127457))        {//Bootstanke            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid, 1595.1289,2199.2390,10.8203) || IsPlayerInRangeOfPoint(7.0,playerid,2640.2949,1107.3567,10.8203))        {//LV            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid, -1472.3009,1864.0583,32.6328))        {//LV            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid, 1824.1428,-2407.0569,18.2448))        {//LS            return 1;        }                else if(IsPlayerInRangeOfPoint(7.0,playerid, 1004.1917,-937.2050,48.2118))        {//LS            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid, 1380.6432,459.0359,19.9837) || IsPlayerInRangeOfPoint(7.0,playerid, -737.2056,2743.5520,47.2266)) // gasstation in wüsste        {//MONTGOMERY            return 1;        }        else if(IsPlayerInRangeOfPoint(7.0,playerid, 654.7516,-565.1221,16.3359))        {//DILLIMORE            return 1;        }


    So, solltest du keine Error´s mehr bekommen.

    So erst recht.


    Erst kommt playerid, dann der Radius. Bei PlayerToPoint ist es genau andersrum.

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