mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-22 19:08: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
@@ -1,5 +1,11 @@
|
||||
import type { VehicleProperties } from 'shared';
|
||||
|
||||
export * from './acl';
|
||||
export * from './locale';
|
||||
export * from './callback';
|
||||
export * from './version';
|
||||
export * from './addCommand';
|
||||
export * from './addCommand';
|
||||
|
||||
export function setVehicleProperties(vehicle: number, props: VehicleProperties) {
|
||||
Entity(vehicle).state.set('ox_lib:setVehicleProperties', props, true)
|
||||
}
|
||||
Reference in new issue
Block a user