Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: josipmarko poslato Maj 09, 2015, 19:39:23 POSLE PODNE

Naslov: [POMOC] Kako malo podignut brzinomjer
Poruka od: josipmarko poslato Maj 09, 2015, 19:39:23 POSLE PODNE
Skripta koju koristim: Euragaming edited
Opis problema o kojem se radi:Znaci htio bih malo podignu brzinomjer da mi ne prekriva sat ,vidi se dola na slici
Dio skripte:
BRZINOMJER[1][playerid] = CreatePlayerTextDraw(playerid, 603.500000, 387.519989, "km/h");
PlayerTextDrawLetterSize(playerid, BRZINOMJER[1][playerid], 0.255499, 1.258399);
PlayerTextDrawAlignment(playerid, BRZINOMJER[1][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMJER[1][playerid], -1061109505);
PlayerTextDrawSetShadow(playerid, BRZINOMJER[1][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMJER[1][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, BRZINOMJER[1][playerid], 255);
PlayerTextDrawFont(playerid, BRZINOMJER[1][playerid], 1);
PlayerTextDrawSetProportional(playerid, BRZINOMJER[1][playerid], 1);

BRZINOMJER[2][playerid] = CreatePlayerTextDraw(playerid, 564.000000, 374.640014, "120");
PlayerTextDrawLetterSize(playerid, BRZINOMJER[2][playerid], 0.617500, 2.949599);
PlayerTextDrawAlignment(playerid, BRZINOMJER[2][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMJER[2][playerid], -1);
PlayerTextDrawSetShadow(playerid, BRZINOMJER[2][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMJER[2][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, BRZINOMJER[2][playerid], 255);
PlayerTextDrawFont(playerid, BRZINOMJER[2][playerid], 3);
PlayerTextDrawSetProportional(playerid, BRZINOMJER[2][playerid], 1);

BRZINOMJER[3][playerid] = CreatePlayerTextDraw(playerid, 592.500000, 421.120269, "45 L");
PlayerTextDrawLetterSize(playerid, BRZINOMJER[3][playerid], 0.349498, 1.398398);
PlayerTextDrawAlignment(playerid, BRZINOMJER[3][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMJER[3][playerid], -1061109505);
PlayerTextDrawSetShadow(playerid, BRZINOMJER[3][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMJER[3][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, BRZINOMJER[3][playerid], 255);
PlayerTextDrawFont(playerid, BRZINOMJER[3][playerid], 3);
PlayerTextDrawSetProportional(playerid, BRZINOMJER[3][playerid], 1);
PlayerTextDrawSetSelectable(playerid, BRZINOMJER[3][playerid], true);


BRZINOMJER[4][playerid] = CreatePlayerTextDraw(playerid, 562.000000, 439.040008, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, BRZINOMJER[4][playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, BRZINOMJER[4][playerid], 23.500000, 2.240010);
PlayerTextDrawAlignment(playerid, BRZINOMJER[4][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMJER[4][playerid], -5963521);
PlayerTextDrawSetShadow(playerid, BRZINOMJER[4][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMJER[4][playerid], 0);
PlayerTextDrawFont(playerid, BRZINOMJER[4][playerid], 4);

BRZINOMJER[5][playerid] = CreatePlayerTextDraw(playerid, 569.000000, 414.960021, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, BRZINOMJER[5][playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, BRZINOMJER[5][playerid], 9.000000, 11.759978);
PlayerTextDrawAlignment(playerid, BRZINOMJER[5][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMJER[5][playerid], -1);
PlayerTextDrawSetShadow(playerid, BRZINOMJER[5][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMJER[5][playerid], 0);
PlayerTextDrawFont(playerid, BRZINOMJER[5][playerid], 4);

    BRZINOMJER[6][playerid] = CreatePlayerTextDraw(playerid, 578.500000, 408.800079, "R");
PlayerTextDrawLetterSize(playerid, BRZINOMJER[6][playerid], 0.375499, 2.787199);
PlayerTextDrawAlignment(playerid, BRZINOMJER[6][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMJER[6][playerid], -5963521);
PlayerTextDrawSetShadow(playerid, BRZINOMJER[6][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMJER[6][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, BRZINOMJER[6][playerid], 51);
PlayerTextDrawFont(playerid, BRZINOMJER[6][playerid], 2);
PlayerTextDrawSetProportional(playerid, BRZINOMJER[6][playerid], 1);

BRZINOMJER[7][playerid] = CreatePlayerTextDraw(playerid,547.199951, 361.399993, "Vozilo: ~w~"); //358.399993
    PlayerTextDrawLetterSize(playerid,BRZINOMJER[7][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid,BRZINOMJER[7][playerid], 1);
    PlayerTextDrawColor(playerid,BRZINOMJER[7][playerid], -1);
    PlayerTextDrawSetShadow(playerid,BRZINOMJER[7][playerid], 0);
    PlayerTextDrawSetOutline(playerid,BRZINOMJER[7][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid,BRZINOMJER[7][playerid], 51);
    PlayerTextDrawFont(playerid,BRZINOMJER[7][playerid], 1);
    PlayerTextDrawSetProportional(playerid,BRZINOMJER[7][playerid], 1);
   
BRZINOMJER[8][playerid] = CreatePlayerTextDraw(playerid, 563.500000, 403.759948, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, BRZINOMJER[8][playerid], 0.010998, -0.016798);
PlayerTextDrawTextSize(playerid, BRZINOMJER[8][playerid], 78.000000, 2.799988);
PlayerTextDrawAlignment(playerid, BRZINOMJER[8][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMJER[8][playerid], -5963521);
PlayerTextDrawSetShadow(playerid, BRZINOMJER[8][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMJER[8][playerid], 0);
PlayerTextDrawFont(playerid, BRZINOMJER[8][playerid], 4);



BRZINOMJER[9][playerid] = CreatePlayerTextDraw(playerid,647.000000, 363.000000, "_");
PlayerTextDrawBackgroundColor(playerid,BRZINOMJER[9][playerid], 255);
PlayerTextDrawFont(playerid,BRZINOMJER[9][playerid], 2);
PlayerTextDrawLetterSize(playerid,BRZINOMJER[9][playerid], 0.290000, -0.200000);
PlayerTextDrawColor(playerid,BRZINOMJER[9][playerid], -109574913);
PlayerTextDrawSetOutline(playerid,BRZINOMJER[9][playerid], 1);
PlayerTextDrawSetProportional(playerid,BRZINOMJER[9][playerid], 1);
PlayerTextDrawUseBox(playerid,BRZINOMJER[9][playerid], 1);
PlayerTextDrawBoxColor(playerid,BRZINOMJER[9][playerid], -109574913);
PlayerTextDrawTextSize(playerid,BRZINOMJER[9][playerid], 563.000000, -1.000000);

BRZINOMJER[10][playerid] = CreatePlayerTextDraw(playerid,643.000000, 429.000000, "_");
PlayerTextDrawBackgroundColor(playerid,BRZINOMJER[10][playerid], 255);
PlayerTextDrawFont(playerid,BRZINOMJER[10][playerid], 2);
PlayerTextDrawLetterSize(playerid,BRZINOMJER[10][playerid], 0.200000, -0.200000);
PlayerTextDrawColor(playerid,BRZINOMJER[10][playerid], -109574913);
PlayerTextDrawSetOutline(playerid,BRZINOMJER[10][playerid], 1);
PlayerTextDrawSetProportional(playerid,BRZINOMJER[10][playerid], 1);
PlayerTextDrawUseBox(playerid,BRZINOMJER[10][playerid], 1);
PlayerTextDrawBoxColor(playerid,BRZINOMJER[10][playerid], -109574913);
PlayerTextDrawTextSize(playerid,BRZINOMJER[10][playerid], 560.000000, -1.000000);

    BRZINOMJER[11][playerid] = CreatePlayerTextDraw(playerid,643.000000, 411.000000, "_");
PlayerTextDrawBackgroundColor(playerid,BRZINOMJER[11][playerid], 255);
PlayerTextDrawFont(playerid,BRZINOMJER[11][playerid], 2);
PlayerTextDrawLetterSize(playerid,BRZINOMJER[11][playerid], 0.200000, -0.200000);
PlayerTextDrawColor(playerid,BRZINOMJER[11][playerid], -109574913);
PlayerTextDrawSetOutline(playerid,BRZINOMJER[11][playerid], 1);
PlayerTextDrawSetProportional(playerid,BRZINOMJER[11][playerid], 1);
PlayerTextDrawUseBox(playerid,BRZINOMJER[11][playerid], 1);
PlayerTextDrawBoxColor(playerid,BRZINOMJER[11][playerid], -109574913);
PlayerTextDrawTextSize(playerid,BRZINOMJER[11][playerid], 560.000000, -1.000000);


Slika:http://oi61.tinypic.com/n2zvie.jpg (http://oi61.tinypic.com/n2zvie.jpg)


Moze mi netko prepravit ili reci kako idu koordinate ovdje ,koja je koja
Naslov: Odg: [POMOC] Kako malo podignut brzinomjer
Poruka od: Assassin007 poslato Maj 10, 2015, 00:25:00 PRE PODNE
skini textdraw editor i napravi identican speedo metar samo ga malo podigni.
Naslov: Odg: [POMOC] Kako malo podignut brzinomjer
Poruka od: Acke poslato Maj 10, 2015, 00:33:19 PRE PODNE
Ili lakse uradi tako sto ces da svaki od tdova povecas ili smanjis korditnatu x y pozicije i onda ga na taj nacin podignes

CreatePlayerTextDraw(playerid, 603.500000, 387.519989, "km/h");

X - 603.500000

Y - 387.519989 (Y trebas povecati ili smanjiti)
Naslov: Odg: [POMOC] Kako malo podignut brzinomjer
Poruka od: josipmarko poslato Maj 10, 2015, 11:08:37 PRE PODNE
hvala uspio sam ,moze lock