07.08.2018, 01:33
PHP код:
BoxTextDraw[playerid] = CreatePlayerTextDraw(playerid, 0.922355, 397.083312, "box");
PlayerTextDrawLetterSize(playerid, BoxTextDraw[playerid], 0.000468, 1.707176);
PlayerTextDrawTextSize(BoxTextDraw[playerid], 641.000000, 0.000000);
PlayerTextDrawAlignment(BoxTextDraw[playerid], 1);
PlayerTextDrawColor(BoxTextDraw[playerid], -1);
PlayerTextDrawUseBox(BoxTextDraw[playerid], 1);
PlayerTextDrawBoxColor(BoxTextDraw[playerid], 255);
PlayerTextDrawSetShadow(BoxTextDraw[playerid], 0);
PlayerTextDrawSetOutline(BoxTextDraw[playerid], 0);
PlayerTextDrawBackgroundColor(BoxTextDraw[playerid], 255);
PlayerTextDrawFont(BoxTextDraw[playerid], 1);
PlayerTextDrawSetProportional(BoxTextDraw[playerid], 1);
PlayerTextDrawSetShadow(BoxTextDraw[playerid], 0);
LevelTextDraw[playerid] = PlayerTextDrawCreate(playerid, 148.038024, 397.666687, "LEVEL: %d");
PlayerTextDrawLetterSize(LevelTextDraw[playerid], 0.408531, 1.600000);
PlayerTextDrawAlignment(LevelTextDraw[playerid], 1);
PlayerTextDrawColor(LevelTextDraw[playerid], -2147483393);
PlayerTextDrawSetShadow(LevelTextDraw[playerid], 0);
PlayerTextDrawSetOutline(LevelTextDraw[playerid], 0);
PlayerTextDrawBackgroundColor(LevelTextDraw[playerid], 255);
PlayerTextDrawFont(LevelTextDraw[playerid], 1);
PlayerTextDrawSetProportional(LevelTextDraw[playerid], 1);
PlayerTextDrawSetShadow(LevelTextDraw[playerid], 0);
NicktextDraw[playerid] = TextDrawCreate(playerid, 2.796504, 398.833374, "NICK: %s");
PlayerTextDrawLetterSize(NicktextDraw[playerid], 0.400000, 1.600000);
PlayerTextDrawAlignment(NicktextDraw[playerid], 1);
PlayerTextDrawColor(NicktextDraw[playerid], 16777215);
PlayerTextDrawSetShadow(NicktextDraw[playerid], 0);
PlayerTextDrawSetOutline(NicktextDraw[playerid], -1);
PlayerTextDrawBackgroundColor(NicktextDraw[playerid], 255);
PlayerTextDrawFont(NicktextDraw[playerid], 2);
PlayerTextDrawSetProportional(NicktextDraw[playerid], 1);
PlayerTextDrawSetShadow(NicktextDraw[playerid], 0);
SaldoBancoTextDraw[playerid] = TextDrawCreate(playerid, 255.329223, 398.250000, "SALDO_BANCO: %d");
PlayerTextDrawLetterSize(SaldoBancoTextDraw[playerid], 0.400000, 1.600000);
PlayerTextDrawAlignment(SaldoBancoTextDraw[playerid], 1);
PlayerTextDrawColor(SaldoBancoTextDraw[playerid], 8388863);
PlayerTextDrawSetShadow(SaldoBancoTextDraw[playerid], 0);
PlayerTextDrawSetOutline(SaldoBancoTextDraw[playerid], 0);
PlayerTextDrawBackgroundColor(SaldoBancoTextDraw[playerid], 255);
PlayerTextDrawFont(SaldoBancoTextDraw[playerid], 1);
PlayerTextDrawSetProportional(SaldoBancoTextDraw[playerid], 1);
PlayerTextDrawSetShadow(SaldoBancoTextDraw[playerid], 0);
ProfissaoTextDraw[playerid] = TextDrawCreate(playerid, 445.549560, 398.250091, "PROFISSAO: %s");
PlayerTextDrawLetterSize(ProfissaoTextDraw[playerid], 0.400000, 1.600000);
PlayerTextDrawAlignment(ProfissaoTextDraw[playerid], 1);
PlayerTextDrawColor(ProfissaoTextDraw[playerid], -1);
PlayerTextDrawSetShadow(ProfissaoTextDraw[playerid], 0);
PlayerTextDrawSetOutline(ProfissaoTextDraw[playerid], 0);
PlayerTextDrawBackgroundColor(ProfissaoTextDraw[playerid], 255);
PlayerTextDrawFont(ProfissaoTextDraw[playerid], 1);
PlayerTextDrawSetProportional(ProfissaoTextDraw[playerid], 1);
PlayerTextDrawSetShadow(ProfissaoTextDraw[playerid]);
PHP код:
new PlayerText:LevelTextDraw[MAX_PLAYERS];
new PlayerText:BoxTextDraw[MAX_PLAYERS];
new PlayerText:NicktextDraw[MAX_PLAYERS];
new PlayerText:SaldoBancoTextDraw[MAX_PLAYERS];
new PlayerText:ProfissaoTextDraw[MAX_PLAYERS];