13.04.2013, 07:57
Aviv_Raj, you CANNOT use that in a function, also the tag is PlayerText:my_Var, not TextDraw.
You have to use TextDrawSetString(....);
You have to use TextDrawSetString(....);
pawn Код:
new PlayerText:welcomeText[MAX_PLAYERS];
TextDraw[playerid] = CreatePlayerTextDraw(playerid, 240.0, 580.0, "Kills ");
new st[10];
format(st, 10, "Kills: %d", PlayerInfo[playerid][Kills]);
PlayerTextDrawSetString(TextDraw[playerid], st);
PlayerTextDrawShow(playerid, welcomeText[playerid]);