forked from Simnation/Main
25 lines
801 B
Lua
25 lines
801 B
Lua
CreateThread(function()
|
|
Wait(1000)
|
|
|
|
-- Erweitere die Welt-Grenzen für den Spieler
|
|
ExtendWorldBoundaryForPlayer(-4000.0, -6500.0, 6500.0, -3000.0)
|
|
|
|
-- Setze Map Zoom Data für bessere Sicht
|
|
SetMapZoomDataLevel(0, 0.96, 0.9, 0.08, 0.0, 0.0)
|
|
SetMapZoomDataLevel(1, 1.6, 0.9, 0.08, 0.0, 0.0)
|
|
SetMapZoomDataLevel(2, 8.6, 0.9, 0.08, 0.0, 0.0)
|
|
SetMapZoomDataLevel(3, 12.3, 0.9, 0.08, 0.0, 0.0)
|
|
SetMapZoomDataLevel(4, 22.3, 0.9, 0.08, 0.0, 0.0)
|
|
end)
|
|
|
|
-- Alternative Methode für Pausemap
|
|
CreateThread(function()
|
|
while true do
|
|
Wait(500)
|
|
|
|
if IsPauseMenuActive() then
|
|
-- Stelle sicher, dass die erweiterten Grenzen aktiv sind
|
|
ExtendWorldBoundaryForPlayer(-4000.0, -6500.0, 6500.0, -3000.0)
|
|
end
|
|
end
|
|
end)
|