Jump to content

Question

Posted

Salut SA-MP.ro as avea nevoie de un sfat/ajutor am creat 2 textdraw :

[pawn] Textdraw0 = TextDrawCreate(92.000000, 422.000000, "------");

TextDrawAlignment(Textdraw0, 2);

TextDrawBackgroundColor(Textdraw0, 255);

TextDrawFont(Textdraw0, 3);

TextDrawLetterSize(Textdraw0, 0.529999, 1.800000);

TextDrawColor(Textdraw0, -1);

TextDrawSetOutline(Textdraw0, 0);

TextDrawSetProportional(Textdraw0, 1);

TextDrawSetShadow(Textdraw0, 1);[/pawn]

[pawn] Textdraw1 = TextDrawCreate(92.000000, 425.000000, "------");

TextDrawAlignment(Textdraw1, 2);

TextDrawBackgroundColor(Textdraw1, 255);

TextDrawFont(Textdraw1, 3);

TextDrawLetterSize(Textdraw1, 0.529900, 1.799999);

TextDrawColor(Textdraw1, 65535);

TextDrawSetOutline(Textdraw1, 0);

TextDrawSetProportional(Textdraw1, 1);

TextDrawSetShadow(Textdraw1, 1);[/pawn]

Si din cele doua apare pe server doar unul singur primul Textdraw0 atat ce sa fac ? Asa am patit si cu celelalte doar primul aparea iar restul chiar daca erau bine facute nu apareau ?

2 answers to this question

Recommended Posts

Posted

[glow=blue,2,300]La publicul OnPlayerConnect adaugi linia :[/glow]

[pawn]TextDrawShowForPlayer(playerid, Numele Textdraw-ului);[/pawn]

[glow=blue,2,300]Exemplu :[/glow]

[pawn]TextDrawShowForPlayer(playerid, Textdraw1);[/pawn]

Posted

Asta am uite:

[pawn]public OnPlayerConnect(playerid)

{

TextDrawShowForPlayer(playerid, Textdraw0);

TextDrawShowForPlayer(playerid, Textdraw1);

return 1;

}[/pawn]

Dar nu stiu de ce apare doar textdraw 0 si textdraw1 nu apare  :-(

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.