Jump to content

Text with number problem


arielnmz

Recommended Posts

Hey, well I have another problem... why does it display LENGHT: %D instead of Lenght: #number# ???

 

car 0@ was already defined (0811) and 9@ was already allocated (0AC8 size 16)

 

 

:ANMZBRNT_282

0001: wait 0 ms

02E3: 1@ = car 0@ speed

0087: 10@ = 1@ // (float)

0092: 10@ = float 10@ to_integer

0AD3: string 9@ "Length: %d" 10@ 

0ADF: add_dynamic_GXT_entry '_TRBKMH' text 9@

0340: set_text_draw_RGBA 255 255 255 255

0349: set_text_draw_font 1

060D: draw_text_shadow 1 color_RGBA 0 0 0 255

033E: set_draw_text_position 10.0 10.0 GXT '_TRBKMH'

 

Why doesn't it simply show the number, even if I change 10@ for a fixed number? Thanks!.

Link to comment
Share on other sites

Go into Sanny Builders options (Formats) and set "Case converting" to "As is".

Link to comment
Share on other sites

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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.