Fixed new issue with vehicle sync
This commit is contained in:
@@ -441,6 +441,7 @@ mp.events.add("VehStream_SetVehicleWheelStatus", (...args) => {
|
||||
|
||||
//Sync data on stream in
|
||||
mp.events.add("entityStreamIn", (entity) => {
|
||||
if (entity === undefined) return;
|
||||
if (entity.type === "vehicle") {
|
||||
let typeor = typeof entity.getVariable('VehicleSyncData');
|
||||
let actualData = entity.getVariable('VehicleSyncData');
|
||||
|
||||
Reference in New Issue
Block a user