Jump to content
  • 0

Question

Posted

hi all..am o problema la text draw...vr sa fac un sv de la 0... si cind am facut un text draw

Romania-albastru
Daciada-Galben
Stunt-Rosu

Romania nu ami apare...

am pus new

new Text:Textdraw1;

new Text:Textdraw2;

new Text:Textdraw3;

La on GameModeInit

Textdraw1 = TextDrawCreate(1.000000, 425.000000, "Romania");

    TextDrawBackgroundColor(Textdraw1,0x000000AA);

    TextDrawFont(Textdraw1, 0);

    TextDrawLetterSize(Textdraw1, 0.698998, 2.299900);

    TextDrawColor(Textdraw1, 0x1229FAFF);

    TextDrawSetOutline(Textdraw1, 1);

    TextDrawSetProportional(Textdraw1, 1);

    Textdraw2 = TextDrawCreate(73.000000, 425.000000, "Daciada");

    TextDrawBackgroundColor(Textdraw2,0x000000AA);

    TextDrawFont(Textdraw2, 0);

    TextDrawLetterSize(Textdraw2, 0.698998, 2.299900);

    TextDrawColor(Textdraw2, 0xFFFF00FF);

    TextDrawSetOutline(Textdraw2, 1);

    TextDrawSetProportional(Textdraw2, 1);

    Textdraw3 = TextDrawCreate(119.000000, 425.000000, "  Stunt");

    TextDrawBackgroundColor(Textdraw3,0x000000AA);

    TextDrawFont(Textdraw3, 0);

    TextDrawLetterSize(Textdraw3, 0.698998, 2.299900);

    TextDrawColor(Textdraw3, 0xFB0000FF);

    TextDrawSetOutline(Textdraw3, 1);

    TextDrawSetProportional(Textdraw3, 1);

Si la OnPlayerConnect:

  TextDrawShowForPlayer(playerid, Textdraw1);

TextDrawShowForPlayer(playerid, Textdraw2);

TextDrawShowForPlayer(playerid, Textdraw3);

La alt sv care nui creat de mn mere...da decite ori incerk sa fac sv... cand bag asta nu imi mere...am mai incercat o data...si nu mia mers! nu am creat nimik doar texdrawu lam pus!

Plss ajutor!

4 answers to this question

Recommended Posts

Posted

//[ASTEA LE PUI LA INCEPUT]

new Text:Textdraw20;
new Text:Textdraw30;
new Text:Textdraw40;
//La OnGameModeInt/OnFilterScriptInt
 Textdraw20 = TextDrawCreate(1.000000, 425.000000, "Romania");
    TextDrawBackgroundColor(Textdraw20,0x000000AA);
    TextDrawFont(Textdraw20, 0);
    TextDrawLetterSize(Textdraw20, 0.698998, 2.299900);
    TextDrawColor(Textdraw20, 0x1229FAFF);
    TextDrawSetOutline(Textdraw20, 1);
    TextDrawSetProportional(Textdraw20, 1);
    Textdraw30 = TextDrawCreate(73.000000, 425.000000, "Daciada");
    TextDrawBackgroundColor(Textdraw30,0x000000AA);
    TextDrawFont(Textdraw30, 0);
    TextDrawLetterSize(Textdraw30, 0.698998, 2.299900);
    TextDrawColor(Textdraw30, 0xFFFF00FF);
    TextDrawSetOutline(Textdraw30, 1);
    TextDrawSetProportional(Textdraw30, 1);
    Textdraw40 = TextDrawCreate(119.000000, 425.000000, "  Stunt");
    TextDrawBackgroundColor(Textdraw40,0x000000AA);
    TextDrawFont(Textdraw40, 0);
    TextDrawLetterSize(Textdraw40, 0.698998, 2.299900);
    TextDrawColor(Textdraw40, 0xFB0000FF);
    TextDrawSetOutline(Textdraw40, 1);
    TextDrawSetProportional(Textdraw40, 1);
//Si Pui Astea Si La OnPlayerConnect si la OnPlayerSpawn
   TextDrawShowForPlayer(playerid, Textdraw20);
   TextDrawShowForPlayer(playerid, Textdraw30);
   TextDrawShowForPlayer(playerid, Textdraw40);

kAdmin progress - 84%

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.