View Issue Details

IDProjectCategoryView StatusLast Update
0009742Multi Theft Auto : San AndreasScriptingpublic2018-07-05 16:44
ReporterCrosRoad95Assigned Tomyonlake 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.5.5 
Target Version1.5.6Fixed in Version1.5.6 
Summary0009742: createColPolygon accept max 3 Vector2
Description

like topic.

Steps To Reproduce

createColPolygon(Vector2.create(0,0),Vector2.create(20,10),Vector2.create(300,10),Vector2.create(10,300),Vector2.create(250,3000),Vector2.create(500,600));
createColPolygon(0,0,20,10,300,10,10,300,250,3000,500,600);
using Vector you can pass MAX 3 vectors, using numbers you can pass any numbers of arguments.

Additional Information

https://imgur.com/a/6qSgJ polygon by using Vector2.create as position ( full code above )
https://imgur.com/a/E1MW5 polygon by using numbers as position ( full code above )

TagsNo tags attached.

Activities

pkpawelo

2017-10-14 15:23

reporter   ~~0026240

Clientside createColPolygon doesn't seem to work at all with vectors and serverside works partially (exactly as you described, accepting max 3 vectors). Their source code are totally out of sync for some reason. Gonna work on this.

pkpawelo

2017-10-15 16:53

reporter   ~~0026242

PR with fix submitted: https://github.com/multitheftauto/mtasa-blue/pull/163

myonlake

2018-07-04 00:34

reporter   ~~0026602

Another PR with fix submitted: https://github.com/multitheftauto/mtasa-blue/pull/217

Issue History

Date Modified Username Field Change