Szerző Téma: Textdraw bug  (Megtekintve 592 alkalommal)

Textdraw bug
« Dátum: 2014. Április 28. - 21:30:27 »
0 Show voters
Sziasztok.
Segítséget szeretnék kérni.
Itt ez a szükséglet meg ilyenek cucc, és az a gond, hogy mikor szerveren fent vagyok ott marad folyton a 100% és mögötte számol vissza rendesen a pl. élet.. tehát ott van hogy 100% mögött meg , hogy 99%
Mi a gond??
 

for(new i = 0; i < MAX_PLAYERS; i++)
    {
       Health = TextDrawCreate(566.000000, 67.000000, \"100%\");
       TextDrawBackgroundColor(Health, 255);
       TextDrawFont(Health, 1);
       TextDrawLetterSize(Health, 0.219999, 0.899999);
       TextDrawColor(Health, -1);
       TextDrawSetOutline(Health, 1);
       TextDrawSetProportional(Health, 1);
    Armour = TextDrawCreate(566.000000, 44.000000, \"100%\");
    TextDrawBackgroundColor(Armour, 255);
    TextDrawFont(Armour, 1);
TextDrawLetterSize(Armour, 0.219999, 0.899999);
TextDrawColor(Armour, -1);
       TextDrawSetOutline(Armour, 1);
       TextDrawSetProportional(Armour, 1);
       Ehseg = TextDrawCreate(586.000000, 101.000000, \"100%\");
       TextDrawBackgroundColor(Ehseg, 255);
       TextDrawFont(Ehseg, 1);
       TextDrawLetterSize(Ehseg, 0.219999, 0.899999);
       TextDrawColor(Ehseg, -1);
       TextDrawSetOutline(Ehseg, 1);
       TextDrawSetProportional(Ehseg, 1);
       Szomjusag = TextDrawCreate(586.000000, 121.000000, \"100%\");
       TextDrawBackgroundColor(Szomjusag, 255);
       TextDrawFont(Szomjusag, 1);
       TextDrawLetterSize(Szomjusag, 0.219999, 0.899999);
       TextDrawColor(Szomjusag, -1);
       TextDrawSetOutline(Szomjusag, 1);
       TextDrawSetProportional(Szomjusag, 1);
       Wc = TextDrawCreate(586.000000, 141.000000, \"100%\");
       TextDrawBackgroundColor(Wc, 255);
       TextDrawFont(Wc, 1);
       TextDrawLetterSize(Wc, 0.219999, 0.899999);
       TextDrawColor(Wc, -1);
       TextDrawSetOutline(Wc, 1);
       TextDrawSetProportional(Wc, 1);
       Szint = TextDrawCreate(586.000000, 160.000000, \"100\");
       TextDrawBackgroundColor(Szint, 255);
       TextDrawFont(Szint, 1);
       TextDrawLetterSize(Szint, 0.419999, 1.099999);
       TextDrawColor(Szint, -1);
       TextDrawSetOutline(Szint, 1);
       TextDrawSetProportional(Szint, 1);
    }
    qEhseg = TextDrawCreate(535.000000, 100.000000, \"Ehseg:\");
    TextDrawBackgroundColor(qEhseg, 255);
    TextDrawFont(qEhseg, 1);
    TextDrawLetterSize(qEhseg, 0.419999, 1.099999);
    TextDrawColor(qEhseg, -1);
    TextDrawSetOutline(qEhseg, 1);
    TextDrawSetProportional(qEhseg, 1);
    qSzomjusag = TextDrawCreate(500.000000, 120.000000, \"Szomjusag:\");
    TextDrawBackgroundColor(qSzomjusag, 255);
    TextDrawFont(qSzomjusag, 1);
    TextDrawLetterSize(qSzomjusag, 0.419999, 1.099999);
    TextDrawColor(qSzomjusag, -1);
    TextDrawSetOutline(qSzomjusag, 1);
    TextDrawSetProportional(qSzomjusag, 1);
    qWc = TextDrawCreate(500.000000, 140.000000, \"Szukseglet:\");
    TextDrawBackgroundColor(qWc, 255);
    TextDrawFont(qWc, 1);
    TextDrawLetterSize(qWc, 0.419999, 1.099999);
    TextDrawColor(qWc, -1);
    TextDrawSetOutline(qWc, 1);
    TextDrawSetProportional(qWc, 1);
    qSzint = TextDrawCreate(540.000000, 160.000000, \"Szint:\");
    TextDrawBackgroundColor(qSzint, 255);
    TextDrawFont(qSzint, 1);
    TextDrawLetterSize(qSzint, 0.419999, 1.099999);
    TextDrawColor(qSzint, -1);
    TextDrawSetOutline(qSzint, 1);
    TextDrawSetProportional(qSzint, 1);
Oldal = TextDrawCreate(150.000000, 420.000000, \"Honlap: www.afterliferpg.sunwell.hu\");
    TextDrawBackgroundColor(Oldal, 255);
    TextDrawFont(Oldal, 2);
    TextDrawLetterSize(Oldal, 0.319999, 0.999999);
    TextDrawColor(Oldal, -1);
    TextDrawSetOutline(Oldal, 1);
    TextDrawSetProportional(Oldal, 1);

 
[mod]Javítottam pawn code tagre![/mod]
« Utoljára szerkesztve: 2014. Április 28. - 21:40:26 írta Dfoglalo »

Nem elérhető skyLine

  • Globális moderátor
  • 2171
  • 2020
  • Vaterán
    • Profil megtekintése
Textdraw bug
« Válasz #1 Dátum: 2014. Május 06. - 01:04:11 »
0 Show voters

Textdraw bug
« Válasz #2 Dátum: 2014. Április 28. - 21:30:27 »
0 Show voters
Sziasztok.
Segítséget szeretnék kérni.
Itt ez a szükséglet meg ilyenek cucc, és az a gond, hogy mikor szerveren fent vagyok ott marad folyton a 100% és mögötte számol vissza rendesen a pl. élet.. tehát ott van hogy 100% mögött meg , hogy 99%
Mi a gond??
 

for(new i = 0; i < MAX_PLAYERS; i++)
    {
       Health = TextDrawCreate(566.000000, 67.000000, \"100%\");
       TextDrawBackgroundColor(Health, 255);
       TextDrawFont(Health, 1);
       TextDrawLetterSize(Health, 0.219999, 0.899999);
       TextDrawColor(Health, -1);
       TextDrawSetOutline(Health, 1);
       TextDrawSetProportional(Health, 1);
    Armour = TextDrawCreate(566.000000, 44.000000, \"100%\");
    TextDrawBackgroundColor(Armour, 255);
    TextDrawFont(Armour, 1);
TextDrawLetterSize(Armour, 0.219999, 0.899999);
TextDrawColor(Armour, -1);
       TextDrawSetOutline(Armour, 1);
       TextDrawSetProportional(Armour, 1);
       Ehseg = TextDrawCreate(586.000000, 101.000000, \"100%\");
       TextDrawBackgroundColor(Ehseg, 255);
       TextDrawFont(Ehseg, 1);
       TextDrawLetterSize(Ehseg, 0.219999, 0.899999);
       TextDrawColor(Ehseg, -1);
       TextDrawSetOutline(Ehseg, 1);
       TextDrawSetProportional(Ehseg, 1);
       Szomjusag = TextDrawCreate(586.000000, 121.000000, \"100%\");
       TextDrawBackgroundColor(Szomjusag, 255);
       TextDrawFont(Szomjusag, 1);
       TextDrawLetterSize(Szomjusag, 0.219999, 0.899999);
       TextDrawColor(Szomjusag, -1);
       TextDrawSetOutline(Szomjusag, 1);
       TextDrawSetProportional(Szomjusag, 1);
       Wc = TextDrawCreate(586.000000, 141.000000, \"100%\");
       TextDrawBackgroundColor(Wc, 255);
       TextDrawFont(Wc, 1);
       TextDrawLetterSize(Wc, 0.219999, 0.899999);
       TextDrawColor(Wc, -1);
       TextDrawSetOutline(Wc, 1);
       TextDrawSetProportional(Wc, 1);
       Szint = TextDrawCreate(586.000000, 160.000000, \"100\");
       TextDrawBackgroundColor(Szint, 255);
       TextDrawFont(Szint, 1);
       TextDrawLetterSize(Szint, 0.419999, 1.099999);
       TextDrawColor(Szint, -1);
       TextDrawSetOutline(Szint, 1);
       TextDrawSetProportional(Szint, 1);
    }
    qEhseg = TextDrawCreate(535.000000, 100.000000, \"Ehseg:\");
    TextDrawBackgroundColor(qEhseg, 255);
    TextDrawFont(qEhseg, 1);
    TextDrawLetterSize(qEhseg, 0.419999, 1.099999);
    TextDrawColor(qEhseg, -1);
    TextDrawSetOutline(qEhseg, 1);
    TextDrawSetProportional(qEhseg, 1);
    qSzomjusag = TextDrawCreate(500.000000, 120.000000, \"Szomjusag:\");
    TextDrawBackgroundColor(qSzomjusag, 255);
    TextDrawFont(qSzomjusag, 1);
    TextDrawLetterSize(qSzomjusag, 0.419999, 1.099999);
    TextDrawColor(qSzomjusag, -1);
    TextDrawSetOutline(qSzomjusag, 1);
    TextDrawSetProportional(qSzomjusag, 1);
    qWc = TextDrawCreate(500.000000, 140.000000, \"Szukseglet:\");
    TextDrawBackgroundColor(qWc, 255);
    TextDrawFont(qWc, 1);
    TextDrawLetterSize(qWc, 0.419999, 1.099999);
    TextDrawColor(qWc, -1);
    TextDrawSetOutline(qWc, 1);
    TextDrawSetProportional(qWc, 1);
    qSzint = TextDrawCreate(540.000000, 160.000000, \"Szint:\");
    TextDrawBackgroundColor(qSzint, 255);
    TextDrawFont(qSzint, 1);
    TextDrawLetterSize(qSzint, 0.419999, 1.099999);
    TextDrawColor(qSzint, -1);
    TextDrawSetOutline(qSzint, 1);
    TextDrawSetProportional(qSzint, 1);
Oldal = TextDrawCreate(150.000000, 420.000000, \"Honlap: www.afterliferpg.sunwell.hu\");
    TextDrawBackgroundColor(Oldal, 255);
    TextDrawFont(Oldal, 2);
    TextDrawLetterSize(Oldal, 0.319999, 0.999999);
    TextDrawColor(Oldal, -1);
    TextDrawSetOutline(Oldal, 1);
    TextDrawSetProportional(Oldal, 1);

 
[mod]Javítottam pawn code tagre![/mod]
« Utoljára szerkesztve: 2014. Április 28. - 21:40:26 írta Dfoglalo »

Nem elérhető skyLine

  • Globális moderátor
  • 2171
  • 2020
  • Vaterán
    • Profil megtekintése
Textdraw bug
« Válasz #3 Dátum: 2014. Május 06. - 01:04:11 »
0 Show voters

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal