12.07.2013, 01:17
deu erro? tenta..c sabe onde bota ne
onplayspawn
pawn Код:
new Text:velo[MAX_PLAYERS];
pawn Код:
Velo[i] = TextDrawCreate(30,326, " ");
TextDrawFont(Velo[i],1);
TextDrawBackgroundColor(Velo[i], 255);
TextDrawSetOutline(Velo[i], 1);
TextDrawColor(Velo[i], -1);
TextDrawShowForPlayer (i, Velo[i]);
}
pawn Код:
velo[playerid] = TextDrawCreate(230, 350,"~r~Velocidade:0Km/h");
TextDrawTextSize(velo[playerid], 450, 500);
TextDrawColor(velo[playerid], -1);
TextDrawUseBox(velo[playerid], 1);
TextDrawSetShadow(velo[playerid], 2);
TextDrawBoxColor(velo[playerid], 70);
TextDrawSetOutline(velo[playerid], 0);
TextDrawBackgroundColor(velo[playerid], 170);
TextDrawFont(velo[playerid], 1);
TextDrawSetProportional(velo[playerid], 1);
TextDrawHideForPlayer(playerid, velo[playerid]);
pawn Код:
TextDrawHideForPlayer(playerid, velo[playerid]);