mtasa-blue
mtasa-blue copied to clipboard
setMapsize
Is your feature request related to a problem? Please describe.
The GTA SA map is limited to 6000x6000 so the createBuilding command does not work outside this limit.
Describe the solution you'd like
We should be able to set the map border in a controlled manner by adding the setMapsize command or another command.
Describe alternatives you've considered
No response
Additional context
No response
Security Policy
- [x] I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
What should happen when you do setMapSize(1)?
What should happen when you do
setMapSize(1)?
Maybe let's make the minimum map size 6000x6000
Its possible to place buildings outside the map if you remove this check from source code, but the game wont render it as it should. If render issue could be solved there is no need of setMapSize etc. I've talk with @TheNormalnij in the past about this.
What should happen when you do
setMapSize(1)?
The map size can't be less than 6000x6000.
If render issue could be solved there is no need of setMapSize etc.
We still need it for createWater
Can it be used for this, since we can't remove water and ground in specific places outside the boundary?
If render issue could be solved there is no need of setMapSize etc.
There are some bugs outside of the 6000x6000 boundary, one of them is melee not working for example (but im pretty certain this is related to the bandwidth reduction setting). I don't know what's the issue exactly