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





VK: vk.com/sergey68

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

: Textdraw's 4 [ MYSQL R41-2]

1 8 8

  1. #1

      Koberman

    :
    :17.08.2013
    :33
    :7 [+/-] 

    Textdraw's 4 [ MYSQL R41-2]

    . , , MYSQL .

    :leonid767
    : Koberman(Justin Buffalo)

    , new
    PHP :
    new Text:TDright[5];
    new 
    Text:testtd
    #define,
    PHP :
    #define     COLOR_YELLOW            0xF7FF00FF
    #define     SCM             SendClientMessage 
    enum
    PHP :
    TDRUS
    C . : tdrus, : int, : 1, : , 1
    OnGameModeInit Textdraw's
    PHP :
    TDright[0] = TextDrawCreate(217.862594166.833587"Click here if nothing is correct");
        
    TextDrawLetterSize(TDright[0], 0.3712881.652501);
        
    TextDrawTextSize(TDright[0], 500.45387610.583290);
        
    TextDrawAlignment(TDright[0], 3);
        
    TextDrawColor(TDright[0], -5963521);
        
    TextDrawUseBox(TDright[0], true);
        
    TextDrawBoxColor(TDright[0], -2139062017);
        
    TextDrawSetShadow(TDright[0], 0);
        
    TextDrawSetOutline(TDright[0], 1);
        
    TextDrawFont(TDright[0], 1);
        
    TextDrawSetProportional(TDright[0], 1);
        
    TextDrawSetSelectable(TDright[0], true);

        
    TDright[1] = TextDrawCreate(100192"PAHO");
        
    TextDrawLetterSize(TDright[1], 0.5432342.055000);
        
    TextDrawTextSize(TDright[1], 20.453876105.583290);
        
    TextDrawAlignment(TDright[1], 2);
        
    TextDrawColor(TDright[1], -5963521);
        
    TextDrawUseBox(TDright[1], true);
        
    TextDrawBoxColor(TDright[1], 376926741);
        
    TextDrawSetShadow(TDright[1], 0);
        
    TextDrawSetOutline(TDright[1], 1);
        
    TextDrawBackgroundColor(TDright[1], 51);
        
    TextDrawFont(TDright[1], 1);
        
    TextDrawSetProportional(TDright[1], 1);
        
    TextDrawSetSelectable(TDright[1], true);

        
    TDright[2] = TextDrawCreate(100219"ZPABNLJHO");
        
    TextDrawLetterSize(TDright[2], 0.5432342.055000);
        
    TextDrawTextSize(TDright[2], 20.453876105.583290);
        
    TextDrawAlignment(TDright[2], 2);
        
    TextDrawColor(TDright[2], -5963521);
        
    TextDrawUseBox(TDright[2], true);
        
    TextDrawBoxColor(TDright[2], 376926741);
        
    TextDrawSetShadow(TDright[2], 0);
        
    TextDrawSetOutline(TDright[2], 1);
        
    TextDrawBackgroundColor(TDright[2], 51);
        
    TextDrawFont(TDright[2], 1);
        
    TextDrawSetProportional(TDright[2], 1);
        
    TextDrawSetSelectable(TDright[2], true);

        
    TDright[3] = TextDrawCreate(100246"PAHO");
        
    TextDrawLetterSize(TDright[3], 0.4499992.055000);
        
    TextDrawTextSize(TDright[3], 20.453876105.583290);
        
    TextDrawAlignment(TDright[3], 2);
        
    TextDrawColor(TDright[3], -5963521);
        
    TextDrawUseBox(TDright[3], true);
        
    TextDrawBoxColor(TDright[3], 376926741);
        
    TextDrawSetShadow(TDright[3], 0);
        
    TextDrawSetOutline(TDright[3], 1);
        
    TextDrawBackgroundColor(TDright[3], 51);
        
    TextDrawFont(TDright[3], 1);
        
    TextDrawSetProportional(TDright[3], 1);
        
    TextDrawSetSelectable(TDright[3], true);

        
    TDright[4] = TextDrawCreate(100273"PAHO");
        
    TextDrawLetterSize(TDright[4], 0.4499992.055000);
        
    TextDrawTextSize(TDright[4], 20.453876105.583290);
        
    TextDrawAlignment(TDright[4], 2);
        
    TextDrawColor(TDright[4], -5963521);
        
    TextDrawUseBox(TDright[4], true);
        
    TextDrawBoxColor(TDright[4], 376926741);
        
    TextDrawSetShadow(TDright[4], 0);
        
    TextDrawSetOutline(TDright[4], 1);
        
    TextDrawBackgroundColor(TDright[4], 51);
        
    TextDrawFont(TDright[4], 1);
        
    TextDrawSetProportional(TDright[4], 1);
        
    TextDrawSetSelectable(TDright[4], true);

         
    testtd TextDrawCreate(324244"");
        
    TextDrawLetterSize(testtd0.4499991.600000);
        
    TextDrawAlignment(testtd 1);
        
    TextDrawColor(testtd , -16776961);
        
    TextDrawSetShadow(testtd0);
        
    TextDrawSetOutline(testtd1);
        
    TextDrawBackgroundColor(testtd41215);
        
    TextDrawFont(testtd1);
        
    TextDrawSetProportional(testtd1); 
    OnPlayerClickTextDraw
    PHP :
            if(clickedid == TDright[0])
        {
            
    player_info[playerid][TDRUS] = 0;
            static const 
    fmt_query[] = "UPDATE `accounts` SET `tdrus` = 0 WHERE `id` = '%d'";
            new 
    query[sizeof(fmt_query)+(-2+8)];
            
    format(querysizeof(query), fmt_queryplayer_info[playerid][ID]);
            
    mysql_query(dbHandlequery);
              for(new 
    x5x++)
            {
                
    TextDrawHideForPlayer(playeridTDright[x]);
            }
            
    CancelSelectTextDraw(playerid);
            
    SCM(playeridCOLOR_YELLOW"Textdraw's     !"); 
        }
        else if(
    clickedid == TDright[1])
        {
            
    player_info[playerid][TDRUS] = 1;
            static const 
    fmt_query[] = "UPDATE `accounts` SET `tdrus` = 1 WHERE `id` = '%d'";
            new 
    query[sizeof(fmt_query)+(-2+8)];
            
    format(querysizeof(query), fmt_queryplayer_info[playerid][ID]);
            
    mysql_query(dbHandlequery);
            for(new 
    x5x++)
            {
                
    TextDrawHideForPlayer(playeridTDright[x]);
            }
            
    CancelSelectTextDraw(playerid);
            
    SCM(playeridCOLOR_YELLOW"Textdraw's     !"); 
        }
         else if(
    clickedid == TDright[2])
        {
            
    player_info[playerid][TDRUS] = 2;
            static const 
    fmt_query[] = "UPDATE `accounts` SET `tdrus` = 2 WHERE `id` = '%d'";
            new 
    query[sizeof(fmt_query)+(-2+8)];
            
    format(querysizeof(query), fmt_queryplayer_info[playerid][ID]);
            
    mysql_query(dbHandlequery);
            for(new 
    x5x++)
            {
                
    TextDrawHideForPlayer(playeridTDright[x]);
            }
            
    CancelSelectTextDraw(playerid);
            
    SCM(playeridCOLOR_YELLOW"Textdraw's     !"); 
        }
         else if(
    clickedid == TDright[3])
        {
            
    player_info[playerid][TDRUS] = 3;
            static const 
    fmt_query[] = "UPDATE `accounts` SET `tdrus` = 3 WHERE `id` = '%d'";
            new 
    query[sizeof(fmt_query)+(-2+8)];
            
    format(querysizeof(query), fmt_queryplayer_info[playerid][ID]);
            
    mysql_query(dbHandlequery);
            for(new 
    x5x++)
            {
                
    TextDrawHideForPlayer(playeridTDright[x]);
            }
            
    CancelSelectTextDraw(playerid);
            
    SCM(playeridCOLOR_YELLOW"Textdraw's     !"); 
        }
          else if(
    clickedid == TDright[4])
        {
            
    player_info[playerid][TDRUS] = 4;
            static const 
    fmt_query[] = "UPDATE `accounts` SET `tdrus` = 4 WHERE `id` = '%d'";
            new 
    query[sizeof(fmt_query)+(-2+8)];
            
    format(querysizeof(query), fmt_queryplayer_info[playerid][ID]);
            
    mysql_query(dbHandlequery);
            for(new 
    x5x++)
            {
                
    TextDrawHideForPlayer(playeridTDright[x]);
            }
            
    CancelSelectTextDraw(playerid);
             
    SCM(playeridCOLOR_YELLOW"Textdraw's     !"); 
        }
        return 
    1;

    ,
    PHP :
    {
    for(new 
    xx5x++) TextDrawShowForPlayer(playeridTDright[x]);
    SelectTextDraw(playerid0x99FFA1FF);
    return 
    1;


    PHP :
    {
        if(
    player_info[playerid][TDRUS] != 0)
        {
            
    TextDrawSetString(Text:testtdRus(playerid" "));
        }
        else if(
    player_info[playerid][TDRUS] == 0)
        {
            
    TextDrawSetString(Text:testtd"Let's show");
        }
            
    TextDrawShowForPlayer(playeridtesttd);
    return 
    1;

    ... ? ! stock

    PHP :
    stock Rus(playeridstring[])
    {
        new 
    iresult[254];
        while(
    <= strlen(string))
        {
            switch(
    string[i])
            {
                case 
    '''':result[i] = 'A';
                case 
    '''':
                {
                      switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {    result[i] = ''; }
                        case 
    2: {      result[i] = '6'; }
                        case 
    3: {      result[i] = ''; }
                        case 
    4: {      result[i] = ''; }
                      }
                }
                   case 
    '''':
                  {
                      switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {      result[i] = ''; }
                        case 
    2: {      result[i] = 'B'; }
                        case 
    3: {      result[i] = ''; }
                        case 
    4: {      result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                         switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {     result[i] = 'F'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                         switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {     result[i] = 'D'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                    case 
    '''''''':result[i] = 'E';
                case 
    '''':
                {
                         switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {     result[i] = 'G'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = '3'; }
                        case 
    2: {     result[i] = '3'; }
                        case 
    3: {   result[i] = '3'; }
                        case 
    4: {   result[i] = '3'; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {      result[i] = 'N'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'N'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':result[i] = 'K';
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'L'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    ''''result[i] = 'M';
                case 
    '''':result[i] = 'H';
                case 
    '''':result[i] = 'O';
                 case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {      result[i] = 'Z'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':result[i] = 'P';
                case 
    '''':result[i] = 'C';
                case 
    ''''result[i] = 'T';
                case 
    '''':result[i] = 'Y';
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'V'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':result[i] = 'X';
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'Q'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                    case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {     result[i] = '4'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'W'; }
                        case 
    3: {     result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'W'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                 case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {     result[i] = 'J'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'J'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'S'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'E'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'U'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
                 case 
    '''':
                {
                    switch(
    player_info[playerid][TDRUS])
                       {
                        case 
    1: {   result[i] = ''; }
                        case 
    2: {   result[i] = 'R'; }
                        case 
    3: {   result[i] = ''; }
                        case 
    4: {   result[i] = ''; }
                    }
                }
            default:
    result[i]=string[i];
            }
            
    ++;
        }
        return 
    result;

    , : , ,







    ,
    ps "" "" , , .
    Koberman; 15.02.2017 15:49.
  2. 2 c Koberman :

    Naemnik43 (24.02.2017), yuriy5022 (15.02.2017)

  3. #2
  4. #3

      Koberman

    :
    :17.08.2013
    :33
    :7 [+/-] 
    . , "" SanLTD.
  5. 1 c Koberman :

    yuriy5022 (15.02.2017)

  6. #4

      yuriy5022

    :
    :25.02.2014
    :171
    :24 [+/-] 
    , , , "".

    ---------- 18:01 ---------- 17:53 ----------

    PHP :
    for(new 0sizeof(TDRight); i++)
    {
          if(
    clickedid == TDRight[i])
          {
            new 
    query[51 + (-8) + (-8) + 1];
            
    player_info[playerid][TDRUS] = i;
            
    format(querysizeof(query), "UPDATE `accounts` SET `tdrus` = '%d' WHERE `id` = '%d'"iplayer_info[playerid][ID]);
            
    mysql_query(dbHandlequery);
              for(new 
    x5x++)
            {
                
    TextDrawHideForPlayer(playeridTDright[x]);
            }
            
    CancelSelectTextDraw(playerid);
            break;
    }
        return 
    1;

    ( , ), ( ), , , /
    yuriy5022; 15.02.2017 16:03.
  7. #5

      Long-

    :
    :14.12.2014
    :delete
    :2,524
    :652 [+/-] 
    , , , "".

    ---------- 18:01 ---------- 17:53 ----------

    PHP :
    for(new 0sizeof(TDRight); i++)
    {
          if(
    clickedid == TDRight[i])
          {
            new 
    query[51 + (-8) + (-8) + 1];
            
    player_info[playerid][TDRUS] = i;
            
    format(querysizeof(query), "UPDATE `accounts` SET `tdrus` = '%d' WHERE `id` = '%d'"iplayer_info[playerid][ID]);
            
    mysql_query(dbHandlequery);
              for(new 
    x5x++)
            {
                
    TextDrawHideForPlayer(playeridTDright[x]);
            }
            
    CancelSelectTextDraw(playerid);
            break;
    }
        return 
    1;

    ( , ), ( ), , , /
    ? "break;"?
    - .

    , , ziggi 8..
  8. #6

      yuriy5022

    :
    :25.02.2014
    :171
    :24 [+/-] 
    ? "break;"?
    - .

    , , ziggi 8..
    , ) )
  9. #7

      Long-

    :
    :14.12.2014
    :delete
    :2,524
    :652 [+/-] 
    , ) )
    , ..
  10. #8

      yuriy5022

    :
    :25.02.2014
    :171
    :24 [+/-] 
    , ..
    , , , - .

, : 6

(, , , , , ), , .
!
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