Errors wie behebe ich die?

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
  • C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2252 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2264 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2276 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2288 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2302 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2407 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2410 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2413 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2416 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2419 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2422 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2424 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2436 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2439 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2442 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2474 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2494 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2513 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2533 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2609 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2629 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2649 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(2966 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(5636 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(5837 ) : error 017: undefined symbol "PlayerToPoint"
    C:\Users\Marcel\Desktop\Selfmade\gamemodes\arcanum - Kopie.pwn(5978 ) : error 017: undefined symbol "PlayerToPoint"


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



    26 Errors.


    wie behebe ich das??

  • Das sollte helfen:
    forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
    public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
    {
    if(IsPlayerConnected(playerid))
    {
    new Float:oldposx, Float:oldposy, Float:oldposz;
    new Float:tempposx, Float:tempposy, Float:tempposz;
    GetPlayerPos(playerid, oldposx, oldposy, oldposz);
    tempposx = (oldposx -x);
    tempposy = (oldposy -y);
    tempposz = (oldposz -z);
    //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
    if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
    {
    return 1;
    }
    }
    return 0;
    }


    MfG

    MfG SkrilLinux


    Ich habe euch erfolgreich geholfen?
    -Dann wäre es nett wenn ihr 1x auf Bedanken klickt :)