PlayerTextDrawString problem.
#4

another problem.
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;
}
Reply


Messages In This Thread
PlayerTextDrawString problem. - by DavidGravelli - 08.06.2018, 22:16
Re: PlayerTextDrawString problem. - by DeathCore - 08.06.2018, 23:51
Re: PlayerTextDrawString problem. - by Sew_Sumi - 09.06.2018, 02:32
Re: PlayerTextDrawString problem. - by DavidGravelli - 09.06.2018, 03:33
Re: PlayerTextDrawString problem. - by Logic_ - 09.06.2018, 03:35
Re: PlayerTextDrawString problem. - by DavidGravelli - 09.06.2018, 03:43
Re: PlayerTextDrawString problem. - by Sew_Sumi - 09.06.2018, 04:53
Re: PlayerTextDrawString problem. - by Pottus - 09.06.2018, 05:04
Re: PlayerTextDrawString problem. - by 0x88 - 09.06.2018, 16:32
Re: PlayerTextDrawString problem. - by 0x88 - 09.06.2018, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)