mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
feat(vehicleProperties): add statebag handler and server setter
This commit is contained in:
@@ -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