TextDraw string
#1

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!
Reply
#2

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

ok I will try
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)