Skip to content

setColPolygonHeight on a non polygon will crash the server #4305

@ArranTuna

Description

@ArranTuna

Describe the bug

I accidentally called setColPolygonHeight on a col-circle and the server crashed.

Steps to reproduce

srun col = createColCircle(-1422.9 - 30, 1525.7, 30) setColPolygonHeight(col, -1, 30)

Note that sometimes it doesn't crash, do it a few times and it will, just tried that 3 times in a row and it froze the server instead.

Version

Newest nightly mtasa-1.6-rc-23282-20250717.exe

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions