open.mp forum
GTA SA-MP Scripting: Dynamic objects did not render after 20,000 x coordinates - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: General Discussions (https://forum.open.mp/forumdisplay.php?fid=6)
--- Thread: GTA SA-MP Scripting: Dynamic objects did not render after 20,000 x coordinates (/showthread.php?tid=6225)



GTA SA-MP Scripting: Dynamic objects did not render after 20,000 x coordinates - rogerfonseca - 2026-08-24

Hello,
I've created a map that extends beyond 20,000 on the X-axis, east of Los Santos. I've set the player world boundaries to:

SetPlayerWorldBounds(playerid, 500000.00, -2000.00, 2000.00, -500000.00);

I'm also using the latest version of Incognito's Streamer Plugin. However, once I travel beyond approximately 20,000 on the X-axis, dynamic objects stop loading, and my vehicle spawner script also stops working.

What could be causing this issue, and is there a way to overcome the 20,000-coordinate limit so I can continue expanding my map?

Here is my code:

https://pastebin.com/09YV34uL

All of my objects are created in OnGameModeInit().