Text Draw Help
#9

Код:
new PlayerText:TextDraw_Rob[MAX_PLAYERS];
This on the top

Код:
        new string[140];
        TextDraw_Rob[playerid] = CreatePlayerTextDraw(153.000000, 149.000000, "");
        format(string, sizeof(string), "%s.", RPName(playerid));
        PlayerTextDrawSetString(TextDraw_Rob[playerid],string);
	PlayerTextDrawFont(TextDraw_Rob[playerid], 0);
	PlayerTextDrawLetterSize(TextDraw_Rob[playerid], 5.1, 5.1);
	PlayerTextDrawFontColor(TextDraw_Rob[playerid], 0xFFFFFFFF);
	PlayerTextDrawSetOutline(TextDraw_Rob[playerid], 1);
	PlayerTextDrawSetProportional(TextDraw_Rob[playerid], true);
	PlayerTextDrawSetShadow(TextDraw_Rob[playerid], 1);
	PlayerTextDrawUseBox(TextDraw_Rob[playerid], true);
	PlayerTextDrawBoxColor(TextDraw_Rob[playerid], 0x0D0D0DFF);
	PlayerTextDrawTextSize(TextDraw_Rob[playerid], 100, 50);
Put those in
Код:
public OnPlayerConnect(playerid)
Код:
public OnPlayerSpawn(playerid)
{
    PlayerTextDrawShow(playerid, TextDraw_Rob[playerid]);
}
Reply


Messages In This Thread
Text Draw Help - by TheLegend1 - 14.08.2015, 21:21
Re: Text Draw Help - by jlalt - 14.08.2015, 21:22
Re: Text Draw Help - by Izaque1998 - 14.08.2015, 21:33
Re: Text Draw Help - by iTakelot - 14.08.2015, 21:34
Re: Text Draw Help - by TheLegend1 - 14.08.2015, 21:41
Re: Text Draw Help - by ThePhenix - 14.08.2015, 21:42
Re: Text Draw Help - by TheLegend1 - 14.08.2015, 21:56
Re: Text Draw Help - by jlalt - 14.08.2015, 21:57
Re: Text Draw Help - by UnDetectable - 14.08.2015, 22:09
Re: Text Draw Help - by TheLegend1 - 14.08.2015, 22:16

Forum Jump:


Users browsing this thread: 2 Guest(s)