Keys

My script doesn't lock vehicle doors, that's your vehicle keys script, make sure to add your event/export in client/editable/_functions.lua line 1.

This function is triggered when the vehicle is already spawned in test/buy vehicle event.

function GiveKeys(vehicle, plates)
    -- Add your givekeys export/event here:

end

Last updated