Textdraws Messing up with TextDrawSetString
#1

Hey,

I don\'t often post here for help, so thanks anyone who can/does help me.

Okay, when I first create the textdraw it has this string.

"~b~Option 1~w~~n~Option 2~n~Option 3"

When I use textdrawsetstring I use this string.

"~b~%s~w~~n~%s~n~%s" the referenced strings should be "Calls", "Voicemail" and "Turn off".

As you can see there is hardly any difference in the output, please note that the textdraw is fine before I use setstring.

Code:
	format(PhoneMenuString,sizeof(PhoneMenuString),"~b~%s~w~~n~%s~n~%s","Calls", "Voicemail","Turn Off");
  	TextDrawSetString(PhoneMenuOption[playerid],PhoneMenuString);
Theres the code. Also i\'v noticed the text for the radio stations at the top is fucking up, for example "KDST" ends up as "K D% 0S T"(Or somethig like that)

Thanks!


Reply


Messages In This Thread
Textdraws Messing up with TextDrawSetString - by NeRoSiS - 17.12.2009, 07:25
Re: Textdraws Messing up with TextDrawSetString - by Tigerbeast11 - 17.12.2009, 07:39
Re: Textdraws Messing up with TextDrawSetString - by NeRoSiS - 17.12.2009, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)