09.06.2018, 03:33
another problem.
the first one fixed.
When i add this function with a timer or even without a timer the console is closing auto.
the first one fixed.
When i add this function with a timer or even without a timer the console is closing auto.
pawn Код:
SetTimer("UpdateHud", 2000, 1);
pawn Код:
forward UpdateHud();
public UpdateHud()
{
foreach (new i : Player)
{
if (pInfo[i][pLogged])
{
new
szString[200];
format(szString, sizeof szString, "~w~Cash: ~w~$%d", GetPlayerMoney(i));
PlayerTextDrawSetString(i, Hud[i], szString);
}
}
return 1;
}