Skip to content

Commit

Permalink
fix(audio): changed key sound (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shizojin authored Aug 22, 2024
1 parent bfc7280 commit ab52d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local function setVehicleDoorLock(vehicle, state, anim)
TriggerServerEvent('qb-vehiclekeys:server:setVehLockState', NetworkGetNetworkIdFromEntity(vehicle), lockstate)
exports.qbx_core:Notify(locale(lockstate == 2 and 'notify.vehicle_locked' or 'notify.vehicle_unlocked'))

qbx.playAudio({ audioName = 'Door_Close', audioRef = 'GTAO_EXEC_WH_GARAGE_DOOR_SOUNDS', source = vehicle })
qbx.playAudio({ audioName = 'Remote_Control_Fob', audioRef = 'PI_Menu_Sounds', source = vehicle })
SetVehicleLights(vehicle, 2)
Wait(250)
SetVehicleLights(vehicle, 1)
Expand Down

0 comments on commit ab52d93

Please sign in to comment.