Jump to content

Sealand123

Membru
  • Posts

    110
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Sealand123

  1. Sper sa va placa serverul,sa va ajute sa va dezvoltati serverele sau sa se inspire cele mari din acest GM! Am dorit sa fiu unic sa fac ceva nemaivazut RP-RPG! Poate ideile mele o sa vi se para ciudate,dar au fost facute de-a lungul a doi ani de zile frumosi in care orice actiune o faceam ma gandeam ce sa mai punem pe server sa avem playeri :(
    Din pacate romanii apreciaza uratul,lucrul simplu si prost...Oricum cand va vad ca sunteti incantati simnt ca munca mea intelectuala nu e in vag.Va multumesc

    • Upvote 1
  2. Serverele bugged sunt toate niste rahaturi populate doar pentru ca sentimentul de turma este mare la oameni si in special la romani.

    Pe bugged sau bzone daca vrei sa faci ceva nu ai ce sa faci.Lasati serverele mici si originale sa se dezvolte decat sa ridicati in slavi niste rahaturi care au cele mai grele scripturi /jobs....

    • Upvote 1
  3. Eu sunt cel care a avut toate ideile pe server,Mister a scriptat tot.Stim ca este un server unic in care am muncit mai bine de un an si am pornit de la 0,nu stiam sa punem o poarta,cand m-am gandit cum sa fac serverul am avut in minte idei mult mai complexe dar am zis frate nu o sa stie copii sa se joace asa ca facem ceva gen playerii sa aleaga parlamentarii si presedintele(care are acces la comanda /unjail ca in viata reala si multe altele)am incercat sa schimb modul asta unde faci cerere si pff iei lider,voiam ca lider lspd sa fie numit de ministrul de interne,ng de min apararii etc.Multe alte idei care sunt mai sus,m-am gandit ca playerii sa faca si altceva decat farmer sau tracker sa joace fotbal biliard plimbari pe munte s.a.m.d.Dar din pacate romanii joaca pe servere care au cateva mii de linii gm-urile si cel mai complex script /jobs...Pacat eu iti dai seama ca nu l-as vinde dar vreau sa am un sprijin moral ca nu am muncit atat la el degeaba

     

    • Upvote 1
  4. briston.samp.ro

    93.119.25.74:7777

     

    Te-ai saturat de servere copiate pline de boti si de persoane arogante?Te-ai saturat de acelasi joc simplu fara lucruri complicate?Am venit cu schimbarea!Briston incearca sa schimbe interfata jocului clasic de SA:MP adaugand diferite scripturi!

    Va voi enumera cateva lucruri unice pe acest server!

     

    1.Poti sa iti  cumperi iphone si casti unde ai diferite functii(ex.Selfie,Apel,Mesaj,Ascultat radio cu castile)

    QbCactD.png

     

    2.Poti merge la plaja de langa Chilliad dupa sa iei telecabina si sa ajungi in minunata statiune de pe Chilliad unde gasesti un carusel,centru SPA etc

     

    cet4TRx.jpg

    19fHgB8.jpg

    HoqVf5R.jpg

     

    3.Iti poti cumpara o masina care are direct interior in ea(Journey)

     

    nYyG5wi.png

     

    4.Poti sa te angajezi in LSPD unde ai direct vedere afara sau la MARELE PENTAGON!

     

    1LHRHfk.jpg

    bwocO9D.png

    AMj9EGJ.jpg

     

    5.Iti poti pune NEOANE pe masina,iar Gangurile pot da TAGURI

     

    iCaV50d.jpg

     

    6.Te poti distra cu prietenii la piscina,casino sau discoteca

     

    22JirJC.jpg

    7YhuQUn.jpg

    KSwTIxy.jpg

     

     

  5. Am luat un host gratuit de la Hostinger România si nu pot pune panelul meu pe host am pus datele mysql dar nu merge

    Ce host imi puteti recomanda sa mearga panelul, mie pe localhost imi merge perfect dar pe hostginger nici nu merge domeniul

  6. Problema intalnita (descriere): Am facut o comanda care imi arata liderii online, merge dar daca sunt mai multi lideri online ce pot sa ac pentru ca il afiseaza doar pe primul.
    Ero(area / rile) / warning-(ul / urile): -
    Liniile de cod / sursa / script-ul(obligatoriu):

     if(strcmp(cmd, "/liderii2", true) == 0)
        {
            new result[100],offleader[100],string[300];
            mysql_query("SELECT NULL FROM players WHERE Leader='2'");
            mysql_store_result();
            mysql_free_result();
            format(string, sizeof(string), "In total avem %d Lideri la factiunea doi",mysql_num_rows(););
            SendClientMessage(playerid,-1,string);
    
            format(string,100,"SELECT `username` FROM `players` WHERE `Leader`='2'");
            mysql_query(string);
            mysql_store_result();
            if(mysql_retrieve_row ())
            {
                  mysql_fetch_field_row(result, "username"); strmid(offleader, result, 0, 255, 255);
                  format(string, sizeof(string), "Numele liderului la factiunea 2 este %s",offleader);
                SendClientMessage(playerid,-1,string);
            }
        }


    Imagini / Video (optional): -
    Ati incercat sa rezolvati singur?:   

    Am adaugat asta

    else if(mysql_retrieve_row () == 2)
            {
                	mysql_fetch_field_row(result, "username"); strmid(offleader, result, 0, 255, 255);
      			format(string, sizeof(string), "Numele liderului la factiunea 2 este %s",offleader);
    			SendClientMessage(playerid,-1,string);
            }

    Dar il afiseaza tot pe acela

  7. Problema intalnita (descriere): Am trecut niste functii pe mysql si nu vrea sa le citeasca pe cele de tip nume exemplu variabila owner are in database atribuita "Mihai.Samp" si nu vrea sa o citeasca
    Ero(area / rile) / warning-(ul / urile): -
    Liniile de cod / sursa / script-ul(obligatoriu):

    asa e la ongamemodeinit

    	new result[100], index = 0,strings[190];
        mysql_query("SELECT * FROM `roomhotel` ORDER BY `roomhotel`.`rID` ASC");
        mysql_store_result();
        while(mysql_retrieve_row())
        {
       			// LOADING DATA     \====================================================================/
    			new i = index;
    			mysql_get_field("ID", result);				CamInfo[i][rID] = strval(result);
    	        mysql_get_field("Owner", result);			strmid(CamInfo[i][rOwner], result, 0, 100, 100);
    	        mysql_get_field("PosX", result);			CamInfo[i][rPosX] = floatstr(result);
    			mysql_get_field("PosY", result);			CamInfo[i][rPosY] = floatstr(result);
    	        mysql_get_field("PosZ", result);			CamInfo[i][rPosZ] = floatstr(result);
    	        mysql_get_field("Interior", result);		CamInfo[i][rInterior] = strval(result);
          		format(strings, sizeof(strings), "Ownerul este: %s",CamInfo[i][rOwner]);
       			Camera[i] = Create3DTextLabel(strings,0xFFFFFFAA,CamInfo[i][rPosX],CamInfo[i][rPosY],CamInfo[i][rPosZ],6.0,0);
    			i++;
    
    	}

    Nu mi se afiseaza numele detinatorului intr-un 3dtextlabel

    format(string, sizeof(string), "Chirias: %s"CamInfo[i][rOwner]);
    		            Update3DTextLabelText(Camera[i], 0xFFFFFFFF, string);

     

    apoi  am facut o comanda directa sa vad daca merge si nu merge nu scrie decat camera

    if (strcmp(cmd, "/camera0", true) == 0)
        {
            format(string,sizeof(string), "camera %s",CamInfo[0][rOwner]);
            SendClientMessage(playerid,-1,string);
         
           }
    

    Imagini / Video (optional): http://i.imgur.com/nW4kVvq.png asa e in phpmyadmin
    Ati incercat sa rezolvati singur?:

  8. Da am adaugat, si acum, cand ma conectez merge dar cand scriu orice comanda se da restart la server

    Si am gasit problema este de la Allcomandlog, adica la

    onplayercommandtext am pus sa se faca log pentru orice comanda, si am comentat functia si nu se mai inchide serverul ce sa fac sa nu se mai inchida si sa pun si functia?

    • Upvote 1
  9. Am sters onplayerspawn si onplayerdeath(acestea dadeau run time error)

    si am lasat doar setplayerpos return 1; la onplayerspawn

    si la onplayerdeath doar return 1;

    Adica nu am scris nimic la ele, nu mai da run time eror pe localhost, iar cand il pun pe host tot nu merge. :mellow:

     

     

    EDIT:  Am gasit asta in server.log


    0:33:44] [debug] Server crashed while executing GameMode.amx
    [20:33:44] [debug] AMX backtrace:
    [20:33:44] [debug] #0 native fwrite () from samp03svr
    [20:33:44] [debug] #1 00045e74 in public LoginQuit (18661444) from GameMode.amx
    [20:33:44] [debug] #2 00038408 in public Streamer_OnPlayerConnect (0) from GameMode.amx
    [20:33:44] [debug] #3 native CallLocalFunction () from samp03svr
    [20:33:44] [debug] #4 00000f5c in public OnPlayerConnect (0) from GameMode.amx
    [20:33:44] [debug] Native backtrace:
    [20:33:44] [debug] #0 f6bb2e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [20:33:44] [debug] #1 f6babbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
    [20:33:44] [debug] #2 f6bacdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
    [20:33:44] [debug] #3 f6bad226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
    [20:33:44] [debug] #4 f6bb2adc in ?? () from plugins/crashdetect.so
    [20:33:44] [debug] #5 f7799410 in ?? ()
    [20:33:44] [debug] #6 f7799430 in ?? ()
    [20:33:44] [debug] #7 f7502661 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
    [20:33:44] [debug] #8 f7505a92 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
    [20:33:44] [debug] #9 f74fb878 in __assert_fail () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
    [20:33:44] [debug] #10 0809a90c in ?? () from samp03svr
    [20:33:44] [debug] #11 0809ad6f in ?? () from samp03svr
    [20:33:44] [debug] #12 08094054 in ?? () from samp03svr
    [20:33:44] [debug] #13 f6bae94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
    [20:33:44] [debug] #14 f6bb18f8 in ?? () from plugins/crashdetect.so
    [20:33:44] [debug] #15 f6bb5916 in amx_Exec () from plugins/crashdetect.so
    [20:33:44] [debug] #16 f6badbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
    [20:33:44] [debug] #17 f6bb1659 in ?? () from plugins/crashdetect.so
    [20:33:44] [debug] #18 080dd0e2 in ?? () from samp03svr
    [20:33:44] [debug] #19 08094054 in ?? () from samp03svr
    [20:33:44] [debug] #20 f6bae94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
    [20:33:44] [debug] #21 f6bb18f8 in ?? () from plugins/crashdetect.so
    [20:33:44] [debug] #22 f6bb5916 in amx_Exec () from plugins/crashdetect.so
    [20:33:44] [debug] #23 f6badbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
    [20:33:44] [debug] #24 f6bb1659 in ?? () from plugins/crashdetect.so
    [20:33:44] [debug] #25 080a3ce9 in ?? () from samp03svr
    [20:33:44] [debug] #26 080ce7df in ?? () from samp03svr
    [20:33:44] [debug] #27 080b35e1 in ?? () from samp03svr
    [20:33:44] [debug] #28 08071b38 in ?? () from samp03svr
    [20:33:44] [debug] #29 08071c32 in ?? () from samp03svr
    [20:33:44] [debug] #30 0807bb80 in ?? () from samp03svr
    [20:33:44] [debug] #31 080ad3bd in ?? () from samp03svr
    [20:33:44] [debug] #32 080ad562 in ?? () from samp03svr
    [20:33:44] [debug] #33 080a88ce in ?? () from samp03svr
    [20:33:44] [debug] #34 f74eee46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
    [20:33:44] [debug] #35 0804b4d1 in ?? () from samp03svr
    
  10. public OnPlayerSpawn(playerid)
    {
        Codel[playerid] = 0;
        StopAudioStreamForPlayer(playerid);
        aprobat[playerid] = 0;
        Vestiar[playerid] = 0;
        onjob[playerid] = 0;
        menustyle[playerid] = 0;
        teste[playerid] = 0;
        sweeep[playerid] = 0;
        Injourney[playerid] = 0;
        instart[playerid] = 0;
        Specing[playerid] = 0;
        if(TakingLesson[playerid] == 1)
        {
            teste[playerid] = 0;
            TakingLesson[playerid] = 0;
            DisablePlayerRaceCheckpoint(playerid);
            CP[playerid] = 0;
        }
          if(HireCar[playerid] != 255)
        {
            SetVehicleToRespawn(HireCar[playerid]);
            UnLockCar(HireCar[playerid]);
            HireCar[playerid] = 255;
        }
        if(Specing[playerid] == 1)
        {
            SetPlayerInterior(playerid,interior[playerid]);
            SetPlayerVirtualWorld(playerid,virtualworld[playerid]);
            SetPlayerPos(playerid,SpecPosx[playerid] ,SpecPosy[playerid] ,SpecPosz[playerid]);
            Specing[playerid] = 0;
    //        return 1;
        }
        if(Specing[playerid] == 2)
        {
            SetPlayerPos(playerid,SpecPosxx[playerid] ,SpecPosyy[playerid] ,SpecPoszz[playerid]);
            Specing[playerid] = 0;
    //        return 1;
        }
    
        FirstSpawn[playerid] = 0;
        TextDrawHideForPlayer(playerid, Textdraw69[playerid]);
        TextDrawHideForPlayer(playerid, Textdraw40[playerid]);
        Fails[playerid] = 0;
        PlayerKarting[playerid] = 0;
        SetTimerEx("GiveWeapons", 500, false, "i", playerid);
        //SendClientMessage(playerid, COLOR_WHITE, "Debug1");
        SetPlayerFightingStyle(playerid, PlayerInfo[playerid][pBoxFightStyle]);
    
        if(gangshow[playerid] == 1)
        {
             GangZoneShowForPlayer(playerid, Gang, GetTeamZoneColor(ZoneInfo[0][4]));//16
             GangZoneShowForPlayer(playerid, Gang2, GetTeamZoneColor(ZoneInfo[1][4]));//15
             GangZoneShowForPlayer(playerid, Gang3, GetTeamZoneColor(ZoneInfo[2][4]));//1
    
            for(new i=0; i<19; i++)
            {
                GangZoneShowForPlayer(playerid, Gangzone, GetTeamZoneColor(GangInfo[gFaction]));
             }
        }
    
        //SetPlayerWeapons(playerid);
        InitLockDoors(playerid);
        STDPlayer[playerid] = 0;
    
        gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Team
        if (gTeam[playerid] == 4) //medic / criminal reset team
        {
            gTeam[playerid] = 3;
        }
        if(gPlayerLogged[playerid] == 0)
        {
            SendClientMessage(playerid, COLOR_LIGHTRED, "**    Acest server cere logarea inaintea corectarii!   (Ai fost deconectat) **");
            KickPlayer[playerid] = 1;
         }
        if(PlayerInfo[playerid][pModel] > 0)
        {
            SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
        }
        else
        {
            SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
        }
        //SetPlayerWeapons(playerid);
        SetPlayerToTeamColor(playerid);
        PlayerFixRadio(playerid);
        //SetPlayerWeapons(playerid);
         /*if(Train[playerid] == 1)//////////////////////////////////////////////////////////////////////
        {
                if(PlayerInfo[playerid][pMember] > 0)
                {
                     SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875);
                       SetPlayerInterior(playerid, 10);
                       SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pMember]);
                       ResetPlayerWeaponsEx(playerid);
                       ServerWeapon(playerid, 24, 99999);
                       ServerWeapon(playerid, 31, 99999);
                       ServerWeapon(playerid, 5, 1);
                       ServerWeapon(playerid, 1, 1);
                       ServerWeapon(playerid, 25, 99999);
                       ServerWeapon(playerid, 34, 99999);
                       return 1;
                   }
                   else if(PlayerInfo[playerid][pLeader] > 0)
                {
                     SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875);
                       SetPlayerInterior(playerid, 10);
                       SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pLeader]);
                       ResetPlayerWeaponsEx(playerid);
                       ServerWeapon(playerid, 24, 99999);
                       ServerWeapon(playerid, 31, 99999);
                       ServerWeapon(playerid, 5, 1);
                       ServerWeapon(playerid, 1, 1);
                       ServerWeapon(playerid, 25, 99999);
                       ServerWeapon(playerid, 34, 99999);
                       return 1;
                   }
        }////////////////////////////////////////////////////////////////////////////////////
        // SPAWNS!*/
        if(gPlayerLogged[playerid] != 0)//inceputtutorial
        {
            if(PlayerInfo[playerid][pTut] == 0)
            {
                //SendClientMessage(playerid, COLOR_WHITE, "Debug4");
                SetPlayerSkin(playerid, 29);
                PlayerInfo[playerid][pModel] = 29;
                Update(playerid, pModelx);
                SetPlayerTime(playerid, 24, 0);
                InterpolateCameraPos(playerid, 1119.2964, -2035.0903, 172.1638, 1449.8196, -1781.2830, 121.5285, 13000, CAMERA_MOVE);//
                InterpolateCameraLookAt(playerid, 999.3984, -1873.4063, 10.1797, 1480.6094, -1666.1797, 22.2578, 8000, CAMERA_MOVE);//
                SetPlayerPos(playerid, 1437.6957,-2266.6355,13.5469);
                gOoc[playerid] = 1; gNews[playerid] = 0; gFam[playerid] = 1;
                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, (playerid + 1));
                SetPlayerHealth(playerid, 100.0);
                TogglePlayerControllable(playerid, 0);
                PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);//
                   ShowPlayerDialog(playerid,418,DIALOG_STYLE_MSGBOX,"Termeni si Conditii","Trebuie sa respecti regulile server-ului pentru a juca aici.nIn caz contrar vei fi deconectat automat.","Ok", "Deconectare");
                return 1;
            }
            if(PlayerInfo[playerid][pJailed] == 1)
            {
                SetPlayerWantedLevel(playerid, 0);
                SetPlayerInterior(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 1);
                new randn = random(sizeof(gRandomPlayerSpawns));
                SetPlayerPos(playerid, gRandomPlayerSpawns[randn][0], gRandomPlayerSpawns[randn][1], gRandomPlayerSpawns[randn][2]);
                TogglePlayerControllable(playerid, 0);
                SetTimerEx("SetControllable", 5000, 0, "i", playerid);
                SendClientMessage(playerid, COLOR_LIGHTRED, "Nu ti-ai terminat sentinta!");
                //UndercoveredW[playerid] = 0;
                return 1;
            }
            if(PlayerInfo[playerid][pJailed] == 2)
            {
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,268.5777,1857.9351,9.8133);
                SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453); //285.3481,96.9720,1940.9755,1799.0811
                return 1;
            }
    
    
    /*
            if(HasDied[playerid] != 0)///////////////////////
            {
                HasDied[playerid] = 0;
                if(GetPlayerCash(playerid) >= 100)
                {
                    SendClientMessage(playerid, COLOR_WHITE, "{1580EA}Medical Bill: {a9c4e4}Your medical bill comes to {1580EA}$100{a9c4e4}.");
                    GivePlayerCash(playerid, -100);
                }
                else
                {
                    SendClientMessage(playerid, COLOR_WHITE, "{1580EA}Medical Bill: {a9c4e4}Your medical bill was payed by the {1580EA}state{a9c4e4}. Be careful next time.");
                    GivePlayerCash(playerid, -100);
                }
                SetPlayerPos(playerid, 1183.8663,-1324.1689,13.5760);
                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                DynamicFactions[4][fBank] += 100;
                   SaveDynamicFactions();
                //Tax += 100;
                return 1;
            }
            
            if(PlayerInfo[playerid][pPos_x] != 0.0)
            {
                new sInt, sW;
                sInt = PlayerInfo[playerid][pPos_int];
                sW = PlayerInfo[playerid][pPos_w];
                
                SetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]);
                SetPlayerInterior(playerid, sInt);
                SetPlayerVirtualWorld(playerid, sW);
                return 1;
            }
            else
            {
                SetPlayerPos(playerid, 1382.2604, -1622.6512, 14.2860);
                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
            }
                
    
            if(SpawnChange[playerid] != 0)///////////////////////////////////////////////////
            {
                //SendClientMessage(playerid, COLOR_WHITE, "Debug4");
                if(PlayerInfo[playerid][pJailed] < 1)
                {
                    new sendernamen[MAX_PLAYER_NAME];
                    GetPlayerName(playerid, sendernamen, sizeof(sendernamen));
                    if(strfind(HouseInfo[SpawnChange[playerid]][hOwner], sendernamen, true) != -1)
                    {
                        SetPlayerPos(playerid, HouseInfo[SpawnChange[playerid]][hPosX1], HouseInfo[SpawnChange[playerid]][hPosY1], HouseInfo[SpawnChange[playerid]][hPosZ1]);
                        SetPlayerInterior(playerid, HouseInfo[SpawnChange[playerid]][hInt]);
                        SetPlayerVirtualWorld(playerid, SpawnChange[playerid]);
                        //SetPlayerWeapons(playerid);
                        return 1;
                    }
                    if(PlayerInfo[playerid][pPhousekey] != 255)
                    {
                        new houserent = PlayerInfo[playerid][pPhousekey];
                        SetPlayerPos(playerid, HouseInfo[houserent][hPosX1], HouseInfo[houserent][hPosY1], HouseInfo[houserent][hPosZ1]);
                        SetPlayerInterior(playerid, HouseInfo[houserent][hInt]);
                        SetPlayerVirtualWorld(playerid, houserent);
                        //SetPlayerWeapons(playerid);
                        return 1;
                    }
                    else SpawnChange[playerid] = 0;
                }
            }*/
            // spawnare selectspawn
            if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//Police Force spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerPos(playerid,1545.3109,-1675.4377,13.5601); // Warp the player
                    SetPlayerFacingAngle(playerid, 270.0);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                   else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerPos(playerid, 3009.1963,-1073.9287,13.2429);
                    SetPlayerFacingAngle(playerid, 270.0);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 3|| PlayerInfo[playerid][pLeader] == 3)//National Guard spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerPos(playerid,268.6282,2085.0591,17.6406);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
            }
            else if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Fire/Ambulance spawn
            {
                   if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid, -687.8197,950.0492,12.1475);
                    ServerWeapon(playerid, 42, 99999);
                    SetPlayerFacingAngle(playerid, 87.2891);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Dallas spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerPos(playerid,  1880.9835,2339.4478,10.9799);
                       SetPlayerInterior(playerid, 0);
                    SetPlayerFacingAngle(playerid, 352.3437);
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Falcone Spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,  -2461.2993,134.2299,35.1719);
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)//parlamentadssda Spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,  2387.5208,2465.8486,10.8203);
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //Hitman spawn
            {
                 if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerPos(playerid, -2624.0859,1409.6852,7.0938);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid,0);
                    SetPlayerVirtualWorld(playerid, 0);
                    PlayerInfo[playerid][pInt] = 0;
                }
            }
            else if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) //News Reporter spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerPos(playerid,  1786.5261,-1298.7737,13.3750);
                    SetPlayerFacingAngle(playerid, 182.6800);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi Cab Company spawn
            {
                   if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                     SetPlayerToTeamColor(playerid);
                    SetPlayerPos(playerid, -1969.3456,159.8245,27.6875);
                    SetPlayerInterior(playerid,0);
                    SetPlayerFacingAngle(playerid, 180);
                    SetPlayerVirtualWorld(playerid, 0);
                    PlayerInfo[playerid][pInt] = 0;
                }
            }
            else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) //Driving/Flying School spawn
            {
                   if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerPos(playerid, -1529.1654,414.9388,7.1875);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerFacingAngle(playerid, 4.6505);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                return 1;
            }
            else if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)//Bonanno spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    SetPlayerPos(playerid,-2757.7542,375.9356,4.3338);
                    SetPlayerVirtualWorld(playerid, 0);
                    PlayerInfo[playerid][pInt] = 0;
                }
            }
            else if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)//Orleans spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    SetPlayerPos(playerid,1451.2939,750.9302,11.0234);
                    SetPlayerVirtualWorld(playerid, 0);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)//15 Avenue Families Spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerInterior(playerid,0);
                    SetPlayerPos(playerid,-2666.7856,-2.0671,6.1328);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//Sacra Corona Unita
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                else
                {
                    SetPlayerInterior(playerid,0);
                    SetPlayerPos(playerid,2495.2449,-1687.1665,13.5150);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)//Tow Car Company Spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                   else
                {
                    SetPlayerInterior(playerid,0);
                    SetPlayerPos(playerid, 686.4142,-1270.1938,13.5570);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                }
            }
            else if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)//Tow Car Company Spawn
            {
                if(FirstSpawn[playerid] == 1)
                {
                    SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                }
                   else
                {
                    SetPlayerInterior(playerid,0);
                    SetPlayerPos(playerid,3009.0962,-1115.4498,13.2429);
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerToTeamColor(playerid);
                    PlayerInfo[playerid][pInt] = 0;
                }
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                   SetPlayerPos(playerid,1382.2604, -1622.6512, 14.2860);
                SetPlayerFacingAngle(playerid, 178.7956);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
              if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
            {
                MedicBill[playerid] = 0;
                MedicTime[playerid] = 0;
                NeedMedicTime[playerid] = 0;
                PlayerInfo[playerid][pDeaths] += 1;
                Update(playerid, pDeathsx);
                SetPlayerHealth(playerid, 100.0);
            }
            SetPlayerSpawn(playerid);
            SetTimerEx("UpdateSecondary", 3000, false, "i", playerid);
        }
        return 1;
    }
    

  11. 
    
    ----------
    Loaded log file: "server_log.txt".
    ----------
    
    SA-MP Dedicated Server
    ----------------------
    v0.3z, (C)2005-2014 SA-MP Team
    
    [16:55:36]
    [16:55:36] Server Plugins
    [16:55:36] --------------
    [16:55:36]  Loading plugin: streamer.dll
    [16:55:36]
    
    *** Streamer Plugin v2.6.1 by Incognito loaded ***
    
    [16:55:36]   Loaded.
    [16:55:36]  Loading plugin: sscanf.dll
    [16:55:36]
    
    [16:55:36]  ===============================
    
    [16:55:36]       sscanf plugin loaded.     
    
    [16:55:36]    (c) 2009 Alex "Y_Less" Cole
    
    [16:55:36]  ===============================
    
    [16:55:36]   Loaded.
    [16:55:36]  Loading plugin: mysql.dll
    [16:55:36]
    
      > MySQL plugin R5 successfully loaded.
    
    [16:55:36]   Loaded.
    [16:55:36]  Loading plugin: crashdetect.dll
    [16:55:36]   crashdetect v4.8.3 is OK.
    [16:55:36]   Loaded.
    [16:55:36]  Loaded 4 plugins.
    
    [16:55:36]
    [16:55:36] Ban list
    [16:55:36] --------
    [16:55:36]  Loaded: samp.ban
    [16:55:36]
    [16:55:36]
    [16:55:36] Filterscripts
    [16:55:36] ---------------
    [16:55:36]   Loading filterscript 'Harta.amx'...
    [16:55:36] [SCRIPT]:FS Loaded 8694 Objects
    [16:55:36]   Loaded 1 filterscripts.
    
    [16:55:36] SUCCES: Conexiunea la baza de date`serverrpg` a fost stabilita!
    [16:55:42] ** "200" houses were created!
    [16:55:42]
    =============================================================
    [16:55:42]                 The house system loaded succesfully!
    [16:55:42] =============================================================
    
    [16:55:42] [FACTIONS]: Name:None, ID:0, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:PD, ID:1, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:FBI, ID:2, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:NB, ID:3, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:Fire/Ambulance, ID:4, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:Cuneo, ID:5, Mats:49994, Drugs:9, Money:36001
    [16:55:42] [FACTIONS]: Name:Corleone, ID:6, Mats:1, Drugs:0, Money:75798
    [16:55:42] [FACTIONS]: Name:Mayor, ID:7, Mats:0, Drugs:0, Money:20000
    [16:55:42] [FACTIONS]: Name:Hitman, ID:8, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:NewsReporter, ID:9, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:Taxi, ID:10, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:S.I., ID:11, Mats:0, Drugs:0, Money:0
    [16:55:42] [FACTIONS]: Name:Barzini Family, ID:12, Mats:0, Drugs:0, Money:18000
    [16:55:42] [FACTIONS]: Name:Tattaglia Family, ID:13, Mats:21000, Drugs:0, Money:72003
    [16:55:42] [FACTIONS]: Name:Paterno Family, ID:14, Mats:5000001, Drugs:5000000, Money:27000
    [16:55:42] [FACTIONS]: Name:Stracci, ID:15, Mats:2, Drugs:0, Money:18000
    [16:55:42] GangZone:1 Owner:5 Hours Left: 3
    [16:55:42] GangZone:2 Owner:5 Hours Left: 0
    [16:55:42] GangZone:3 Owner:13 Hours Left: 0
    [16:55:42] GangZone:4 Owner:15 Hours Left: 0
    [16:55:42] GangZone:5 Owner:5 Hours Left: 0
    [16:55:42] GangZone:6 Owner:12 Hours Left: 3
    [16:55:42] GangZone:7 Owner:13 Hours Left: 0
    [16:55:42] GangZone:8 Owner:14 Hours Left: 3
    [16:55:42] GangZone:9 Owner:14 Hours Left: 0
    [16:55:42] GangZone:10 Owner:15 Hours Left: 0
    [16:55:42] GangZone:11 Owner:6 Hours Left: 0
    [16:55:42] GangZone:12 Owner:5 Hours Left: 0
    [16:55:42] GangZone:13 Owner:6 Hours Left: 0
    [16:55:42] GangZone:14 Owner:6 Hours Left: 0
    [16:55:42] GangZone:15 Owner:6 Hours Left: 0
    [16:55:42] GangZone:16 Owner:12 Hours Left: 0
    [16:55:42] GangZone:17 Owner:6 Hours Left: 0
    [16:55:42] GangZone:18 Owner:13 Hours Left: 0
    [16:55:42] BizzInfo:0 Owner:The State Message:Gun Shop Los Santos Entfee:1000 Till:-110100 Products:150/500 Interior:1.
    
    [16:55:42] BizzInfo:1 Owner:The State Message:Gun Shop LV Entfee:0 Till:0 Products:100/500 Interior:4.
    
    [16:55:42] BizzInfo:2 Owner:The State Message:Police Armoury Entfee:1 Till:1 Products:99/500 Interior:1.
    
    [16:55:42] BizzInfo:3 Owner:The State Message:Restaurant Chilliad Entfee:1000 Till:10000 Products:490/500 Interior:6.
    
    [16:55:42] BizzInfo:4 Owner:The State Message:Chilliad Spa Entfee:100 Till:601 Products:99994/100000 Interior:0.
    
    [16:55:42] BizzInfo:5 Owner:The State Message:24/7 Benzinarie LS Entfee:1 Till:2 Products:99990/100000 Interior:17.
    
    [16:55:42] BizzInfo:6 Owner:The State Message:24/7 Gara LS Entfee:0 Till:10000000 Products:98/100000 Interior:17.
    
    [16:55:42] BizzInfo:7 Owner:The State Message:24/7 Entfee:2 Till:2500 Products:100000/100000 Interior:17.
    
    [16:55:42] BizzInfo:8 Owner:The State Message:24/7 Vinewood LS Entfee:0 Till:0 Products:100000/100000 Interior:17.
    
    [16:55:42] BizzInfo:9 Owner:The State Message:24/7 Benzinarie LS Entfee:0 Till:0 Products:10000/100000 Interior:17.
    
    [16:55:42] BizzInfo:10 Owner:The State Message:24/7 Plaja LS Entfee:0 Till:0 Products:99999/100000 Interior:17.
    
    [16:55:42] BizzInfo:11 Owner:The State Message:24/7 Grove Street Entfee:0 Till:0 Products:100000/100000 Interior:17.
    
    [16:55:42] BizzInfo:12 Owner:The State Message:Sex Shop Entfee:0 Till:1 Products:100000/100000 Interior:3.
    
    [16:55:42] BizzInfo:13 Owner:The State Message:Sex Shop 24/7 LS Entfee:0 Till:0 Products:99998/100000 Interior:3.
    
    [16:55:42] BizzInfo:14 Owner:The State Message:Cluckin' Bell Grove Street Entfee:0 Till:0 Products:1000/100000 Interior:9.
    
    [16:55:42] BizzInfo:15 Owner:The State Message:Cluckin' Bell T.C.C Entfee:0 Till:0 Products:99997/100000 Interior:9.
    
    [16:55:42] BizzInfo:16 Owner:The State Message:Burger Shot Plaja LS Entfee:0 Till:0 Products:100000/100000 Interior:10.
    
    [16:55:42] BizzInfo:17 Owner:The State Message:Burger Shot LS Entfee:0 Till:0 Products:99996/100000 Interior:10.
    
    [16:55:42] BizzInfo:18 Owner:The State Message:Well Stacked Pizza P'N'S Entfee:0 Till:0 Products:99995/100000 Interior:5.
    
    [16:55:42] BizzInfo:19 Owner:The State Message:24/7 Periferie Las Venturas Entfee:0 Till:0 Products:100000/100000 Interior:17.
    
    [16:55:43] BizzInfo:20 Owner:The State Message:24/7 Sacra Corona LV Entfee:0 Till:0 Products:100000/100000 Interior:17.
    
    [16:55:43] BizzInfo:21 Owner:The State Message:24/7 Burger Shot LV Entfee:0 Till:0 Products:100000/100000 Interior:17.
    
    [16:55:43] BizzInfo:22 Owner:The State Message:24/7 Entfee:0 Till:1 Products:100000/100000 Interior:17.
    
    [16:55:43] BizzInfo:23 Owner:The State Message:24/7 Entfee:0 Till:1 Products:99999/100000 Interior:17.
    
    [16:55:43] BizzInfo:24 Owner:The State Message:24/7 Entfee:0 Till:1 Products:99996/100000 Interior:17.
    
    [16:55:43] BizzInfo:25 Owner:The State Message:24/7 Entfee:0 Till:1 Products:100000/100000 Interior:17.
    
    [16:55:43] BizzInfo:26 Owner:The State Message:Burger Shot 24/7 LV Entfee:0 Till:0 Products:99994/100000 Interior:10.
    
    [16:55:43] BizzInfo:27 Owner:The State Message:Burger Shot Casino LV Entfee:0 Till:0 Products:99996/100000 Interior:10.
    
    [16:55:43] BizzInfo:28 Owner:The State Message:Well Stacked Pizza Entfee:0 Till:0 Products:99996/100000 Interior:5.
    
    [16:55:43] BizzInfo:29 Owner:The State Message:Cluckin' Bell Periferie LV Entfee:0 Till:0 Products:100000/100000 Interior:9.
    
    [16:55:43] BizzInfo:30 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:31 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:32 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:33 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:34 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:35 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:36 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:37 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:38 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:39 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:40 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:41 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:42 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:43 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:44 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:45 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:46 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:47 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:48 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:49 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:50 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:51 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:52 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:53 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:54 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:55 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:56 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:57 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:58 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:59 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:60 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:61 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:62 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:63 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:64 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:65 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:66 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:67 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:68 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:69 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:70 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:71 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:72 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:73 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:74 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:75 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:76 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:77 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:78 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:79 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:80 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:81 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:82 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:83 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:84 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:85 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:86 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:87 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:88 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:89 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:90 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:91 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:92 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:93 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:94 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:95 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:96 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:97 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:98 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] BizzInfo:99 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.
    
    [16:55:43] SBizzInfo:0 Owner:The State Message:RentCar LS Entfee:1000 Till:0 Products:94/100 Interior:0.
    
    [16:55:43] SBizzInfo:1 Owner:The State Message:~w~Rent Bike Entfee:0 Till:0 Products:96/100 Interior:0.
    
    [16:55:43] SBizzInfo:2 Owner:The State Message:Phone CO. Entfee:50 Till:0 Products:100/100 Interior:0.
    
    [16:55:43] SBizzInfo:3 Owner:The State Message:Gaso Company Entfee:20 Till:0 Products:100/100 Interior:0.
    
    [16:55:43] SBizzInfo:4 Owner:The State Message:~w~Electricity Company Entfee:50 Till:49701 Products:100000/100 Interior:0.
    
    [16:55:43] SBizzInfo:5 Owner:The State Message:Blocul Pershing Square Entfee:500 Till:9525 Products:100/100 Interior:0.
    
    [16:55:43] SBizzInfo:6 Owner:The State Message:~w~House Upgrade Entfee:0 Till:1 Products:100/100 Interior:0.
    
    [16:55:43] SBizzInfo:7 Owner:The State Message:CNN Los Santos Entfee:35 Till:245 Products:10/100 Interior:0.
    
    [16:55:43] SBizzInfo:8 Owner:The State Message:CNN LAS VENTURAS  Entfee:25 Till:0 Products:100000/100 Interior:0.
    
    [16:55:43] SBizzInfo:9 Owner:The State Message:~w~General Store Entfee:0 Till:0 Products:100/100 Interior:0.
    
    [16:55:43] SBizzInfo:10 Owner:The State Message:~w~Paintball Arena Entfee:0 Till:1 Products:92/100 Interior:0.
    
    [16:55:43] SBizzInfo:11 Owner:The State Message:~w~Kart Track Entfee:0 Till:0 Products:89/100 Interior:0.
    
    [16:55:43] SBizzInfo:12 Owner:The State Message:~w~RentCar LV Entfee:0 Till:0 Products:88/100 Interior:0.
    
    [16:55:43] SBizzInfo:13 Owner:The State Message:RentCar SF Entfee:1000 Till:32000 Products:97/100 Interior:0.
    
    [16:55:43] SBizzInfo:14 Owner:The State Message:Going Company Entfee:20 Till:0 Products:98/100 Interior:0.
    
    [16:55:43] SBizzInfo:15 Owner:The State Message:Xommer Company Entfee:20 Till:0 Products:98/100 Interior:0.
    
    [16:55:43]  Current Pickups = 145
    [16:55:43] 1 cars created!
    [16:55:43] GM LOADED
    [16:55:43] Number of vehicle models: 115
    [16:55:59] Incoming connection: 127.0.0.1:63088
    [16:55:59] [join] sEALAND has joined the server (0:127.0.0.1)
    [16:56:07] sEALAND has logged in.
    [16:56:07] [debug] Run time error 4: "Array index out of bounds"
    [16:56:07] [debug]  Accessing element at index 18 past array upper bound 17
    [16:56:07] [debug] AMX backtrace:
    [16:56:07] [debug] #0 000475e4 in public OnPlayerSpawn () from GameMode.amx
    
    
    

    Asta este problema   :mellow:

     

    [16:56:07] [debug] Run time error 4: "Array index out of bounds"

    [16:56:07] [debug]Accessing element at index 18 past array upper bound 17

    [16:56:07] [debug] AMX backtrace:

    [16:56:07] [debug] #0 000475e4 in public OnPlayerSpawn () from GameMode.amx

  12. on player death

     

    public OnPlayerDeath(playerid, killerid, reason)
    {
        // ANTI FAKE KILL
        new time = gettime( ), stringfk[256];
        if(killerid ==  INVALID_PLAYER_ID)
        {
            switch( time - g_cleoData[ playerid ] [ E_FK_LASTDEATH ] )
            {
                case 0 .. 3:
                {
                    g_cleoData[ playerid ] [ E_FK_DEATHSPAM ] ++;
                    if( g_cleoData[ playerid ] [ E_FK_DEATHSPAM ] >= 3 )
                    {
                        new sendersm[MAX_PLAYER_NAME];
                        GetPlayerName(playerid, sendersm, sizeof(sendersm));
                        format(stringfk, sizeof(stringfk), "Info: %s(%d) a fost dat afara de catre RBot, motiv: Fake Kill.", sendersm, playerid);
                           SendClientMessageToAll(COLOR_LIGHTRED, stringfk);
                         Kick(playerid);
                        return 1;
                    }
                }
                default: g_cleoData[ playerid ] [ E_FK_DEATHSPAM ] = 0;
            }
            g_cleoData[ playerid ] [ E_FK_LASTDEATH ] = time;
        }
    
        Vestiar[playerid] = 0;
        if(IsPlayerConnected(playerid))
        {
            //
            new factionid[MAX_PLAYERS];
            if(PlayerInfo[killerid][pMember] != 0) factionid[killerid] = PlayerInfo[killerid][pMember];
            else if(PlayerInfo[killerid][pLeader] != 0) factionid[killerid] = PlayerInfo[killerid][pLeader];
            if(PlayerInfo[playerid][pMember] != 0) factionid[playerid] = PlayerInfo[playerid][pMember];
            else if(PlayerInfo[playerid][pLeader] != 0) factionid[playerid] = PlayerInfo[playerid][pLeader];
    
            if(War != 0)
            {
                new string[256];
                if(GetPlayerCash(playerid) > 300)
                {
                    
                    new sendername[MAX_PLAYER_NAME], sendernamen[MAX_PLAYER_NAME];
                    GetPlayerName(killerid, sendername, sizeof(sendername));
                    GetPlayerName(playerid, sendernamen, sizeof(sendernamen));
                    GivePlayerCash(killerid, 300);
                    GivePlayerCash(playerid, -300);
                    GameTextForPlayer(playerid, "~r~-$300", 3000, 1);
                    GameTextForPlayer(killerid, "~g~$300", 3000, 1);
                    format(string, sizeof(string), "{a9c4e4}War: {FFFFFF}Ai fost omorat de {1580EA}%s{FFFFFF} si ai pierdut $300!", sendername);
                    SendClientMessage(playerid, COLOR_WHITE, string);
                    format(string, sizeof(string), "{a9c4e4}War: {FFFFFF}L-ai omorat pe {1580EA}%s{FFFFFF} si ai castigat $300!", sendernamen);
                    SendClientMessage(killerid, COLOR_WHITE, string);
                    WarStats1[killerid] ++;
                    WarStats2[playerid] ++;
                    if(WarStats1[killerid] > WarScore1)
                    {
                        WarScore1 = WarStats1[killerid];
                        WarMan1 = killerid;
                    }
                    if(WarStats2[playerid] > WarScore2)
                    {
                        if(WarMan1 != playerid)
                        {
                            WarScore2 = WarStats2[playerid];
                            WarMan2 = playerid;
                        }
                    }
                }
                else
                {
                    new sendername[MAX_PLAYER_NAME], sendernamen[MAX_PLAYER_NAME];
                    GetPlayerName(killerid, sendername, sizeof(sendername));
                    GetPlayerName(playerid, sendernamen, sizeof(sendernamen));
                    GivePlayerCash(killerid, 300);
                    GivePlayerCash(playerid, -300);
                    GameTextForPlayer(playerid, "~r~-$300", 3000, 1);
                    GameTextForPlayer(killerid, "~g~$300", 3000, 1);
                    format(string, sizeof(string), "{a9c4e4}War: {FFFFFF}Ai fost omorat de catre {1580EA}%s{FFFFFF} si ai pierdut suma de $300!", sendername);
                    SendClientMessage(playerid, COLOR_WHITE, string);
                    format(string, sizeof(string), "{a9c4e4}War: {FFFFFF}L-ai omorat pe {1580EA}%s{FFFFFF} si ai primit suma de $300!", sendernamen);
                    SendClientMessage(killerid, COLOR_WHITE, string);
                }
            }
    
            new name[MAX_PLAYER_NAME];
            new string[256];
            //new dmessage[128];
            //new deathreason[20];
            new victimteam;
            new Float:px,Float:py,Float:pz;
            new killerteam;
    
            victimteam = gTeam[playerid];
            killerteam = gTeam[killerid];
            gPlayerSpawned[playerid] = 0;
            GetPlayerName(playerid, name, sizeof(name));
            PlayerInfo[playerid][pLocal] = 255;
            GetPlayerPos(playerid, px, py, pz);
            if(IsACop(killerid) && PlayerInfo[playerid][pRobbingBank] == 1)
            {
                //new string[256];
                new sendernamerob[MAX_PLAYER_NAME], sendernamerob1[MAX_PLAYER_NAME];
                GetPlayerName(playerid, sendernamerob, sizeof(sendernamerob));
                GetPlayerName(killerid, sendernamerob1, sizeof(sendernamerob1));
                GivePlayerCash(killerid, 5000);
                format(string, sizeof(string), "{1580EA}Rob: {FFFFFF}Ai oprit jaful lui %s! Pentru asta, banca ti-a dat %d.", sendernamerob, 5000);
                SendClientMessage(killerid, COLOR_WHITE, string);
                format(string, sizeof(string), "{1580EA}Rob: {FFFFFF}%s a oprit jaful tau! Pentru asta, el a primit %d si tu ai pierdut %d.", sendernamerob1, 5000, 5000);
                SendClientMessage(playerid, COLOR_WHITE, string);
                GivePlayerCash(playerid, -5000);
            }
             if(WantedLevel[playerid] >= 1)
            {
                //new string[256];
                new price = WantedLevel[playerid] * 300;
                if(GetPlayerCash(playerid) > price)
                {
                    format(string, sizeof(string), "~w~Suspectul a fost~r~omorat~n~Bonus~g~$%d", price);
                    GameTextForPlayer(killerid, string, 5000, 1);
                    ConsumingMoney[killerid] = 1;
                    GivePlayerCash(killerid, price);
                    PlayerPlaySound(killerid, 1058, 0.0, 0.0, 0.0);
                    GivePlayerCash(playerid, - price);
                }
                PlayerInfo[playerid][pWantedDeaths] += 1;
                Update(playerid, pWantedDeathsx);
                PlayerInfo[playerid][pJailed] = 1;
                Update(playerid, pJailedx);
                PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(350);
                Update(playerid, pJailTimex);
                SetPlayerWantedLevel(playerid, 0);
                 format(string, sizeof(string), "* Esti in inchisoare pentru %d secunde si ai pierdut $%d pentru ca te-a prins un politist.", PlayerInfo[playerid][pJailTime], price);
                SendClientMessage(playerid, COLOR_LIGHTRED, string);
                WantedPoints[playerid] = 0;
                WantedLevel[playerid] = 0;
                Update(playerid, pWantedx);
                //UndercoveredW[playerid] = 0;
                SpawnPlayer(playerid);
            }
    
            if(reason == 38)
            {
                new kstring[128];
                new kickname[MAX_PLAYER_NAME];
                if(IsPlayerConnected(killerid))
                {
                    GetPlayerName(killerid, kickname, sizeof(kickname));
                    format(string, 256, "AdmWarning: [%d]%s a omorat un jucator cu un minigun, verificati daca nu face fake kill.",killerid,kickname);
                    ABroadCast(COLOR_YELLOW,string,1);
                    printf("%s", kstring);
                }
            }
            
            if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11)
            {
                DisablePlayerCheckpoint(playerid);
                gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
            }
            new caller = Mobile[playerid];
            if(caller != 255)
            {
                if(caller < 255)
                {
                    SendClientMessage(caller,  COLOR_GRAD2, "    Apelul s-a incheiat brusc...");
                    CellTime[caller] = 0;
                    CellTime[playerid] = 0;
                    Mobile[caller] = 255;
                    TogglePlayerControllable(caller, 1);
                }
                Mobile[playerid] = 255;
                CellTime[playerid] = 0;
                TogglePlayerControllable(playerid, 1);
            }
            ClearCrime(playerid);
            if(PlayerPaintballing[playerid] != 0)
            {
                PlayerPaintballKills[killerid] ++;
                if(PlayerPaintballKills[killerid] > PaintballWinnerKills)
                {
                    new killer[MAX_PLAYER_NAME];
                    PaintballWinner = killerid;
                    PaintballWinnerKills = PlayerPaintballKills[killerid];
                    GetPlayerName(killerid, killer, sizeof(killer));
                    for(new i = 0; i < MAX_PLAYERS; i++)
                    {
                        if(IsPlayerConnected(i))
                        {
                            if(PlayerPaintballing != 0)
                            {
                                format(string, sizeof(string), "*    %s conduce cu %d fraguri.",killer,PaintballWinnerKills);
                                SendClientMessage(i, COLOR_WHITE, string);
                            }
                        }
                    }
                }
                return 1;
            }
            
            if(PlayerInfo[playerid][pHeadValue] > 0)
            {
                if(IsPlayerConnected(killerid))
                {
                    if(gTeam[killerid] == 10 || PlayerInfo[killerid][pLeader] == 8)
                    {
                        if(GoChase[killerid] == playerid)
                        {
                            ConsumingMoney[killerid] = 1;
                            new killer[MAX_PLAYER_NAME];
                            GetPlayerName(killerid, killer, sizeof(killer));
                            GivePlayerCash(killerid, PlayerInfo[playerid][pHeadValue]);
                            format(string,128,"<< Hitman %s a terminat contractul pe %s si a primit $%d >>",killer,name,PlayerInfo[playerid][pHeadValue]);
                            SendFamilyMessage(8, COLOR_YELLOW, string);
                            PlayerInfo[playerid][pHeadValue] = 0;
                            Update(playerid, pHeadValuex);
                            undercover[killerid] = 0;
                             for(new i = 0; i < MAX_PLAYERS; i++)
                            {
                                ShowPlayerNameTagForPlayer(i, killerid, 1);
                            }
                            SetPlayerSkin(killerid, PlayerInfo[killerid][pModel]);
                            TogglePlayerControllable(playerid, 1);
                            GotHit[playerid] = 0;
                            GetChased[playerid] = 999;
                            GoChase[killerid] = 999;
                        }
                    }
                }
            }
            
            if(victimteam >= 4)
            {
                if(IsPlayerConnected(killerid))
                {
                    //new killer[MAX_PLAYER_NAME];
                    //GetPlayerName(killerid, killer, sizeof(killer));
                    if(gTeam[killerid] != 2) { WantedPoints[killerid] += 2; } //+ 2 wanted points
                    if(SafeTime[playerid] <= 0)
                    {
                        if(gTeam[killerid] != gTeam[playerid])
                        {
                            if(GetPlayerState(killerid) == 1)
                            {
                                PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills] + 2;
                            }
                            else
                            {
                                PlayerInfo[killerid][pKills]++;
                            }
                            Update(killerid, pKillsx);
                             PlayerPlaySound(killerid, 1083, 0.0, 0.0, 0.0);
                        }
                    }
                }
            }
    
            if (victimteam >= 3 && WantedPoints[playerid] > 0 && killerteam == 2)
            {
                SetPlayerFree(playerid,killerid, "ai fost omorat");
            }
            killerid = INVALID_PLAYER_ID;
            SetPlayerColor(playerid,COLOR_GRAD2);
            if (!IsACop(killerid))
            {
                if(factionid[killerid] == factionid[playerid]) return 1;
                if(IsAMafia(killerid) && IsAMafia(playerid)) return 1;
                if(IsACop(killerid) && IsACop(playerid)) return 1;
                //if(PlayerInfo[killerid][pMember] == 8 || PlayerInfo[killerid][pLeader] == 8) return 1;
                WantedPoints[killerid] ++;
                SetPlayerCriminal(killerid,255, "Crima de gradul intai");
            }
        }
        return 1;
    }


    ia baga ma ce ti-am zis inainte de publicul ongamemodeinit , si imi zici daca se mai intampla.

    daca se mai intampla, ce nu cred ca e cazul posteaza server log

     

    tot eroare da.

    • Upvote 1
  13. Problema intalnita (descriere):Pai am un gm care ruleaza mysql si imi da eroarea urmatoare
    Ero(area / rile) / warning-(ul / urile):[22:20:49] [debug] Run time error 4: "Array index out of bounds"

    [22:20:49] [debug]  Accessing element at index 65535 past array upper bound 499
    [22:20:49] [debug] AMX backtrace:
    [22:20:49] [debug] #0 0002577c in public OnPlayerDeath () from GameMode.amx

    Liniile de cod / sursa / script-ul(obligatoriu):
    Imagini / Video (optional):
    Ati incercat sa rezolvati singur?:da

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.