mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
tweak(vehicleProperties): return true on success
This commit is contained in:
@@ -23,7 +23,7 @@ game 'gta5'
|
|||||||
--[[ Resource Information ]]--
|
--[[ Resource Information ]]--
|
||||||
name 'ox_lib'
|
name 'ox_lib'
|
||||||
author 'Linden'
|
author 'Linden'
|
||||||
version '2.5.1'
|
version '2.5.2'
|
||||||
repository 'https://github.com/overextended/ox_lib'
|
repository 'https://github.com/overextended/ox_lib'
|
||||||
description 'A library of shared functions to utilise in other resources.'
|
description 'A library of shared functions to utilise in other resources.'
|
||||||
|
|
||||||
|
|||||||
@@ -487,4 +487,6 @@ function lib.setVehicleProperties(vehicle, props)
|
|||||||
if props.modLightbar then
|
if props.modLightbar then
|
||||||
SetVehicleMod(vehicle, 49, props.modLightbar, false)
|
SetVehicleMod(vehicle, 49, props.modLightbar, false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user