02.06.2011, 23:02
pawn Код:
public threetimer()
{
for(new playerid; playerid<MAX_PLAYERS; playerid++) //if it's a time u would need this so it works for all ur players not only I'd 0
{
new text[10];
format(text, sizeof(text), "%d",PlayerInfo[playerid][pScore]);
TextDrawSetString(Textdraw1[playerid],text); // the important part
SetPlayerMoney(playerid,PlayerInfo[playerid][pCash]);
SetPlayerScore(playerid,PlayerInfo[playerid][pScore]);
}
return 1;
}
And make sure to change the new Textdraw1 to new Textdraw1[MAX_PLAYERS]
Hope that's what u need