06.08.2018, 18:52
PHP Code:
ShowPlayerDialogString(playerid, DIALOG_ID_SP_TD_POSITION, DIALOG_STYLE_INPUT,
str_new("Change textdraw string content"),
str_new("Please enter the location in width and height format.\n \n\
"COLOR_DEFAULT"Good to know:\n\
"COLOR_HIGHLIGHT" - If you enter a height less than 1.0, only the shadow will be visible.\n\
- If the coordination is off your visual screen, only the shadow will be visible.\n\
- The width and height are estimated in float (decimal) values in a canvas of 640x480.\n\
- You are the only one who will use this texdraw, so you can design it to fit your resolution perfectly.\n \n\
"COLOR_DEFAULT"Current position: "COLOR_HIGHLIGHT) +
str_float(characterSpeedometerTextdraws[playerid][profile][textdraw][speedometerPosWidth]) + str_new("x") +
str_float(characterSpeedometerTextdraws[playerid][profile][textdraw][speedometerPosHeight]),
COLOR_HIGHLIGHT"Submit", "Back");
Not really sure why str_float() (shown in the snippet above) is undefined.
Code:
../include/vehicles/vehicleSpeedometers.inc(187) -- (197) : error 017: undefined symbol "str_float" Pawn compiler 3.2.3664 Copyright © 1997-2017, ITB CompuPhase 1 Error. [Finished in 0.6s]