forked from Simnation/Main
Update client.lua
This commit is contained in:
parent
b66268b46d
commit
ddf361466c
1 changed files with 3 additions and 20 deletions
|
@ -1,25 +1,8 @@
|
||||||
CreateThread(function()
|
CreateThread(function()
|
||||||
Wait(1000)
|
Wait(2000)
|
||||||
|
|
||||||
-- Erweitere die Welt-Grenzen für den Spieler
|
-- Erweitere die Welt-Grenzen permanent
|
||||||
ExtendWorldBoundaryForPlayer(-4000.0, -6500.0, 6500.0, -3000.0)
|
ExtendWorldBoundaryForPlayer(-4000.0, -6500.0, 6500.0, -3000.0)
|
||||||
|
|
||||||
-- Setze Map Zoom Data für bessere Sicht
|
print("^2[CayoMap]^7 Cayo Perico zur Pausemap hinzugefügt!")
|
||||||
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