Skip to content

Undefined argument in dxDrawRectangle #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Disinterpreter opened this issue Jun 27, 2020 · 2 comments
Closed

Undefined argument in dxDrawRectangle #63

Disinterpreter opened this issue Jun 27, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@Disinterpreter
Copy link
Member

Describe the bug

amx/amx/client/bars.lua

Lines 17 to 18 in 6a3fe18

dxDrawRectangle( X - 30, Y - 130, 60, 10, tocolor( 0, 0, 0, 255), 10 );
dxDrawRectangle( X - 28, Y - 128, lineLength, 6, tocolor( 255, 0, 0, 200 ), 6 );

The last argument is incorrect.

Screenshots
image

Additional context
https://wiki.multitheftauto.com/wiki/DxDrawRectangle

@Disinterpreter Disinterpreter added the bug Something isn't working label Jun 27, 2020
@AGraber
Copy link
Contributor

AGraber commented Oct 2, 2020

This will be "fixed" after I push a better and more identical implementation of SA-MP's bars

@colistro123
Copy link
Collaborator

Fixed in #98 by @NexiusTailer, thanks to them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants