Mohamed Saber Posted June 7, 2019 Posted June 7, 2019 x5, y5, tx, ty = convertDxPositionToAllScreens(_posY-2, sy*345, sx*126, sy*23, 1280, 720) dxDrawRectangle(x5,y5 ,tx , ty, tocolor(0,0,0,170*race.alpha)) debug: Bad argument @'dxDrawRectangle'[Expected vector2 at argument 1, got nil]
Moderators Patrick Posted June 7, 2019 Moderators Posted June 7, 2019 (edited) One of your coordinates (x5 or y4) is not definied. ("at argument 1", so x5 is equal to nil) Edited June 7, 2019 by stPatrick
Mohamed Saber Posted June 7, 2019 Author Posted June 7, 2019 8 minutes ago, stPatrick said: One of your coordinates (x5 or y4 or tx or ty) is not definied. (equal to nil) I use interbetween coordinates is not null 24 minutes ago, stPatrick said: One of your coordinates (x5 or y4) is not definied. ("at argument 1", so x5 is equal to nil) help bro
salh Posted June 7, 2019 Posted June 7, 2019 this is not all code give us the all code where you get the _posY
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now