02.06.2011, 21:37
Hey all. I made a timer that updates a few things but when I use the update for my textdraw it doesnt show my score but someone elses score.
How to fix?
How to fix?
pawn Код:
public threetimer(playerid)
{
new text[10];
format(text, sizeof(text), "%d",PlayerInfo[playerid][pScore]);
TextDrawSetString(Textdraw1, text);
SetPlayerMoney(playerid,PlayerInfo[playerid][pCash]);
SetPlayerScore(playerid,PlayerInfo[playerid][pScore]);
return 1;
}