Textdrwas Warnings und error´s Hilfe

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
  • hallo ich bekomme immer wieder diese error´s hoffe wir könnt mir helfen



    Rang[playerid] = CreatePlayerTextDraw(playerid, 483.777740, 159.138031, "Frations_Rang:");
    PlayerTextDrawLetterSize(playerid, Rang[playerid], 0.400000, 1.600000);
    PlayerTextDrawTextSize(playerid, Rang[playerid], 671.000000, 0.000000);
    PlayerTextDrawAlignment(playerid, Rang[playerid], 1);
    PlayerTextDrawColor(playerid, Rang[playerid], -1);
    PlayerTextDrawUseBox(playerid, Rang[playerid], 1);
    PlayerTextDrawBoxColor(playerid, Rang[playerid], 255);
    PlayerTextDrawSetShadow(playerid, Rang[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Rang[playerid], 255);
    PlayerTextDrawFont(playerid, Rang[playerid], 3);
    PlayerTextDrawSetProportional(playerid, Rang[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang[playerid], 0);



    Rang1[playerid] = CreatePlayerTextDraw(playerid, 581.555603, 159.635589, "Bandit");
    PlayerTextDrawLetterSize(playerid, Rang1[playerid], 0.400000, 1.600000);
    PlayerTextDrawAlignment(playerid, Rang1[playerid], 1);
    PlayerTextDrawColor(playerid, Rang1[playerid], 16777215);
    PlayerTextDrawSetShadow(playerid, Rang1[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang1[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Rang1[playerid], 255);
    PlayerTextDrawFont(playerid, Rang1[playerid], 1);
    PlayerTextDrawSetProportional(playerid, Rang1[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang1[playerid], 0);



    Rang2[playerid] = CreatePlayerTextDraw(playerid, 483.777709, 141.715545, "Fraktion:");
    PlayerTextDrawLetterSize(playerid, Rang2[playerid], 0.400000, 1.600000);
    PlayerTextDrawTextSize(playerid, Rang2[playerid], 639.000000, 0.000000);
    PlayerTextDrawAlignment(playerid, Rang2[playerid], 1);
    PlayerTextDrawColor(playerid, Rang2[playerid], -1);
    PlayerTextDrawUseBox(playerid, Rang2[playerid], 1);
    PlayerTextDrawBoxColor(playerid, Rang2[playerid], 255);
    PlayerTextDrawSetShadow(playerid, Rang2[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang2[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Rang2[playerid], 255);
    PlayerTextDrawFont(playerid, Rang2[playerid], 3);
    PlayerTextDrawSetProportional(playerid, Rang2[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang2[playerid], 0);



    Rang3[playerid] = CreatePlayerTextDraw(playerid, 549.110839, 142.213256, "LSPD");
    PlayerTextDrawLetterSize(playerid, Rang3[playerid], 0.400000, 1.600000);
    PlayerTextDrawAlignment(playerid, Rang3[playerid], 1);
    PlayerTextDrawColor(playerid, Rang3[playerid], -1);
    PlayerTextDrawSetShadow(playerid, Rang3[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang3[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Rang3[playerid], 255);
    PlayerTextDrawFont(playerid, Rang3[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Rang3[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang3[playerid], 0);



    Rang4[playerid] = CreatePlayerTextDraw(playerid, 483.722534, 176.464462, "Supporter_Rang:");
    PlayerTextDrawLetterSize(playerid, Rang4[playerid], 0.400000, 1.600000);
    PlayerTextDrawTextSize(playerid, Rang4[playerid], 639.999023, 0.000000);
    PlayerTextDrawAlignment(playerid, Rang4[playerid], 1);
    PlayerTextDrawColor(playerid, Rang4[playerid], -1);
    PlayerTextDrawUseBox(playerid, Rang4[playerid], 1);
    PlayerTextDrawBoxColor(playerid, Rang4[playerid], 255);
    PlayerTextDrawSetShadow(playerid, Rang4[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang4[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Rang4[playerid], 255);
    PlayerTextDrawFont(playerid, Rang4[playerid], 0);
    PlayerTextDrawSetProportional(playerid, Rang4[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang4[playerid], 0);



    Rang5[playerid] = CreatePlayerTextDraw(playerid, 560.666809, 176.062240, "Probe-Supporter");
    PlayerTextDrawLetterSize(playerid, Rang5[playerid], 0.400000, 1.600000);
    PlayerTextDrawAlignment(playerid, Rang5[playerid], 1);
    PlayerTextDrawColor(playerid, Rang5[playerid], -1);
    PlayerTextDrawSetShadow(playerid, Rang5[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang5[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Rang5[playerid], 255);
    PlayerTextDrawFont(playerid, Rang5[playerid], 0);
    PlayerTextDrawSetProportional(playerid, Rang5[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang5[playerid], 0);



    Rang6[playerid] = CreatePlayerTextDraw(playerid, 483.821929, 192.488967, "Admin_Rang:");
    PlayerTextDrawLetterSize(playerid, Rang6[playerid], 0.400000, 1.600000);
    PlayerTextDrawTextSize(playerid, Rang6[playerid], 671.000000, 0.000000);
    PlayerTextDrawAlignment(playerid, Rang6[playerid], 1);
    PlayerTextDrawColor(playerid, Rang6[playerid], -1);
    PlayerTextDrawUseBox(playerid, Rang6[playerid], 1);
    PlayerTextDrawBoxColor(playerid, Rang6[playerid], 255);
    PlayerTextDrawSetShadow(playerid, Rang6[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang6[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Rang6[playerid], 255);
    PlayerTextDrawFont(playerid, Rang6[playerid], 0);
    PlayerTextDrawSetProportional(playerid, Rang6[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang6[playerid], 0);



    Rang7[playerid] = CreatePlayerTextDraw(playerid, 545.555480, 193.982269, "Super-Moderator");
    PlayerTextDrawLetterSize(playerid, Rang7[playerid], 0.400000, 1.600000);
    PlayerTextDrawAlignment(playerid, Rang7[playerid], 1);
    PlayerTextDrawColor(playerid, Rang7[playerid], -1);
    PlayerTextDrawSetShadow(playerid, Rang7[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Rang7[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Rang7[playerid], 255);
    PlayerTextDrawFont(playerid, Rang7[playerid], 0);
    PlayerTextDrawSetProportional(playerid, Rang7[playerid], 1);
    PlayerTextDrawSetShadow(playerid, Rang7[playerid], 0);

    hier kommen die warnings


    TextDrawShowForPlayer(playerid, Rang[playerid]);
    TextDrawShowForPlayer(playerid, Rang1[playerid]);
    TextDrawShowForPlayer(playerid, Rang2[playerid]);
    TextDrawShowForPlayer(playerid, Rang3[playerid]);
    TextDrawShowForPlayer(playerid, Rang4[playerid]);
    TextDrawShowForPlayer(playerid, Rang5[playerid]);
    TextDrawShowForPlayer(playerid, Rang6[playerid]);
    TextDrawShowForPlayer(playerid, Rang7[playerid]);

    Einmal editiert, zuletzt von TimeLine ()

  • TextDrawShowForPlayer zu PlayerTextDrawShow


    Lg.

    die warnings sind jz weg da kommt nurnoch error


    C:\Users\*******\Desktop\test\test.pwn(18394) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18395) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18396) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18397) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18398) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18399) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18400) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18401) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18402) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18403) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18404) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18405) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18406) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18408) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18409) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18410) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18411) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18412) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18413) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18414) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18415) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18416) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18417) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18419) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18420) : error 017: undefined symbol "playerid"
    C:\Users\*******\Desktop\test\test.pwn(18421) : error 017: undefined symbol "playerid"



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




    26 Errors.

  • Heißt nur das playerid nicht definiert wurde pack die textdraws z.b unter onplayerconnect


    Lg.

    Xbox Modding Profi
    Mein Xbox Setup:


    Xbox360 Trinity/Valhalla Reach Edition (Flash , Retail)
    Xbox360 Corona (xk3y, Retail)
    Xbox360 Corona (RGH2)
    Xbox360 Xenon (JTAG)
    2x XboxOne (Retail)