mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-23 19:38:36 +00:00
feat(vehicleProperties): add statebag handler and server setter
This commit is contained in:
1 parent
6ffc5afd0f
commit
c45aa0d893
3 files changed
+27
-9
No files matched your search
@@ -0,0 +1,6 @@
|
||||
---@param vehicle number
|
||||
---@param props VehicleProperties
|
||||
---@diagnostic disable-next-line: duplicate-set-field
|
||||
function lib.setVehicleProperties(vehicle, props)
|
||||
Entity(vehicle).state:set('ox_lib:setVehicleProperties', props, true)
|
||||
end
|
||||
Reference in new issue
Block a user