1. Post #1
    Zurchi's Avatar
    March 2010
    39 Posts
    I was wondering if there was a car addon that had cars that you could lock and unlock such as in fearless rp? Thanks in advance.

  2. Post #2
    "The superior man understands what is right; the inferior man understands what will sell"
    Chessnut's Avatar
    August 2011
    3,555 Posts
    No but you could make a swep which fires "lock" and "unlock" on the car.
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  3. Post #3
    ─ ─ ─ ─ ─▀ ▀ ▀ ▌ ─ ─ ─ ▄ ▄ █ █ ▌ █ ░ ♥ ░ HONK HONK- ITS A TRUCK ░░ ♥ ░░ ░ ░ ▐ ▄ ▄ ▄ ▌ ▐ █ █ ▌ █ ░ ♥ ░ FULL OF DICKS ░░░ ░ ♥
    Jarrod's Avatar
    December 2010
    1,082 Posts
    No but you could make a swep which fires "lock" and "unlock" on the car.
    I believe he means "Console Commands"
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)

  4. Post #4
    L33T Lau Coder
    Science's Avatar
    April 2011
    1,813 Posts
    Your best choice is have a thing in the vehicle doing

    VehicleEnt.IsLocked = bool

    Then do

    hook.Add("CanPlayerEnterVehicle", " ", function(ply, veh)
        return !veh.IsLocked
    end)

    Nice and simple.
    Adding owners and such is just as simple but if you want help add me on steam: modegg
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Agree Agree x 1 (list)