Jump to content

whats wrong here


StreetSaintz

Recommended Posts

Posted

I'm working on adding colors to the speed script i use but i got this problem

the code i use

dxDrawColorText ("0000", 4, screenHeight - dxGetFontHeight(2.00, 'bankgothic')/2, 100, 100, tocolor ( 0, 0, 0, 255 ), 1.2, 'bankgothic', 0.55, 'left') 

and i get this error

  attempt to perform arithmetic on global 'screenheight'  

Posted

This function is deprecated. This means that its use is discouraged and that it might not exist in future versions.

Please use dxDrawText instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...