02.11.2012, 08:52
Hi, I have Been Creating A TextDraw Score!
Here's My Code
When I press Tab! It Shows My Score as 1000
And The TextDraw Says Its 0. Plz Help
Here's My Code
PHP код:
new string2[128];
new Score = GetPlayerScore(playerid);
format(string2, sizeof(string2), "Score: %i", Score);
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 3.999998, 185.173278, string2);
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 2);
PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
And The TextDraw Says Its 0. Plz Help