SA-MP Forums Archive
TextDraw string - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TextDraw string (/showthread.php?tid=113203)



TextDraw string - Ironboy500 - 12.12.2009

Hello, can anyone help me with text draw. Here is mine, but when I enter that vehicle it is not showing:

Код:
if(gTeam[playerid] == TEAM_ATTACKERS && vehicleid == OBJECTIVE_VEHICLE_ATTACKERS)
		{ // It's the objective vehicle
		  format (string, sizeof(string), "%s is now delivering food truck back to base.", playername);
		  text = TextDrawCreate(23.000000,150.000000, string);
		  TextDrawUseBox(text,1);
		  TextDrawBoxColor(text,0x00000099);
		  TextDrawTextSize(text,236.000000,-38.000000);
		  TextDrawAlignment(text,0);
		  TextDrawBackgroundColor(text,0x000000ff);
		  TextDrawFont(text,1);
		  TextDrawLetterSize(text,0.699999,2.300002);
			TextDrawColor(text,0xffffffff);
			TextDrawSetOutline(text,1);
			TextDrawSetProportional(text,1);
			TextDrawSetShadow(text,1);
			TextDrawShowForAll(text);
			SetTimer ("Remove", 3000, false);
It is not showing, anyone know why?
Thanks!


Re: TextDraw string - Joe Staff - 12.12.2009

Does it have something to do with your textsize having a -38 y coordinate?


Re: TextDraw string - Ironboy500 - 12.12.2009

ok I will try



Re: TextDraw string - Ironboy500 - 12.12.2009

I need text draw which will show when player enter one vehicle, so still not showing.