multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

engineSetModelLODDistance is broken #3508

Open Xenius97 opened 4 days ago

Xenius97 commented 4 days ago

Describe the bug

LOD Distances are stuck at 325

By default LV Stadium 8239 ID has 650 units LOD distance, but if you try to change it will be always stuck at 325. I've tested multiple models, and same result. If i remember correctly, you could change LOD Distance from 0-1000 in the past.

This was the issue in #3431 too

Steps to reproduce

Runcode: engineGetModelLODDistance(8239) Result: 650 [number] <<<<<<< DEFAULT Runcode: engineSetModelLODDistance(8239, 900) Result: true [boolean] Runcode: engineGetModelLODDistance(8239) Result: 325 [number] Runcode: engineSetModelLODDistance(8239, 650) Result: true [boolean] Runcode: engineGetModelLODDistance(8239) Result: 325 [number]

Version

Multi Theft Auto v1.6-release-22556

Additional context

No response

Relevant log output

No response

Security Policy