mtasa-blue
mtasa-blue copied to clipboard
guiCreateWindow is broken
Describe the bug
guiCreateWindow with first/second argument set to 0 will break static images. You have to add "padding" to make it work properly. Check attached files.
1 broken.txt
2 working.txt
Steps to reproduce
- write your code
- think 1 hour why this shit isnt working
Version
Client: Multi Theft Auto v1.5.9-release-21210 Server: -
Additional context
No response
Relevant log output
1 working:
1:1 0.01,0.01
1:2 0.21,0.01
1:3 0.41,0.01
1:4 0.61,0.01
1:5 0.81,0.01
2:1 0.01,0.17666666666667
2:2 0.21,0.17666666666667
2:3 0.41,0.17666666666667
2:4 0.61,0.17666666666667
2:5 0.81,0.17666666666667
3:1 0.01,0.34333333333333
3:2 0.21,0.34333333333333
3:3 0.41,0.34333333333333
3:4 0.61,0.34333333333333
3:5 0.81,0.34333333333333
4:1 0.01,0.51
4:2 0.21,0.51
4:3 0.41,0.51
4:4 0.61,0.51
4:5 0.81,0.51
5:1 0.01,0.67666666666667
5:2 0.21,0.67666666666667
5:3 0.41,0.67666666666667
5:4 0.61,0.67666666666667
5:5 0.81,0.67666666666667
6:1 0.01,0.84333333333333
6:2 0.21,0.84333333333333
6:3 0.41,0.84333333333333
6:4 0.61,0.84333333333333
6:5 0.81,0.84333333333333
2 broken:
1:1 0,0
1:2 0.2,0
1:3 0.4,0
1:4 0.6,0
1:5 0.8,0
2:1 0,0.16666666666667
2:2 0.2,0.16666666666667
2:3 0.4,0.16666666666667
2:4 0.6,0.16666666666667
2:5 0.8,0.16666666666667
3:1 0,0.33333333333333
3:2 0.2,0.33333333333333
3:3 0.4,0.33333333333333
3:4 0.6,0.33333333333333
3:5 0.8,0.33333333333333
4:1 0,0.5
4:2 0.2,0.5
4:3 0.4,0.5
4:4 0.6,0.5
4:5 0.8,0.5
5:1 0,0.66666666666667
5:2 0.2,0.66666666666667
5:3 0.4,0.66666666666667
5:4 0.6,0.66666666666667
5:5 0.8,0.66666666666667
6:1 0,0.83333333333333
6:2 0.2,0.83333333333333
6:3 0.4,0.83333333333333
6:4 0.6,0.83333333333333
6:5 0.8,0.83333333333333
Security Policy
- [X] I have read and understood the Security Policy and this issue is not security related.