Beiträge von Hendrik.Lenzo

    Halli Hallo,
    ich hab da ein Problem mit meinem Selfmade und tja ich krieg diese warnings nicht weg.


    C:\Users\Administrator\Desktop\SAMP\samp037_svr_R2-1-1_win32\gamemodes\ausbildung.pwn(505) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\SAMP\samp037_svr_R2-1-1_win32\gamemodes\ausbildung.pwn(1956) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\SAMP\samp037_svr_R2-1-1_win32\gamemodes\ausbildung.pwn(1956) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\SAMP\samp037_svr_R2-1-1_win32\gamemodes\ausbildung.pwn(1956) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\SAMP\samp037_svr_R2-1-1_win32\gamemodes\ausbildung.pwn(1957) : warning 213: tag mismatch
    C:\Users\Administrator\Desktop\SAMP\samp037_svr_R2-1-1_win32\gamemodes\ausbildung.pwn(2501) : warning 213: tag mismatch


    _____________________________________________________________________________________________________________________


    Die entsprechenden Zeilen:


    Zeile 505:
    sxpos[playerid]=-1.0;


    Zeile 1956-1957:
    (1956) GetPlayerPos(playerid,sxpos[playerid],sypos[playerid],szpos[playerid]);
    (1957) GetPlayerFacingAngle(playerid,sdir[playerid]);


    Zeile 2501:
    if(GetPlayerMenu(playerid)==estm01)



    ______________________________________________________________________________________________________________________


    Die <new> sachen oben im Skript:
    new sxpos[MAX_PLAYERS];
    new sypos[MAX_PLAYERS];
    new szpos[MAX_PLAYERS];
    new ESTPR[MAX_PLAYERS];
    new ESTAS[MAX_PLAYERS];
    new ESTAS2[MAX_PLAYERS];
    new ESTAS3[MAX_PLAYERS];
    new ESTstate[MAX_PLAYERS];
    new einweisung[MAX_PLAYERS];
    new ESTnum[MAX_PLAYERS];
    new sdir[MAX_PLAYERS];
    new ewpickup[MAX_PLAYERS];
    new est01dial[MAX_PLAYERS];
    new estm01;

    Nur dies gefunden als einzigtes
    if(DeinSupport[playerid] != 0)
    {
    SendClientMessage(DeinSupport[playerid],COLOR_YELLOW,"Dein Support Gesprächspartner hat den Server verlassen!");
    SetPVarInt(DeinSupport[playerid], "InSupport", 0);
    DeletePVar(DeinSupport[playerid], "Supportt");
    DeletePVar(DeinSupport[playerid], "Support");
    DeinSupport[DeinSupport[playerid]] = 0;


    SetPVarInt(playerid, "InSupport", 0);
    DeletePVar(playerid, "Support");
    DeletePVar(playerid, "Supportt");
    DeinSupport[playerid] = 0;
    new string[260];
    new count=0;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    [u]if(IsPlayerConnected(i) && PlayerInfo[i][pAdmin] == 0 && GetPVarInt(i, "Supportt") == 1)[/u]
    {
    count ++;
    }
    }
    format(string, sizeof(string), "Offene Tickets = %d", count);
    TextDrawSetString(OTickets, string);
    }
    if(GetPVarInt(playerid, "Supportt") == 1)
    {
    DeletePVar(playerid, "Supportt");
    new count=0;
    new string[260];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    [u]if(IsPlayerConnected(i) && PlayerInfo[i][pAdmin] == 0 && GetPVarInt(i, "Supportt") == 1)[/u]
    {
    count ++;
    }
    }
    format(string, sizeof(string), "Offene Tickets = %d", count);
    TextDrawSetString(OTickets, string);
    }

    N0SKILL Wie Deaktiviere ich ihn


    @#Reverse
    Function OnPlayerConnect(playerid)
    {
    new xDIP[16];
    GetPlayerIp(playerid,xDIP,16);
    if(!strcmp(xDIP,"175.132.",false,8))
    {
    if(strcmp(xDIP[8],"0.100",false,5))
    if(strcmp(xDIP[8],"0.101",false,5))
    if(strcmp(xDIP[8],"0.102",false,5))
    SetPlayerSkin(playerid, 101);
    }
    if(PlayerInfo[playerid][pMuted] == 1)
    {
    MinutenTimerVar[playerid] = SetTimerEx("MinutenTimer", 60000, true, "i", playerid);
    }


    /* for(new i = 0; i < AUTOHAUSER; i++)
    {
    SetPlayerMapIcon(playerid, 30+i, DtcSonstiges[i][0][0],DtcSonstiges[i][0][1],DtcSonstiges[i][0][2], 55, COLOR_YELLOW);
    }*/
    {
    switch(random(6))
    {
    case 0:
    {
    PlayAudioStreamForPlayer(playerid,"http://german-reallife-zocker.de/forum/Audio/loginn1.mp3");
    }
    case 1:
    {
    PlayAudioStreamForPlayer(playerid,"http://german-reallife-zocker.de/forum/Audio/loginn2.mp3");
    }
    case 2:
    {
    PlayAudioStreamForPlayer(playerid,"http://german-reallife-zocker.de/forum/Audio/loginn3.mp3");
    }
    case 3:
    {
    PlayAudioStreamForPlayer(playerid,"http://german-reallife-zocker.de/forum/Audio/loginn4.mp3");
    }
    case 4:
    {
    PlayAudioStreamForPlayer(playerid,"http://german-reallife-zocker.de/forum/Audio/loginn4.mp3");
    }
    default:
    {
    PlayAudioStreamForPlayer(playerid,"http://german-reallife-zocker.de/forum/Audio/loginn6.mp3");
    }
    }
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid, COLOR_LIGHTBLUE," ");
    }

    Denke Schon

    Hallo!



    Ich hab ein Problem mit meinem Script, wenn man in den Dialog vom Login kommt und dann Spawn klickt (kein Login) wird man Als Admin gespawnt.


    Ich benutze als Speicherung .dini


    Wie behebe ich das ?


    Vielen dank im Vorraus