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





VK: vk.com/sergey68

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

: /lock

1 7 7

  1. #1

    /lock

    , , . / . , / , , , / . , .

    PHP :
    if(PRESSEDKEY_YES ))
    {
    if(
    arendaman[playerid] == true)
            {
            for(new 
    0MAX_VEHICLESv++)
            {
                if(
    CheckPlayerDistanceToVehicle(3.0playeridv))
                {
                    if(
    arenda[v] == playerid)
                    {
                        if(
    gCarLock[v] == false)
                        {
                            
    format(stringsizeof(string), "~w~CAR ~r~LOCK");
                            
    GameTextForPlayer(playeridstring50004);
                            
    LockCar(v);
                            
    SetPlayerChatBubble(playerid,"() ",COLOR_PURPLE,30.0,10000);
                        }
                        else
                        {
                            
    format(stringsizeof(string), "~w~CAR ~g~UNLOCK");
                            
    GameTextForPlayer(playeridstring50004);
                            
    UnLockCar(v);
                            
    SetPlayerChatBubble(playerid,"() ",COLOR_PURPLE,30.0,10000);
                        }
                    }
                    break;
                }
            }
            }
            if((
    PI[playerid][pHouse] != 99999 || PI[playerid][pGarage] != 99999) && caridhouse[playerid] != INVALID_PLAYER_ID)
            {
                
    carid caridhouse[playerid];
                new 
    Float:cx,Float:cy,Float:cz;
                
    GetVehiclePos(caridcxcycz);
                if(
    PlayerToPoint(4.0playeridcxcycz))
                {
                    if(
    gCarLock[carid] == false)
                    {
                        
    format(stringsizeof(string), "~w~CAR ~r~LOCK");
                        
    GameTextForPlayer(playeridstring50004);
                        
    LockCar(carid);
                        
    SetPlayerChatBubble(playerid,"() ",COLOR_PURPLE,30.0,10000);
                    }
                    else
                    {
                        
    format(stringsizeof(string), "~w~CAR ~g~UNLOCK");
                        
    GameTextForPlayer(playeridstring50004);
                        
    UnLockCar(carid);
                        
    SetPlayerChatBubble(playerid,"() ",COLOR_PURPLE,30.0,10000);
                    }
                }
            }
            if(
    AutoKey[playerid] != 99999)
            {
                
    carid caridhouse[AutoKey[playerid]];
                if(
    carid != INVALID_VEHICLE_ID)
                {
                    new 
    Float:cx,Float:cy,Float:cz;
                    
    GetVehiclePos(caridcxcycz);
                    if(
    PlayerToPoint(4.0playeridcxcycz))
                    {
                        if(
    gCarLock[carid] == false)
                        {
                            
    format(stringsizeof(string), "~w~CAR ~r~LOCK");
                            
    GameTextForPlayer(playeridstring50004);
                            
    LockCar(carid);
                            
    SetPlayerChatBubble(playerid,"() ",COLOR_PURPLE,30.0,10000);
                        }
                        else
                        {
                            
    format(stringsizeof(string), "~w~CAR ~g~UNLOCK");
                            
    GameTextForPlayer(playeridstring50004);
                            
    UnLockCar(carid);
                            
    SetPlayerChatBubble(playerid,"() ",COLOR_PURPLE,30.0,10000);
                        }
                    }
                }
            }
    ___________________________________________
    stock LockCar
    (carid)
    {
        if(!
    IsValidVehicle(carid)) return;
        
    gCarLock[carid] = true;
        
    //GetVehicleParamsEx(carid,engine,lights,alarm,doors,bonnet,boot,objective);
        //SetVehicleParamsEx(carid,engine,lights,alarm,VEHICLE_PARAMS_ON,bonnet,boot,objective);
        
    for(new 0MAX_PLAYERSi++)
        {
            
    SetVehicleParamsForPlayer(caridi01);
        }
    }
    stock UnLockCar(carid)
    {
        if(!
    IsValidVehicle(carid)) return;
        
    gCarLock[carid] = false;
        
    //GetVehicleParamsEx(carid,engine,lights,alarm,doors,bonnet,boot,objective);
        //SetVehicleParamsEx(carid,engine,lights,alarm,VEHICLE_PARAMS_OFF,bonnet,boot,objective);
        
    for(new 0MAX_PLAYERSi++)
        {
            
    SetVehicleParamsForPlayer(caridi00);
        }
    }
    ___________________________
    case 30100:
            {
                if(
    response)
                {
                    new 
    exper;
                    new 
    passengerdriver,backright,backleft;
                    switch(
    listitem)
                    {
                    case 
    0:
                        {
                            
    GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,exper,objective);
                            if(
    exper == 1SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,false,objective);
                            else 
    SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,true,objective);
                        }
                    case 
    1:
                        {
                            
    GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,exper,boot,objective);
                            if(
    exper == 1SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,false,boot,objective);
                            else 
    SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,true,boot,objective);
                        }
                    case 
    2:
                        {
                            
    GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,exper,alarm,doors,bonnet,boot,objective);
                            if(
    exper == 1SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,false,alarm,doors,bonnet,boot,objective);
                            else 
    SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,true,alarm,doors,bonnet,boot,objective);
                        }
    //okna
                    
    case 3:
                        {
                            
    GetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), experpassengerbackleftbackright);
                            if(
    exper == 1SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), falsepassengerbackleftbackright);
                            else 
    SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), truepassengerbackleftbackright);
                        }
                    case 
    4:
                        {
                            
    GetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengerexperbackright);
                            if(
    exper == 1SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengerfalsebackright);
                            else 
    SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengertruebackright);
                        }
                    case 
    5:
                        {
                            
    GetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverexperbackleftbackright);
                            if(
    exper == 1SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverfalsebackleftbackright);
                            else 
    SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), drivertruebackleftbackright);
                        }
                    case 
    6:
                        {
                            
    GetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengerbackleftexper);
                            if(
    exper == 1SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengerbackleftfalse);
                            else 
    SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengerbacklefttrue);
                        }
                    case 
    7:
                        {
                            
    GetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), experpassengerbackleftbackright);
                            if(
    exper == 1SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), falsepassengerbackleftbackright);
                            else 
    SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), truepassengerbackleftbackright);
                        }
                    case 
    8:
                        {
                            
    GetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverpassengerexperbackright);
                            if(
    exper == 1SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverpassengerfalsebackright);
                            else 
    SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverpassengertruebackright);
                        }
                    case 
    9:
                        {
                            
    GetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverexperbackleftbackright);
                            if(
    exper == 1SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverfalsebackleftbackright);
                            else 
    SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), drivertruebackleftbackright);
                        }
                    case 
    10:
                        {
                            
    GetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverpassengerbackleftexper);
                            if(
    exper == 1SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverpassengerbackleftfalse);
                            else 
    SetVehicleParamsCarDoors(GetPlayerVehicleID(playerid), driverpassengerbacklefttrue);
                        }
                    case 
    11:
                        {
                            
    EffectFires(playerid);
                        }
                    }
                    return 
    true;
                }
            } 
    []
    Saibot; 16.02.2017 22:53.
  2. #2
    ...
  3. #3
    ...
    .
    Anthony_Palmer; 16.02.2017 21:49.
  4. #4
    , ( PHP , , )
    iWors; 16.02.2017 22:04.
  5. #5

      unreal.

    :
    :15.10.2015
    :--
    :605
    :385 [+/-] 
    newkeys 1024(KEY_WALK)
  6. #6
    newkeys 1024(KEY_WALK)
    ?
  7. #7

, : 1

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