1
0
Fork 0
forked from Simnation/Main
Main/resources/[tools]/cayomap/client.lua
2025-07-28 20:03:18 +02:00

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)