25.12.2018, 16:16
From what I see "IgracevInfo" is a global text drawing and it is necessary that it be a text player to be used in that way.
It must be like this:
And it would look like this:
It must be like this:
PHP код:
new PlayerText:IgracevInfo[MAX_PLAYERS][14]; //14 is the maximum amount of textdraws created
PHP код:
new zlatoba[90];
format(zlatoba, sizeof(zlatoba),"%d g",PlayerInfo[playerid][pZlato]);
PlayerTextDrawSetString(playerid, IgracevInfo[playerid][14], zlatoba);