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





VK: vk.com/sergey68

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

:

1 7 7

  1. #1

      Lonton

    :
    :04.12.2011
    :58
    :1 [+/-] 

    PHP :
    CMD:sbuybiz(playerid)
    {
        new 
    string[70], Float:oldposxFloat:oldposyFloat:oldposz;
        
    GetPlayerPos(playeridoldposxoldposyoldposz);
        if(
    PlayerInfo[playerid][pPbiskey] != 255) return send(playeridcol_white"    .  /bmenu   .");
        for(new 
    0sizeof(SBizzInfo); b++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0)
            {
                if(
    PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded]) { format(stringsizeof(string), "  ,    %d .",SBizzInfo[b][sbLevelNeeded]); send(playeridcol_grad5string); return 1; }
                if(
    PlayerInfo[playerid][pCash] < SBizzInfo[b][sbBuyPrice]) return send(playeridcol_white"      .");
                
    PlayerInfo[playerid][pPbiskey] = b+100;
                
    SBizzInfo[b][sbOwned] = 1;
                
    strmid(SBizzInfo[b][sbOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
                
    GiveMoney(playerid,-SBizzInfo[b][sbBuyPrice]);
                
    PlayerPlayMusic(playerid);
                
    send(playeridcol_white",   .");
                
    send(playeridcol_white": /help,     .");
                
    UpdateSBizz(b), SaveSBizz(b);
                
    OnPlayerUpdateEx(playerid);
            } else 
    send(playeridcol_grey"       .");
            return 
    1;
        }
        return 
    1;
    }
    CMD:buybiz(playerid)
    {
        new 
    string[70], Float:oldposxFloat:oldposyFloat:oldposz;
        
    GetPlayerPos(playeridoldposxoldposyoldposz);
        if(
    PlayerInfo[playerid][pPbiskey] != 255) return send(playeridcol_white"    .  /sbmenu   .");
        for(new 
    0sizeof(BizzInfo); i++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) && BizzInfo[i][bOwned] == 0)
            {
                if(
    PlayerInfo[playerid][pLevel] < BizzInfo[i][bLevelNeeded]) { format(stringsizeof(string), "  ,    %d .",BizzInfo[i][bLevelNeeded]); send(playeridcol_grad5string); return 1; }
                if(
    PlayerInfo[playerid][pCash] < BizzInfo[i][bBuyPrice]) return send(playeridcol_white"      .");
                
    PlayerInfo[playerid][pPbiskey] = i;
                
    BizzInfo[i][bOwned] = 1;
                
    strmid(BizzInfo[i][bOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
                
    GiveMoney(playerid,-BizzInfo[i][bBuyPrice]);
                
    PlayerPlayMusic(playerid);
                
    SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
                
    SetPlayerPosServer(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
                
    GameTextForPlayer(playerid"~w~Welcome~n~You can exit at any time by moving to this door and typing /exit"50003);
                
    PlayerInfo[playerid][pLocal] = ;
                
    send(playeridcol_white",   .");
                
    send(playeridcol_white": /help,     .");
                
    SaveBizz(i), UpdateBizz(i);
                
    OnPlayerUpdateEx(playerid);
            } else 
    send(playeridcol_grey"       .");
            return 
    1;
        }
        return 
    1;

    []

    PHP :
     send(playeridcol_grey"       ."); 
    . , .
  2. #2

      Lonton

    :
    :04.12.2011
    :58
    :1 [+/-] 
    Up, 2 , , dc_cmd . , - ,
  3. #3

      Rowlinson

    :
    :13.04.2013
    :
    :38
    :9 [+/-] 
    , , )

    :
    CMD:sbuybiz(playerid)
    {
        new string[70], Float:oldposx, Float:oldposy, Float:oldposz;
        GetPlayerPos(playerid, oldposx, oldposy, oldposz);
        if(PlayerInfo[playerid][pPbiskey] != 255) return send(playerid, col_white, "    .  /bmenu   .");
        for(new b = 0; b < sizeof(SBizzInfo); b++)
        {
            if(!IsPlayerInRangeOfPoint(playerid, 2.0, SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] != 0) return send(playerid, col_grey, "       .");
            if(PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded]) { format(string, sizeof(string), "  ,    %d .",SBizzInfo[b][sbLevelNeeded]); send(playerid, col_grad5, string); return 1; }
            if(PlayerInfo[playerid][pCash] < SBizzInfo[b][sbBuyPrice]) return send(playerid, col_white, "      .");
            PlayerInfo[playerid][pPbiskey] = b+100;
            SBizzInfo[b][sbOwned] = 1;
            strmid(SBizzInfo[b][sbOwner], getpl(playerid), 0, strlen(getpl(playerid)), 255);
            GiveMoney(playerid,-SBizzInfo[b][sbBuyPrice]);
            PlayerPlayMusic(playerid);
            send(playerid, col_white, ",   .");
            send(playerid, col_white, ": /help,     .");
            UpdateSBizz(b), SaveSBizz(b);
            OnPlayerUpdateEx(playerid);
        }
        return 1;
    }
    CMD:buybiz(playerid)
    {
        new string[70], Float:oldposx, Float:oldposy, Float:oldposz;
        GetPlayerPos(playerid, oldposx, oldposy, oldposz);
        if(PlayerInfo[playerid][pPbiskey] != 255) return send(playerid, col_white, "    .  /sbmenu   .");
        for(new i = 0; i < sizeof(BizzInfo); i++)
        {
            if(!IsPlayerInRangeOfPoint(playerid, 2.0, BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) && BizzInfo[i][bOwned] != 0) return send(playerid, col_grey, "       .");
            if(PlayerInfo[playerid][pLevel] < BizzInfo[i][bLevelNeeded]) { format(string, sizeof(string), "  ,    %d .",BizzInfo[i][bLevelNeeded]); send(playerid, col_grad5, string); return 1; }
            if(PlayerInfo[playerid][pCash] < BizzInfo[i][bBuyPrice]) return send(playerid, col_white, "      .");
            PlayerInfo[playerid][pPbiskey] = i;
            BizzInfo[i][bOwned] = 1;
            strmid(BizzInfo[i][bOwner], getpl(playerid), 0, strlen(getpl(playerid)), 255);
            GiveMoney(playerid,-BizzInfo[i][bBuyPrice]);
            PlayerPlayMusic(playerid);
            SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
            SetPlayerPosServer(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
            GameTextForPlayer(playerid, "~w~Welcome~n~You can exit at any time by moving to this door and typing /exit", 5000, 3);
            PlayerInfo[playerid][pLocal] = i ;
            send(playerid, col_white, ",   .");
            send(playerid, col_white, ": /help,     .");
            SaveBizz(i), UpdateBizz(i);
            OnPlayerUpdateEx(playerid);
        }
        return 1;
    }
    []
  4. #4

      Lonton

    :
    :04.12.2011
    :58
    :1 [+/-] 
    , , - , , , . )
  5. #5


    :
    :25.12.2011
    :.
    :1,819
    :440 [+/-] 
    PHP :
    CMD:sbuybiz(playerid)
    {
        new 
    string[70],
            
    Float:oldposx,
            
    Float:oldposy,
            
    Float:oldposz;
            
        
    GetPlayerPos(playeridoldposxoldposyoldposz);
        
        if(
    PlayerInfo[playerid][pPbiskey] != 255)
            return 
    send(playeridcol_white"    .  /bmenu   .");
            
        for(new 
    0sizeof(SBizzInfo); b++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0)
                return 
    send(playeridcol_grey"       .");
                
            if(
    PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded])
            {
                
    format(stringsizeof(string), "  ,    %d .",SBizzInfo[b][sbLevelNeeded]);
                
    send(playeridcol_grad5string);
                return 
    1;
            }
              if(
    PlayerInfo[playerid][pCash] < SBizzInfo[b][sbBuyPrice])
                return 
    send(playeridcol_white"      .");

            
    PlayerInfo[playerid][pPbiskey] = b+100;
            
    SBizzInfo[b][sbOwned] = 1;
            
    strmid(SBizzInfo[b][sbOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
            
    GiveMoney(playerid,-SBizzInfo[b][sbBuyPrice]);
            
    PlayerPlayMusic(playerid);

            
    send(playeridcol_white",   .");
            
    send(playeridcol_white": /help,     .");
            
            
    UpdateSBizz(b), SaveSBizz(b);
            
    OnPlayerUpdateEx(playerid);
        }
        return 
    1;
    }
    CMD:buybiz(playerid)
    {
        new 
    string[70],
            
    Float:oldposx,
            
    Float:oldposy,
            
    Float:oldposz;
            
        
    GetPlayerPos(playeridoldposxoldposyoldposz);
        
        if(
    PlayerInfo[playerid][pPbiskey] != 255)
            return 
    send(playeridcol_white"    .  /sbmenu   .");
            
        for(new 
    0sizeof(BizzInfo); i++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) && BizzInfo[i][bOwned] == 0)
                return 
    send(playeridcol_grey"       .");

            if(
    PlayerInfo[playerid][pLevel] < BizzInfo[i][bLevelNeeded])
            {
                
    format(stringsizeof(string), "  ,    %d .",BizzInfo[i][bLevelNeeded]);
                
    send(playeridcol_grad5string);
                return 
    1;
            }
              if(
    PlayerInfo[playerid][pCash] < BizzInfo[i][bBuyPrice])
                  return 
    send(playeridcol_white"      .");
                  
             
    PlayerInfo[playerid][pPbiskey] = i;
             
    BizzInfo[i][bOwned] = 1;
             
    strmid(BizzInfo[i][bOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
             
    GiveMoney(playerid,-BizzInfo[i][bBuyPrice]);
             
    PlayerPlayMusic(playerid);
             
    SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
             
    SetPlayerPosServer(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
             
    GameTextForPlayer(playerid"~w~Welcome~n~You can exit at any time by moving to this door and typing /exit"50003);
             
    PlayerInfo[playerid][pLocal] = ;
             
             
    send(playeridcol_white",   .");
             
    send(playeridcol_white": /help,     .");
             
             
    SaveBizz(i), UpdateBizz(i);
             
    OnPlayerUpdateEx(playerid);
        }
        return 
    1;

  6. #6

      Lonton

    :
    :04.12.2011
    :58
    :1 [+/-] 
    , . ,
  7. #7

      Lonton

    :
    :04.12.2011
    :58
    :1 [+/-] 
    PHP :
    CMD:sbuybiz(playerid)
    {
        new 
    string[70],
            
    Float:oldposx,
            
    Float:oldposy,
            
    Float:oldposz;
            
        
    GetPlayerPos(playeridoldposxoldposyoldposz);
        
        if(
    PlayerInfo[playerid][pPbiskey] != 255)
            return 
    send(playeridcol_white"    .  /bmenu   .");
            
        for(new 
    0sizeof(SBizzInfo); b++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0)
                return 
    send(playeridcol_grey"       .");
                
            if(
    PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded])
            {
                
    format(stringsizeof(string), "  ,    %d .",SBizzInfo[b][sbLevelNeeded]);
                
    send(playeridcol_grad5string);
                return 
    1;
            }
              if(
    PlayerInfo[playerid][pCash] < SBizzInfo[b][sbBuyPrice])
                return 
    send(playeridcol_white"      .");

            
    PlayerInfo[playerid][pPbiskey] = b+100;
            
    SBizzInfo[b][sbOwned] = 1;
            
    strmid(SBizzInfo[b][sbOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
            
    GiveMoney(playerid,-SBizzInfo[b][sbBuyPrice]);
            
    PlayerPlayMusic(playerid);

            
    send(playeridcol_white",   .");
            
    send(playeridcol_white": /help,     .");
            
            
    UpdateSBizz(b), SaveSBizz(b);
            
    OnPlayerUpdateEx(playerid);
        }
        return 
    1;
    }
    CMD:buybiz(playerid)
    {
        new 
    string[70],
            
    Float:oldposx,
            
    Float:oldposy,
            
    Float:oldposz;
            
        
    GetPlayerPos(playeridoldposxoldposyoldposz);
        
        if(
    PlayerInfo[playerid][pPbiskey] != 255)
            return 
    send(playeridcol_white"    .  /sbmenu   .");
            
        for(new 
    0sizeof(BizzInfo); i++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) && BizzInfo[i][bOwned] == 0)
                return 
    send(playeridcol_grey"       .");

            if(
    PlayerInfo[playerid][pLevel] < BizzInfo[i][bLevelNeeded])
            {
                
    format(stringsizeof(string), "  ,    %d .",BizzInfo[i][bLevelNeeded]);
                
    send(playeridcol_grad5string);
                return 
    1;
            }
              if(
    PlayerInfo[playerid][pCash] < BizzInfo[i][bBuyPrice])
                  return 
    send(playeridcol_white"      .");
                  
             
    PlayerInfo[playerid][pPbiskey] = i;
             
    BizzInfo[i][bOwned] = 1;
             
    strmid(BizzInfo[i][bOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
             
    GiveMoney(playerid,-BizzInfo[i][bBuyPrice]);
             
    PlayerPlayMusic(playerid);
             
    SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
             
    SetPlayerPosServer(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
             
    GameTextForPlayer(playerid"~w~Welcome~n~You can exit at any time by moving to this door and typing /exit"50003);
             
    PlayerInfo[playerid][pLocal] = ;
             
             
    send(playeridcol_white",   .");
             
    send(playeridcol_white": /help,     .");
             
             
    SaveBizz(i), UpdateBizz(i);
             
    OnPlayerUpdateEx(playerid);
        }
        return 
    1;

    , , , . :

    PHP :
    CMD:buybiz(playerid)
    {
        new 
    Float:oldposxFloat:oldposyFloat:oldposzstring[70];
        
    GetPlayerPos(playeridoldposxoldposyoldposz);
        if(
    PlayerInfo[playerid][pPbiskey] != 255) return send(playeridcol_white"*     .  /sellbiz   .");
        for(new 
    0sizeof(SBizzInfo); b++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0)
            return 
    send(playeridcol_grey"*        .");
            if(
    PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded]) { format(stringsizeof(string), "*   ,    %d .",SBizzInfo[b][sbLevelNeeded]); send(playeridcol_grad5string); return 1; }
            if(
    PlayerInfo[playerid][pCash] < SBizzInfo[b][sbBuyPrice]) return send(playeridcol_white"*       .");
            
    PlayerInfo[playerid][pPbiskey] = b+100;
            
    SBizzInfo[b][sbOwned] = 1;
            
    strmid(SBizzInfo[b][sbOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
            
    GiveMoney(playerid,-SBizzInfo[b][sbBuyPrice]);
            
    PlayerPlayMusic(playerid);
            
    send(playeridcol_white"* ,   .");
            
    send(playeridcol_white": /help,     .");
            
    SaveSBizz(b), UpdateSBizz(b);
            
    OnPlayerUpdateEx(playerid);
            return 
    1;
        }
        for(new 
    0sizeof(BizzInfo); b++)
        {
            if(
    IsPlayerInRangeOfPoint(playerid2.0BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]) && BizzInfo[b][bOwned] == 0)
            return 
    send(playeridcol_grey"*        .");
            if(
    PlayerInfo[playerid][pLevel] < BizzInfo[b][bLevelNeeded]) { format(stringsizeof(string), "*   ,    %d .",BizzInfo[b][bLevelNeeded]); send(playeridcol_grad5string); return 1; }
            if(
    PlayerInfo[playerid][pCash] < BizzInfo[b][bBuyPrice]) return send(playeridcol_white"*       .");
            
    PlayerInfo[playerid][pPbiskey] = b;
            
    BizzInfo[b][bOwned] = 1;
            
    strmid(BizzInfo[b][bOwner], getpl(playerid), 0strlen(getpl(playerid)), 255);
            
    GiveMoney(playerid,-BizzInfo[b][bBuyPrice]);
            
    PlayerPlayMusic(playerid);
            
    SetPlayerInterior(playerid,BizzInfo[b][bInterior]);
            
    SetPlayerPosServer(playerid,BizzInfo[b][bExitX],BizzInfo[b][bExitY],BizzInfo[b][bExitZ]);
            
    GameTextForPlayer(playerid"~w~Welcome~n~You can exit at any time by moving to this door and typing /exit"50003);
            
    PlayerInfo[playerid][pLocal] = ;
            
    send(playeridcol_white"* ,   .");
            
    send(playeridcol_white": /help,     .");
            
    SaveBizz(b), UpdateBizz(b);
            
    OnPlayerUpdateEx(playerid);
            return 
    1;
        }
        return 
    1;

    []


    , 0 , , . , 0 /buybiz .

    ---------- 01:32 ---------- 01:22 ----------

    PHP :
    if(IsPlayerInRangeOfPoint(playerid2.0SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0

    PHP :
    if(!IsPlayerInRangeOfPoint(playerid2.0SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0
    0 SBIZZ

    ---------- 03:23 ---------- 01:32 ----------

, : 0

.

100, 500, 5000, , , , , , , cmd, dc_cmd, , , -, , , , , , , php, playerid, playerinfo, string, white, ,

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