Jump to content
  • 0

Problema TextDraw


.shadoW

Question

Nick: MefX

Problema: TextDrawu-l se sterge dupa ce ma spawnez

Erori / warnings: ----

Lini/script:

[pawn]new Text:SLText, Text:tunTLif, Text:ELText;

SLText = TextDrawCreate(25.000000, 318.000000, "S");

TextDrawColor(SLText,0x0066CCFF);

TextDrawFont(SLText, 0);

TextDrawLetterSize(SLText, 1.0000, 2.0000);

//----------------------------------------------

tunTLif = TextDrawCreate(77.000000, 318.000000, "tunT Lif");

    TextDrawColor(tunTLif,0xFFFFFFFF);

TextDrawFont(tunTLif, 0);

TextDrawLetterSize(tunTLif, 1.0000, 2.0000);

//----------------------------------------------

ELText = TextDrawCreate(144.000000, 318.000000, "E");

    TextDrawColor(ELText,0xFFFF00FF);

TextDrawFont(ELText, 0);

TextDrawLetterSize(ELText, 1.0000, 2.0000);[/pawn]

Ai incercat sa rezolvi singur ?: Da am incercat dar nu am reusit

 

logo.png

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Pune la public OnPlayerSpawn(playerid) 

[pawn]

TextDrawShowForPlayer(playerid, SLText); //Ii seteaza playerului ca TextDraw-ul sa ii apare cand se Spawneaza

[/pawn]

Am facut cum ai zis tu si dupa spawn "S" Dispare si apare doar "tunT LifE"

Eu stiu ca daca folosesti "Zamaroht TextDraw Editor" , la sfarsit cand dai Export project este o optiune pentru Class Selection , ai selectat-o?

Nu incerc si revin cu edit.

 

logo.png

Link to comment
Share on other sites

Am facut cum ai zis tu si dupa spawn "S" Dispare si apare doar "tunT LifE"

Nu am vazut si celelalte. Pune la public OnPlayerSpawn(playerid) 

[pawn]

TextDrawShowForPlayer(playerid, SLText); //Ii seteaza playerului ca TextDraw-ul sa ii apare cand se Spawneaza

TextDrawShowForPlayer(playerid, tunTLift); //Ii seteaza playerului ca TextDraw-ul sa ii apare cand se Spawneaza

TextDrawShowForPlayer(playerid, ELText); //Ii seteaza playerului ca TextDraw-ul sa ii apare cand se Spawneaza

[/pawn]

Link to comment
Share on other sites

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.