22.12.2013, 10:15
No, they're not.
pawn Код:
new
PlayerText:TextDrawMoney[MAX_PLAYERS] = {PlayerText: INVALID_TEXT_DRAW, ...};
public OnPlayerConnect(playerid)
{
TextDrawMoney[playerid] = CreatePlayerTextDraw(playerid, 414.0, 400.0, "~b~Money:~w~ ");
PlayerTextDrawBackgroundColor(playerid, TextDrawMoney[playerid], 255);
PlayerTextDrawFont(playerid, TextDrawMoney[playerid], 3);
PlayerTextDrawLetterSize(playerid, TextDrawMoney[playerid], 0.70, 0.80);
PlayerTextDrawSetOutline(playerid, TextDrawMoney[playerid], 1);
PlayerTextDrawSetProportional(playerid, TextDrawMoney[playerid], 1);
PlayerTextDrawUseBox(playerid, TextDrawMoney[playerid], 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
PlayerTextDrawShow(playerid, TextDrawMoney[playerid]);
return 1;
}
public OnPlayerUpdate(playerid)
{
format(string, sizeof string, "~B~Money:~w~ %d", GetPlayerMoney(playerid));
PlayerTextDrawSetString(playerid, TextDrawMoney[playerid], string);
return 1;
}

