mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
15 lines
461 B
Lua
15 lines
461 B
Lua
--[[
|
|
https://github.com/overextended/ox_lib
|
|
|
|
This file is licensed under LGPL-3.0 or higher <https://www.gnu.org/licenses/lgpl-3.0.en.html>
|
|
|
|
Copyright (c) 2025 Linden <https://github.com/thelindat/fivem>
|
|
]]
|
|
|
|
---@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
|