31.07.2018, 14:11
i add
( a little different )
and i add my textdraw to
stock Init_PText
after that, i joined the game but textdraw don't show?, but i compiler success, please help me
Код:
static PlayerText:Textdraw1[MAX_PLAYERS][1];
and i add my textdraw to
stock Init_PText
Код:
{ Textdraw1[playerid][0] = CreatePlayerTextDraw(playerid,508.000000, 146.533325, "MAU CUA BAN"); PlayerTextDrawLetterSize(playerid,Textdraw1[playerid][0], 0.449999, 1.600000); PlayerTextDrawAlignment(playerid,Textdraw1[playerid][0], 1); PlayerTextDrawColor(playerid,Textdraw1[playerid][0], -1); PlayerTextDrawSetShadow(playerid,Textdraw1[playerid][0], 0); PlayerTextDrawSetOutline(playerid,Textdraw1[playerid][0], 1); PlayerTextDrawBackgroundColor(playerid,Textdraw1[playerid][0], 51); PlayerTextDrawFont(playerid,Textdraw1[playerid][0], 1); PlayerTextDrawSetProportional(playerid,Textdraw1[playerid][0], 1); return 1; }