forked from Simnation/Main
Update client.lua
This commit is contained in:
parent
b4ab65afa1
commit
b66268b46d
1 changed files with 19 additions and 3 deletions
|
@ -1,9 +1,25 @@
|
||||||
CreateThread(function()
|
CreateThread(function()
|
||||||
Wait(1000)
|
Wait(1000)
|
||||||
|
|
||||||
-- Erweitere die Map Bounds um Cayo Perico einzuschließen
|
-- Erweitere die Welt-Grenzen für den Spieler
|
||||||
ExtendWorldBoundaryForPlayer(-4000.0, -6500.0, 6500.0, -3000.0)
|
ExtendWorldBoundaryForPlayer(-4000.0, -6500.0, 6500.0, -3000.0)
|
||||||
|
|
||||||
-- Setze die Pausemap Bounds
|
-- Setze Map Zoom Data für bessere Sicht
|
||||||
SetMapBounds(-4000.0, -6500.0, 6500.0, -3000.0)
|
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)
|
end)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue