19.06.2012, 12:50
Fiz um textdraw assim
SetTimer("att",1000,true);
o negocio e que de vez enquando aparece o score do outro player
desde ja vlws
SetTimer("att",1000,true);
pawn Код:
score = TextDrawCreate(20.000000, 171.000000, "_");
TextDrawBackgroundColor(score, 255);
TextDrawFont(score, 2);
TextDrawLetterSize(score, 0.280000, 1.300000);
TextDrawColor(score, -1);
TextDrawSetOutline(score, 0);
TextDrawSetProportional(score, 1);
TextDrawSetShadow(score, 1);
pawn Код:
forward att(playerid);
public att(playerid)
{
new str[12];
format(str, 12, "score: %d" ,GetPlayerScore(playerid));
TextDrawSetString(score, str);
}
desde ja vlws