pawn Код:
// Score :
for(new x = 0; x < MAX_PLAYERS; x++)
{
ScoreTextDraw[x] = TextDrawCreate(10, 260, "Score: 1000000");
TextDrawBackgroundColor(ScoreTextDraw[x], 255);
TextDrawFont(ScoreTextDraw[x], 1);
TextDrawLetterSize(ScoreTextDraw[x], 0.500000, 2.300000);
TextDrawTextSize(ScoreTextDraw[x], 121.000000, 0.000000);
TextDrawColor(ScoreTextDraw[x], -1);
TextDrawUseBox(ScoreTextDraw[x], 1);
TextDrawBoxColor(ScoreTextDraw[x], 0x000000FF);
TextDrawSetOutline(ScoreTextDraw[x], 1);
TextDrawSetProportional(ScoreTextDraw[x], 1);
TextDrawSetShadow(ScoreTextDraw[x], 0);
}
// Ping:
for(new z = 0; z < MAX_PLAYERS; z++)
{
Ping[z] = TextDrawCreate(10, 284, "Ping:");
TextDrawBackgroundColor(Ping[z], 255);
TextDrawFont(Ping[z], 1);
TextDrawLetterSize(Ping[z], 0.500000, 2.300000);
TextDrawTextSize(Ping[z], 121.000000, 0.000000);
TextDrawColor(Ping[z], -1);
TextDrawUseBox(Ping[z], 1);
TextDrawBoxColor(Ping[z], 0x000000FF);
TextDrawSetOutline(Ping[z], 1);
TextDrawSetProportional(Ping[z], 1);
TextDrawSetShadow(Ping[z], 0);
}
// FPS :
FPS[playerid] = TextDrawCreate(10, 310, "FPS:");
TextDrawBackgroundColor(FPS[playerid], 255);
TextDrawFont(FPS[playerid], 1);
TextDrawLetterSize(FPS[playerid], 0.500000, 2.300000);
TextDrawTextSize(FPS[playerid], 121.000000, 10.000000);
TextDrawColor(FPS[playerid], -1);
TextDrawUseBox(FPS[playerid], 1);
TextDrawBoxColor(FPS[playerid], 0x00000FF);
TextDrawSetOutline(FPS[playerid], 1);
TextDrawSetProportional(FPS[playerid], 1);
TextDrawSetShadow(FPS[playerid], 0);
TextDrawShowForPlayer(playerid, FPS[playerid]);
Aн o Code das 3 ^^