! - . . , , . , , , (, ) . !







Visage Role Play - . /adminka , ! http://visage-rp.ru
VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

: TextDraw /capture [ALL]

1 10 58

  1. #1

      Botan

    :
    :21.01.2013
    :
    :415
    :191 [+/-] 

    TextDraw /capture [ALL]

    . TextDraw /capture. , Sergo.

    new:

    PHP :
    new CaptureOn[MAX_PLAYERS];
    new 
    PlayerText:CaptureTime[MAX_PLAYERS];
    new 
    PlayerText:CaptureWar[MAX_PLAYERS];
    new 
    PlayerText:CaptureGang[MAX_PLAYERS]; 
    stock:

    PHP :
    stock CaptureTextDraws(playerid)
    {
        
    CaptureTime[playerid] = CreatePlayerTextDraw(playerid,95.00000290.00000"Time:~r~ 00:00");
        
    PlayerTextDrawBackgroundColor(playerid,CaptureTime[playerid], 255);
        
    PlayerTextDrawAlignment(playerid,CaptureTime[playerid], 2);
        
    PlayerTextDrawLetterSize(playerid,CaptureTime[playerid], 0.3300001.000000);
        
    PlayerTextDrawFont(playerid,CaptureTime[playerid],2);
        
    PlayerTextDrawColor(playerid,CaptureTime[playerid], COLOR_GREEN);
        
    PlayerTextDrawSetOutline(playerid,CaptureTime[playerid],1);
        
    PlayerTextDrawSetProportional(playerid,CaptureTime[playerid],1);
        
    PlayerTextDrawSetShadow(playerid,CaptureTime[playerid],1);
        
    PlayerTextDrawHide(playeridCaptureTime[playerid]);
        
    CaptureWar[playerid] = CreatePlayerTextDraw(playerid,95.00000300.00000"Vagos: ~w~10");
        
    PlayerTextDrawBackgroundColor(playerid,CaptureWar[playerid], 255);
        
    PlayerTextDrawAlignment(playerid,CaptureWar[playerid], 2);
        
    PlayerTextDrawLetterSize(playerid,CaptureWar[playerid], 0.3300001.000000);
        
    PlayerTextDrawFont(playerid,CaptureWar[playerid],2);
        
    PlayerTextDrawColor(playerid,CaptureWar[playerid], COLOR_GREEN);
        
    PlayerTextDrawSetOutline(playerid,CaptureWar[playerid],1);
        
    PlayerTextDrawSetProportional(playerid,CaptureWar[playerid],1);
        
    PlayerTextDrawSetShadow(playerid,CaptureWar[playerid],1);
        
    PlayerTextDrawHide(playeridCaptureWar[playerid]);
        
    CaptureGang[playerid] = CreatePlayerTextDraw(playerid,95.00000310.00000"Ballas: ~w~12");
        
    PlayerTextDrawBackgroundColor(playerid,CaptureGang[playerid], 255);
        
    PlayerTextDrawAlignment(playerid,CaptureGang[playerid], 2);
        
    PlayerTextDrawLetterSize(playerid,CaptureGang[playerid], 0.3300001.000000);
        
    PlayerTextDrawFont(playerid,CaptureGang[playerid],2);
        
    PlayerTextDrawColor(playerid,CaptureGang[playerid], COLOR_GREEN);
        
    PlayerTextDrawSetOutline(playerid,CaptureGang[playerid],1);
        
    PlayerTextDrawSetProportional(playerid,CaptureGang[playerid],1);
        
    PlayerTextDrawSetShadow(playerid,CaptureGang[playerid],1);
        
    PlayerTextDrawHide(playeridCaptureGang[playerid]);

    public OnPlayerConnect(playerid):

    PHP :
    CaptureOn[playerid] = 0
    public OnPlayerDisconnect(playerid, reason):

    PHP :
    if(CaptureOn[playerid] == 1)
        {
            
    CaptureOn[playerid] = 0;
            
    PlayerTextDrawDestroy(playeridCaptureTime[playerid]);
            
    PlayerTextDrawDestroy(playeridCaptureGang[playerid]);
            
    PlayerTextDrawDestroy(playeridCaptureWar[playerid]);
        } 
    public GzCheck() :

    PHP :
    public GzCheck()
    {
        for(new 
    0sizeof(GZInfo); i++)
        {
            new 
    OnZONE[130][20];
            if(
    ZoneOnBattle[i] == 1)
            {
                if(
    GZSafeTime[i] > 0)
                {
                    
    GZSafeTime[i] --;
                }
                foreach(new 
    Player)
                {
                    new 
    faction PlayerInfo[x][pMember];
                    if(
    faction == GZInfo[i][gNapad] || faction == GZInfo[i][gFrakVlad])
                    {
                        if(
    PlayerToKvadrat(x,GZInfo[i][gCoords][0], GZInfo[i][gCoords][1],GZInfo[i][gCoords][2],GZInfo[i][gCoords][3]))
                        {
                            if(
    ZoneOnBattle[i] == 1)
                            {
                                
    OnZONE[i][faction] ++;
                            }
                        }
                    }
                }
                foreach(new 
    Player)
                {
                    new 
    string[200];
                    new 
    PlayerInfo[x][pMember];
                    if(
    == GZInfo[i][gNapad] || == GZInfo[i][gFrakVlad])
                    {
                        if(
    CaptureOn[x] == 0)
                        {
                            
    CaptureTextDraws(x);
                            
    PlayerTextDrawShow(xCaptureTime[x]);
                            
    PlayerTextDrawShow(xCaptureGang[x]);
                            
    PlayerTextDrawShow(xCaptureWar[x]);
                            
    CaptureOn[x] = 1;
                        }
                        
    format(string,120,"~y~Time:~w~ %s",Convert(GZSafeTime[i]));
                        
    PlayerTextDrawSetString(x,CaptureTime[x],string);
                        
    format(string,120,"~y~%s:~w~ %d",GetGangName(GZInfo[i][gNapad]),OnZONE[i][GZInfo[i][gNapad]]);
                        
    PlayerTextDrawSetString(x,CaptureGang[x],string);
                        
    format(string,120,"~y~%s:~w~ %d",GetGangName(GZInfo[i][gFrakVlad]),OnZONE[i][GZInfo[i][gFrakVlad]]);
                        
    PlayerTextDrawSetString(x,CaptureWar[x],string);
                        
    //OnZONE[i][y] = 0;
                    
    }
                }
                new 
    asd;
                for(new 
    x20x++)
                {
                    if(
    OnZONE[i][x] > && IsInAllowedF(x) && GZSafeTime[i] <= 0asd++;
                }
                if(
    asd == 1)
                {
                    new 
    string[200];
                    for(new 
    020z++)
                    {
                        if(
    OnZONE[i][z] > 0)
                        {
                            new 
    zx,zl;
                            
    zx z;
                            
    zl i;
                            if(
    GZInfo[i][gFrakVlad] == z)
                            {
                                
    SendFamilyMessage(GZInfo[i][gFrakVlad],0x00B953AA,"   ");
                                
    SendFamilyMessage(GZInfo[i][gNapad],0xC56565AA,"    ");
                                foreach(new 
    Player)
                                {
                                    if(
    PlayerInfo[y][pMember] == GZInfo[i][gNapad] || PlayerInfo[y][pMember] == GZInfo[i][gFrakVlad])
                                    {
                                        
    CaptureOn[y] = 0;
                                        
    PlayerTextDrawDestroy(yCaptureTime[y]);
                                        
    PlayerTextDrawDestroy(yCaptureGang[y]);
                                        
    PlayerTextDrawDestroy(yCaptureWar[y]);
                                    }
                                }
                            }
                            else
                            {
                                
    SendFamilyMessage(GZInfo[i][gNapad], 0x00B953AA,"      ");
                                for(new 
    0sizeof(GZInfo); y++)
                                {
                                    if(
    GZInfo[y][gFrakVlad] == 12TotalGzB++;
                                    if(
    GZInfo[y][gFrakVlad] == 13TotalGzV++;
                                    if(
    GZInfo[y][gFrakVlad] == 15TotalGzG++;
                                    if(
    GZInfo[y][gFrakVlad] == 17TotalGzA++;
                                    if(
    GZInfo[y][gFrakVlad] == 18TotalGzR++;
                                }
                                switch(
    GZInfo[i][gNapad])
                                {
                                    case 
    12:
                                    {
                                        
    format(stringsizeof(string), "       %d ",TotalGzB*300);
                                        
    SendFamilyMessage(GZInfo[i][gNapad], 0x00B953AAstring);
                                    }
                                    case 
    13:
                                     {
                                        
    format(stringsizeof(string), "       %d ",TotalGzV*300);
                                        
    SendFamilyMessage(GZInfo[i][gNapad], 0x00B953AAstring);
                                    }
                                    case 
    15:
                                    {
                                        
    format(stringsizeof(string), "       %d ",TotalGzG*300);
                                        
    SendFamilyMessage(GZInfo[i][gNapad], 0x00B953AAstring);
                                    }
                                    case 
    17:
                                    {
                                        
    format(stringsizeof(string), "       %d ",TotalGzA*300);
                                        
    SendFamilyMessage(GZInfo[i][gNapad], 0x00B953AAstring);
                                    }
                                    case 
    18:
                                    {
                                        
    format(stringsizeof(string), "       %d ",TotalGzR*300);
                                        
    SendFamilyMessage(GZInfo[i][gNapad], 0x00B953AAstring);
                                    }
                                }
                                
    SendFamilyMessage(GZInfo[i][gFrakVlad], 0xC56565AA,"      ");
                                foreach(new 
    Player)
                                {
                                    if(
    PlayerInfo[y][pMember] == GZInfo[i][gNapad] || PlayerInfo[y][pMember] == GZInfo[i][gFrakVlad])
                                    {
                                        
    CaptureOn[y] = 0;
                                        
    PlayerTextDrawDestroy(yCaptureTime[y]);
                                        
    PlayerTextDrawDestroy(yCaptureGang[y]);
                                        
    PlayerTextDrawDestroy(yCaptureWar[y]);
                                    }
                                }
                            }
                            
    captures--;
                            
    ItsWar[GZInfo[i][gNapad]] = -1;
                            
    ItsWar[GZInfo[i][gFrakVlad]] = -1;
                            
    ClearTotalGz();
                            
    ZoneOnBattle[zl] = 0;
                            
    GZInfo[zl][gNapad] = 0;
                            
    GZInfo[zl][gFrakVlad] = zx;
                            
    GangZoneStopFlashForAll(GZInfo[zl][gID]);
                            
    GangZoneHideForAll(GZInfo[zl][gID]);
                            
    GangZoneShowForAll(GZInfo[zl][gID],GetGangZoneColor(zl));
                            
    SaveGZ();
                            if(
    captures == 0)
                            {
                                
    KillTimer(GzCheckTimer);
                                
    GzCheckOn 0;
                            }
                            break;
                        }
                    }
                }
            }
        }



    - Botan.
    ? + ;)
    Botan; 12.05.2013 21:09. :
  2. 8 c Botan :

    kepo989 (12.05.2013), Lance_Weeknd (18.05.2013), mans (27.06.2013), nevagno (12.05.2013), Nike54 (17.05.2013), Sergo (11.05.2013), Thomas_Makaveli (11.05.2013), XemyL (11.05.2013)

  3. #2

      RID

    :
    :15.12.2011
    :
    :346
    :93 [+/-] 
    , ,
  4. #3

      Botan

    :
    :21.01.2013
    :
    :415
    :191 [+/-] 
    , ,
    , , , )
  5. #4

      Twein

    :
    :21.04.2013
    :97
    :4 [+/-] 
    RakNet Role Play.
    - RAKNET.RU.
    - RAKNET.SU.
  6. #5

      BearJust

    :
    :27.03.2013
    :41
    :0 [+/-] 
    100% !
  7. #6

      Botan

    :
    :21.01.2013
    :
    :415
    :191 [+/-] 
    100% !
    , Sergo.
  8. #7

      Mayweather

    :
    :28.10.2012
    :132
    :3 [+/-] 
    .
    SIL D:
  9. #8

      BearJust

    :
    :27.03.2013
    :41
    :0 [+/-] 
    , , , delete !
  10. #9

      Botan

    :
    :21.01.2013
    :
    :415
    :191 [+/-] 
  11. #10

      RID

    :
    :15.12.2011
    :
    :346
    :93 [+/-] 
    ?

, : 2

/capture, 100, 1000, , , , , battle, capture, , , , , , , , , , , , , , php, playerid, playerinfo

(, , , , , ), , .
!
samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g