Fix
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
for (var i = 0; i < posArr.length; i++) {
|
for (var i = 0; i < posArr.length; i++) {
|
||||||
let pos = new mp.Vector3(posArr[i].x, posArr[i].y, posArr[i].z - 1)
|
let pos = new mp.Vector3(posArr[i].x, posArr[i].y, posArr[i].z - 1)
|
||||||
|
|
||||||
let newBlip = mp.blips.new(1, new mp.Vector3(pos.x, pos.y, pos.z), { name: 'Mülltonne', color: 45, shortRange: false });
|
let newBlip = mp.blips.new(1, new mp.Vector3(pos.x, pos.y, pos.z), { name: 'Mülltonne', color: 5, shortRange: false, scale: 0.5 });
|
||||||
let newColShape = mp.colshapes.newSphere(posArr[i].x, posArr[i].y, posArr[i].z + 0.5, 1.75);
|
let newColShape = mp.colshapes.newSphere(posArr[i].x, posArr[i].y, posArr[i].z + 0.5, 1.75);
|
||||||
newBlip.setPriority(1000);
|
newBlip.setPriority(1000);
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
garbageToCollect.set(i, { blip: newBlip, colshape: newColShape });
|
garbageToCollect.set(i, { blip: newBlip, colshape: newColShape });
|
||||||
}
|
}
|
||||||
|
|
||||||
blipBase = mp.blips.new(1, new mp.Vector3(-442.3999, -1701.5234, 18.933002 - 1), { name: 'Recylinganlage', color: 5, shortRange: false });
|
blipBase = mp.blips.new(515, new mp.Vector3(-442.3999, -1701.5234, 18.933002 - 1), { name: 'Recylinganlage', color: 24, shortRange: false });
|
||||||
markerBase = mp.markers.new(1, new mp.Vector3(-442.3999, -1701.5234, 18.933002 - 1), 10, { direction: new mp.Vector3(-235.5747, -1685.475, 32.7207), color: [255, 255, 0, 150], visible: true, dimension: 0 });
|
markerBase = mp.markers.new(1, new mp.Vector3(-442.3999, -1701.5234, 18.933002 - 1), 10, { direction: new mp.Vector3(-235.5747, -1685.475, 32.7207), color: [255, 255, 0, 150], visible: true, dimension: 0 });
|
||||||
colshapeBase = mp.colshapes.newSphere(-442.3999, -1701.5234, 18.933002 - 1, 10);
|
colshapeBase = mp.colshapes.newSphere(-442.3999, -1701.5234, 18.933002 - 1, 10);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
player.Heading = (57.03f);
|
player.Heading = (57.03f);
|
||||||
}
|
}
|
||||||
Vehicle LastVehicle = player.GetData<Vehicle>("LastVehicle");
|
Vehicle LastVehicle = player.GetData<Vehicle>("LastVehicle");
|
||||||
if (LastVehicle != null)
|
if (LastVehicle != null && job.Id != GetJob<RefuseCollectorJob>().Id)
|
||||||
{
|
{
|
||||||
LastVehicle.ResetData("timerJobVehicleRespawn");
|
LastVehicle.ResetData("timerJobVehicleRespawn");
|
||||||
ServerVehicle sVeh = VehicleManager.GetServerVehicleFromVehicle(LastVehicle);
|
ServerVehicle sVeh = VehicleManager.GetServerVehicleFromVehicle(LastVehicle);
|
||||||
|
|||||||
Reference in New Issue
Block a user