• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Error with TextDrawSetString ??
#3
(2020-10-24, 05:35 PM)Expert* Wrote: F

TextDrawSetString([td_fuel][i], tdstring);





btw,

start using this: sizeof( tdstring ) -1

So:





PHP Code:
new tdstring[ 32 ]; format( tdstring, sizeof( tdstring ) - 1, "Fuel:%i", fuel[ vid ] ); TextDrawSetString( g_Player[ i ][ td_fuel ], tdstring );



Also, you should check if g_Player[ i ][ td_fuel ] - Textdraw is created and used.





Thank You that helping me so much :)
  Reply


Messages In This Thread
Error with TextDrawSetString ?? - by DaZzY - 2020-10-24, 04:12 PM
RE: Error with TextDrawSetString ?? - by Expert* - 2020-10-24, 05:35 PM
RE: Error with TextDrawSetString ?? - by DaZzY - 2020-10-24, 07:17 PM