Beiträge von Huan_MendeZ

    Gibt es da nicht noch eine bessere Methode?:O


    Mein Script hat 58k Zeilen..


    Hier meine Logs


    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3d-R2, (C)2005-2011 SA-MP Team


    [14:22:18]
    [14:22:18] Server Plugins
    [14:22:18] --------------
    [14:22:18] Loading plugin: streamer.so
    [14:22:18]


    *** Streamer Plugin v2.6 by Incognito loaded ***


    [14:22:18] Loaded.
    [14:22:18] Loading plugin: sscanf.so
    [14:22:18]


    [14:22:18] ===============================


    [14:22:18] sscanf plugin loaded.


    [14:22:18] (c) 2009 Alex "Y_Less" Cole


    [14:22:18] 0.3d-R2 500 Players "dnee"


    [14:22:18] ===============================


    [14:22:18] Loaded.
    [14:22:18] Loaded 2 plugins.


    [14:22:18]
    [14:22:18] Filterscripts
    [14:22:18] ---------------
    [14:22:18] Loaded 0 filterscripts.


    [14:22:18] FRAKMATS.INI FEHLT
    [14:22:18] FRAKDRUGS.INI FEHLT
    [14:22:18] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
    [14:22:18] Pickups Max = 2048, Current Pickups = 436
    [14:22:18] _______________________________________
    [14:22:18] Das Script wurde Vollst�ndig geladen!
    [14:22:18] Script Edit by Sean_SciaRa
    [14:22:18] _______________________________________
    [14:22:18]
    [14:22:18] Number of vehicle models: 58

    ONPlayerSpawn


    Function OnPlayerSpawn(playerid)
    {


    StopAudioStreamForPlayer(playerid);
    M_OnPlayerSpawn(playerid);
    TextDrawShowForPlayer(playerid,Copyright);
    TextDrawShowForPlayer(playerid,Datum);
    motd(playerid);
    if(PlayerInfo[playerid][pTot] == 1 && PlayerInfo[playerid][pLevel] > 1)
    {
    GameTextForPlayer(playerid, "~r~Gestorben!", 5000, 3);
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " ");
    SendClientMessage(playerid, COLOR_YELLOW, "::... Krankenhaus ...:::");
    SendClientMessage(playerid, COLOR_LIGHTRED, "Da du keine hp mehr hattest wurdest du ins. ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " Krankenhaus gebracht. ");
    SendClientMessage(playerid, COLOR_LIGHTRED, " Du wirst etwa 30 Sekunden behandelt. ");
    SendClientMessage(playerid, COLOR_LIGHTRED, "Pass in Zukunft besser auf dich auf! ");
    SetPlayerSpawn(playerid);



    Das ist nun nicht alles:D



    ONPlayerConnect


    Function OnPlayerConnect(playerid)
    {
    TicketZeile[playerid] = 0;
    SupportTicket[playerid] = 0;
    TicketAngenommen[playerid] = 0;
    DeinSupport[playerid] = 0;


    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, 560);
    }
    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);
    }
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " ");
    SendClientMessage(playerid, COLOR_WHITE, " Warte kurz...du kannst dich gleich einloggen/registrieren ");
    SendClientMessage(playerid, COLOR_GRAD1, "...Der Server sucht deinen Account...");
    //------------------------------------------------------------------------------
    M_OnPlayerConnect(playerid);
    TextDrawShowForPlayer(playerid,Copyright);
    TextDrawShowForPlayer(playerid,Ts3);
    TextDrawShowForPlayer(playerid,Datum);
    //===================================BOTS ==================================//
    if(Security != 0)
    {
    SendClientMessage(playerid, COLOR_YELLOW, "Host hat die Regeln gebrochen Maßnahmen wurden eingeleitet.");
    Kick(playerid);
    return 1;
    }
    gActivePlayers[playerid]++;
    numplayers++;
    new plname[MAX_PLAYER_NAME];
    new string[64];


    public OnPlayerLogin(playerid,password[])
    {
    new tmp2[256];
    new string2[128];
    new playername2[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    format(string2, sizeof(string2), "/Accounts/%s.ini", playername2);
    new File: UserFile = fopen(string2, io_read);
    if ( UserFile )
    {
    new PassData[256];
    new keytmp[256], valtmp[256];
    fread( UserFile , PassData , sizeof( PassData ) );
    keytmp = ini_GetKey( PassData );
    if( strcmp( keytmp , "Key" , true ) == 0 )
    {
    valtmp = ini_GetValue( PassData );
    strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
    }
    if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
    {
    new key[ 256 ] , val[ 256 ];
    new Data[ 256 ];
    while ( fread( UserFile , Data , sizeof( Data ) ) )


    }//end while
    fclose(UserFile);//close the file after everything has been read in the while
    }
    else
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Das Passwort ist nicht korrekt! Bitte gib nun dein richtiges Passwort ein:","Login","Abbrechen");
    fclose(UserFile);
    gPlayerLogTries[playerid] += 1;
    if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
    return 1;
    }
    PlayerInfo[playerid][pAdjustable] = 0;
    ResetPlayerMoney(playerid);
    ConsumingMoney[playerid] = 1;
    GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
    CurrentMoney[playerid] = PlayerInfo[playerid][pCash];


    /*if(WantedPoints[playerid] == 2) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; } }
    else if(WantedPoints[playerid] >= 4 && WantedPoints[playerid] <= 5) { if(WantedLevel[playerid] != 2) { WantedLevel[playerid] = 2; } }
    else if(WantedPoints[playerid] >= 6 && WantedPoints[playerid] <= 7) { if(WantedLevel[playerid] != 3) { WantedLevel[playerid] = 3; } }
    else if(WantedPoints[playerid] >= 8 && WantedPoints[playerid] <= 9) { if(WantedLevel[playerid] != 4) { WantedLevel[playerid] = 4; } }
    else if(WantedPoints[playerid] >= 10 && WantedPoints[playerid] <= 11) { if(WantedLevel[playerid] != 5) { WantedLevel[playerid] = 5; } }
    else if(WantedPoints[playerid] >= 12 && WantedPoints[playerid] <= 13) { if(WantedLevel[playerid] != 6) { WantedLevel[playerid] = 6; } }
    else if(WantedPoints[playerid] >= 14) { if(WantedLevel[playerid] != 10) { WantedLevel[playerid] = 10; } }
    SetPlayerWantedLevel(playerid,WantedLevel[playerid]);
    */
    if(PlayerInfo[playerid][pReg] == 0)
    {
    PlayerInfo[playerid][pLevel] = 1;
    PlayerInfo[playerid][pSHealth] = 0.0;
    PlayerInfo[playerid][pHealth] = 99.0;
    PlayerInfo[playerid][pPos_x] = 2246.6;
    PlayerInfo[playerid][pPos_y] = -1161.9;
    PlayerInfo[playerid][pPos_z] = 1029.7;
    PlayerInfo[playerid][pInt] = 15;
    PlayerInfo[playerid][pLocal] = 255;
    PlayerInfo[playerid][pTeam] = 3;
    PlayerInfo[playerid][pModel] = 212;
    PlayerInfo[playerid][pPhousekey] = 255;
    PlayerInfo[playerid][pPbiskey] = 255;
    PlayerInfo[playerid][pAccount] = 0;
    PlayerInfo[playerid][pReg] = 1;
    GivePlayerMoney(playerid, 10000);
    }
    if(PlayerInfo[playerid][pLevel] == -999) //autoban
    {
    format(string2,sizeof(string2)," %s versucht mit seinem gebannten Account online zu kommen und wurde gekickt!",playername2);
    ABroadCast(COLOR_LIGHTRED,string2,1);
    SendClientMessage(playerid,COLOR_RED," Dein Account ist gebannt! Mach dir mal Gedanken, warum...");
    Kick(playerid);
    return 1;
    }




    Ein Backup habe ich gemacht.
    Aber beim downloaden des Backups, hat der immer ein Error
    "Fehler beim downloaden des Backups"

    Hallo,
    ich habe ein Problem mit meinem Script..
    Jedes mal wenn jemand sich jemand einloggt, fällt er erstmal vom Himmel.
    Und nach ca. 1 Minute schmiert der Server ab:O
    Ich habe nichts an dem Script geändert außer den Runstyle...!!!
    Den habe ich 1x wieder umgeändert. Aber trzdm geht garnichts mehr.


    Ich hoffe mir kann jemand helfenxO


    mfg


    Bastian

    Hallo, ich bin dabei ein Anti Cbug System zu schreiben.
    Ich habe alles. Nur 1 Error geht mir tierisch auf die Nüsse.


    Hier die Zeile:
    else if(newkeys & KEY_FIRE && oldkeys & KEY_CROUCH && KEY_AIM && IsCbugWeapon(playerid))


    Hier der Error:
    C:\Users\Penispimper\Desktop\Dorf\gamemodes\GoG.pwn(8026) : error 017: undefined symbol "KEY_AIM"


    Ich habe den doch damit definiert oder nicht?:O


    Ich hoffe mir kann jemand helfen.


    mfg

    Hallo,
    ich habe eine kleine Frage bz. LinkVehicletoInterrior.


    Ambulance[1] = AddStaticVehicleEx(573,1148.1176,-1363.4940,14.3531,3.0779,1,3,-1);
    Ambulance[2] = AddStaticVehicleEx(489,1131.6221,-1330.4897,13.7526,357.6791,1,3,-1);
    Ambulance[3] = AddStaticVehicleEx(416,1145.5895,-1307.8021,13.8093,38.7689,1,3,-1);
    Ambulance[4] = AddStaticVehicleEx(416,1146.0608,-1301.5326,13.8049,41.2538,1,3,-1);
    Ambulance[5] = AddStaticVehicleEx(416,1123.7156,-1326.0488,13.6476,0.4907,1,3,-1);
    Ambulance[6] = AddStaticVehicleEx(416,1110.7670,-1326.5494,13.6054,359.6971,1,3,-1);
    Ambulance[7] = AddStaticVehicleEx(487,1117.6606,-1309.8698,25.7903,268.7252,1,3,-1);
    Ambulance[8] = AddStaticVehicleEx(416,-2589.3293,622.3211,14.6077,274.5251,2,1,-1);
    Ambulance[9] = AddStaticVehicleEx(416,-2589.3049,627.3313,14.6084,271.9672,2,1,-1);
    Ambulance[10] = AddStaticVehicleEx(416,-2589.2471,632.6606,14.6018,270.7540,2,1,-1);
    Ambulance[11] = AddStaticVehicleEx(416,-2589.0791,657.9945,14.6014,271.8025,2,1,-1);
    Ambulance[12] = AddStaticVehicleEx(416,-2589.0012,647.3088,14.6028,269.7756,2,1,-1);
    Ambulance[13] = AddStaticVehicleEx(416,-2588.8271,652.6796,14.6024,270.5081,2,1,-1);
    Ambulance[14] = AddStaticVehicleEx(489,-2589.6990,637.9610,14.5966,271.3800,2,1,-1);


    Diese Autos möchte ich in Interiors haben.
    Ich weiß aber nicht genau wie das geht.
    Habe mir auf Wiki Samp das angeschaut, klappt aber alles nicht-.-


    Außerdem:
    Wenn in einem Auto sitzt, kann man dann den ganz normalen Befehl eingeben?
    Bedeutet, /exit und man ist mit dem Auto draußen, wo man drinne gesessen hat?


    Ich hoffe mir kann da jemand helfen^^


    mfg

    Hallo,
    ich habe viele GTA Foren gesehen mit einer gta4.me "Domain"
    Wo bekomme ich die den her? Wir müssen noch auf unsere WBB Lizenz warten und d.h müssen wir erst ein übergangsforum haben.


    Ich hoffe mir kann jemand weiterhelfen.


    mfg