Beiträge von Synchron

    new strings[64];
    format(strings, 64, "~w~Tickets: %d",aTickets);//WARNING ZEILE
    TextDrawSetString(aTickets, strings);
    TextDrawShowForPlayer(playerid, aTickets);
    TextDrawShowForPlayer(playerid,SupportBubble);
    TextDrawShowForPlayer(playerid,SupportBox);


    Was habe ich hier Falsch gemacht?


    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(11867) : warning 213: tag mismatch

    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21970) : warning 219: local variable "i" shadows a variable at a preceding level


    ERROR-Zeile: for(new i=0;i<4;i++) PlayerTextDrawShow(i,Tutorialdraw[i][i]);


    if(TutTime[i] == 6)
    {
    SetPlayerPos(i,1479.1464,-1754.0496,33.4297);
    SetPlayerFacingAngle(i,357.8764);
    SetPlayerCameraPos(i,1482.5554,-1713.1638,36.7771);
    SetPlayerCameraLookAt(i,1482.1392,-1746.0701,25.7670);
    SetPlayerVirtualWorld(i,(i+1));
    for(new s=0; s<10; s++) SendClientMessage(i,Farbe_Schwarz," ");
    TextDrawHideForPlayer(i, IntroBox);
    TextDrawHideForPlayer(i, Projektleitung);
    TextDrawHideForPlayer(i, ProjektLeiterName);
    PlayerTextDrawSetString(i,Tutorialdraw[i][1],"(Tutorial) - Zivispawn");
    PlayerTextDrawSetString(i,Tutorialdraw[i][2],"Dies ist der Zivispawn unseres Servers~n~Hier Spawnst du wenn du dich einloggst~n~Jedoch kannst du dich in ein Haus einmieten~n~sodass du dort Spawnen kannst mit /spawnchange");
    ERROR ZEILE//for(new i=0;i<4;i++) PlayerTextDrawShow(i,Tutorialdraw[i][i]);
    }

    if(TutTime[i])
    {
    TutTime[i]++;
    if(TutTime[i] == 6)
    {
    SetPlayerPos(i,1479.1464,-1754.0496,33.4297);
    SetPlayerFacingAngle(i,357.8764);
    SetPlayerCameraPos(i,1482.5554,-1713.1638,36.7771);
    SetPlayerCameraLookAt(i,1482.1392,-1746.0701,25.7670);
    SetPlayerVirtualWorld(i,(i+1));
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    SendClientMessage(i,Farbe_Schwarz," ");
    TextDrawHideForPlayer(i, IntroBox);
    TextDrawHideForPlayer(i, Projektleitung);
    TextDrawHideForPlayer(i, ProjektLeiterName);
    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Zivispawn");


    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"Dies
    ist der Zivispawn unseres Servers~n~Hier Spawnst du wenn du dich
    einloggst~n~Jedoch kannst du dich in ein Haus einmieten~n~sodass du dort
    Spawnen kannst mit /spawnchange");
    for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
    }
    else if(TutTime[i] == 20)
    {
    SetPlayerPos(i,2122.5210,-1146.8610,30.7632);
    SetPlayerFacingAngle(i,359.3494);
    SetPlayerCameraPos(i,2128.5413,-1112.7592,42.8372);
    SetPlayerCameraLookAt(i,2129.6411,-1142.0074,25.0423);
    for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
    SetPlayerVirtualWorld(i,(i+1));
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");


    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Fraktionen");


    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"Auf
    unserem Server gibt es X Fraktionen.~n~Ab Level 2 kannst du einer
    Gang/Mafia beitreten.~n~und ab Level 3 Staatsfraktionen.~n~Du kannst in
    diesem Forum bewerben www.folgt.de");
    for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
    }
    else if(TutTime[i] == 28)
    {
    SetPlayerPos(i,1460.4634,-1019.1107,48.1359);
    SetPlayerFacingAngle(i,181.6645);
    SetPlayerCameraPos(i,1461.5790,-1042.0156,24.2842);
    SetPlayerCameraLookAt(i,1462.4208,-1011.1050,30.0120);
    for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
    SetPlayerVirtualWorld(i,(i+1));
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Autohaeuser");


    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"Wir
    besitzen X Autohaeuser.~n~Wir empfehlen dir das Guenstige Autohaus als
    erstes zu besuchen.~n~um dir einen Anfangs Wagen zuzulegen.~n~Wie du
    dort hingelangst? /navi");
    for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
    }
    else if(TutTime[i] == 46)
    {
    SetPlayerPos(i,1413.2452,-1640.2640,38.3088);
    SetPlayerFacingAngle(i,268.4439);
    SetPlayerCameraPos(i,1442.6525,-1624.4379,60.0615);
    SetPlayerVirtualWorld(i,(i+1));
    SetPlayerCameraLookAt(i,1489.9127,-1677.9097,15.6762);
    for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Was kann ich zuerst tun?");


    PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"- Perso
    beantragen.~n~- Job zulegen.~n~- Fuehrerschein absolvieren~n~- Anfangs
    Wagen zulegen.");
    for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
    }
    else if(TutTime[i] >= 60)
    {
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    SendClientMessage(i,Farbe_Weiß," ");
    for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
    SendClientMessage(i,Farbe_Gelb,"Tutorial geschafft!");
    SendClientMessage(i,Farbe_Weiß,"Dein Account wurde erfolgreich angelegt.");
    SendClientMessage(i,Farbe_Weiß,"Viel Spaß, fotze.");
    SetPlayerCheckpoint(i,1481.1222,-1765.4866,18.7958,2.5);
    PlayerPlaySound(i,1188,0.0,0.0,0.0);
    TutTime[i] = 0;
    TutStep[i] = 1;
    SpielerInfo[i][sTutorial] = 1;
    GivePlayerMoney(i,50000+random(1000));
    SpielerInfo[i][sBank] = 20000+random(20000);
    format(Text,sizeof(Text),"Wir haben einen Neuen Spieler: %s",SpielerInfo[i][sName]);
    SendClientMessageToAll(Farbe_Rot,Text);


    ShowPlayerDialog(i, DIALOG_Startbonus, DIALOG_STYLE_LIST,
    "Ende des Tutorials...", "Startbonus 10.000 $\nFührerschein\nStartlevel
    5","Auswählen","-");
    StopAudioStreamForPlayer(i);
    SetPlayerSpawn(i);
    }
    }
    bekomme immer Fehler wegen den Textdraw´s
    undefined symbol playerid wie kann ich das hier definieren


    C:\Users\Durak\Desktop\Samp\pawno\include\foreach.inc(382) : warning 209: function "INCLUDE_OnGameModeInit" should return a value
    C:\Users\Durak\Desktop\Samp\pawno\include\nodmzonen.inc(408) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(8409) : warning 217: loose indentation
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(8440) : warning 217: loose indentation
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21976) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21977) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21978) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21978) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21986) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21997) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21998) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21999) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21999) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22007) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22018) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22019) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22020) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22020) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22029) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22035) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22036) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22037) : warning 219: local variable "i" shadows a variable at a preceding level
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22037) : error 017: undefined symbol "playerid"
    C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22044) : error 017: undefined symbol "playerid"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    16 Errors.
    Playerid bei jeden Textdraw undefined wie definieren ;(
    und iwarning 219: local variable "i" shadows a variable at a preceding level
    bei jeden davon hier: for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);

    new PlayerText:Tutorialdraw[MAX_PLAYERS][4];


    //Tutorialdraw
    for(new i=0;i<MAX_PLAYERS;i++){
    Tutorialdraw[i][0] = CreatePlayerTextDraw(i,160,145,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
    PlayerTextDrawUseBox(i,Tutorialdraw[i][0],1);
    PlayerTextDrawBoxColor(i,Tutorialdraw[i][0],0x00000067);
    PlayerTextDrawBackgroundColor(i,Tutorialdraw[i][0],0x000000ff);
    PlayerTextDrawTextSize(i,Tutorialdraw[i][0],480,290);
    PlayerTextDrawLetterSize(i,Tutorialdraw[i][0],0.400000,0.599990);
    PlayerTextDrawSetShadow(i,Tutorialdraw[i][0],1);


    Tutorialdraw[i][1] = CreatePlayerTextDraw(i,160,145,"_");
    PlayerTextDrawFont(i,Tutorialdraw[i][1],0);
    PlayerTextDrawColor(i,Tutorialdraw[i][1],Farbe_Gelb);
    PlayerTextDrawAlignment(i,Tutorialdraw[i][1],0);
    PlayerTextDrawLetterSize(i,Tutorialdraw[i][1],0.499990,1.499990);
    PlayerTextDrawSetOutline(i,Tutorialdraw[i][1],1);
    PlayerTextDrawSetProportional(i,Tutorialdraw[i][1],1);
    PlayerTextDrawSetShadow(i,Tutorialdraw[i][1],1);


    Tutorialdraw[i][2] = CreatePlayerTextDraw(i,160,165,"_");
    PlayerTextDrawFont(i,Tutorialdraw[i][2],2);
    PlayerTextDrawColor(i,Tutorialdraw[i][2],Farbe_Gelb);
    PlayerTextDrawAlignment(i,Tutorialdraw[i][2],0);
    PlayerTextDrawLetterSize(i,Tutorialdraw[i][2],0.200000,0.799990);
    PlayerTextDrawSetProportional(i,Tutorialdraw[i][2],1);
    PlayerTextDrawSetShadow(i,Tutorialdraw[i][2],1);


    Tutorialdraw[i][3] = CreatePlayerTextDraw(i,290,240,"server");
    PlayerTextDrawFont(i,Tutorialdraw[i][3],2);
    PlayerTextDrawColor(i,Tutorialdraw[i][3],Farbe_Gelb);
    PlayerTextDrawAlignment(i,Tutorialdraw[i][3],0);
    PlayerTextDrawLetterSize(i,Tutorialdraw[i][3],1.0,3.5);
    PlayerTextDrawSetOutline(i,Tutorialdraw[i][3],1);
    PlayerTextDrawSetProportional(i,Tutorialdraw[i][3],1);
    PlayerTextDrawSetShadow(i,Tutorialdraw[i][3],1);
    }


    Onplayerdisconnect:
    for(new i=0;i<3;i++){ PlayerTextDrawDestroy(playerid,Tutorialdraw[playerid][i]); }


    Test befehl:


    if(strcmp(cmdtext,"/test1",true)==0)
    {
    for(new i=0;i<4;i++){ PlayerTextDrawShow(i,Tutorialdraw[i][i]);
    PlayerTextDrawSetString(i,Tutorialdraw[i][1],"Tutorial - Dein Outfit ... Dein Style!");
    PlayerTextDrawSetString(i,Tutorialdraw[i][2],"Der Binco ist einer von vielen Kleidungslaeden in San Andreas~n~Hier kannst du zu jederzeit deinen Charakter wechseln.~n~Die Kleidungslaeden bieten dir eine grosse Auswahl an Skins,~n~sodass du dir dein Leben in einen Traum verwandeln kannst.~n~Mit '/outfit' kannst du in allen Kleiderläden deinen Skin wechseln.~n~~n~~r~");
    }
    return 1;
    }
    Es passiert einfach nichts warum?