Jump to content
  • 0

Problema textdraw bugged


cosmyN[]

Question

Problema intalnita (descriere): Textdraw-ul din coltul din dreapta jos.
Ero(area / rile) / warning-(ul / urile): Nu se mai vede, dupa ce am schimbat numele acestuia din pawno din Beta v1.9 in localhost
Liniile de cod / sursa / script-ul(obligatoriu):

Quote

        News2[f] = TextDrawCreate(480.000000, 429.000000, "%s / localhost");
        TextDrawLetterSize(News2[f],0.250000, 2.000000);
        TextDrawAlignment(News2[f], 1);
        TextDrawColor(News2[f], -1);
        TextDrawSetShadow(News2[f], 0);
        TextDrawSetOutline(News2[f], 1);
        TextDrawBackgroundColor(News2[f], 255);
        TextDrawFont(News2[f], 2);
        TextDrawSetProportional(News2[f], 1);
 

Quote

        buggedcopie = TextDrawCreate(580.000000, 429.000000, "localhost");
        TextDrawBackgroundColor(buggedcopie, 255);
        TextDrawFont(buggedcopie, 2);
        TextDrawLetterSize(buggedcopie, 0.250000, 2.000000);
        TextDrawColor(buggedcopie, -1);
        TextDrawSetOutline(buggedcopie, 1);
        TextDrawSetProportional(buggedcopie, 1);
        TextDrawSetSelectable(buggedcopie, 0);

Quote

    new newtext[41], name[MAX_PLAYER_NAME];
     GetPlayerName(playerid, name, MAX_PLAYER_NAME);
     format(newtext, sizeof(newtext), " %s /  localhost ", name);
     TextDrawSetString(News2[playerid], newtext);
     TextDrawShowForPlayer(playerid, News2[playerid]);

Quote

 

Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Da

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

 

new Text:Logo[MAX_PLAYERS]; Inafara unui public

La ongamemodeinit:

	for(new f; f <= MAX_PLAYERS; f++) {
    	Logo[f] = TextDrawCreate(466.179412, 429.333160, "New TextDraw");
    	TextDrawLetterSize(Logo[f], 0.204025, 2.078334);
    	TextDrawAlignment(Logo[f], 1);
    	TextDrawColor(Logo[f], -1);
    	TextDrawSetShadow(Logo[f], 0);
    	TextDrawSetOutline(Logo[f], 1);
    	TextDrawBackgroundColor(Logo[f], 255);
    	TextDrawFont(Logo[f], 2);
    	TextDrawSetProportional(Logo[f], 1); }
La onplayerspawn
new string[32];
format(string, 32, "%s /localhost", GetName(playerid)), TextDrawSetString(Logo[playerid] , string), TextDrawShowForPlayer(playerid, Logo[playerid]);

 

Edited by xpLode
Link to comment
Share on other sites

  • 1
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.