[Ajuda] TEXTDRAW BUGADO
#11

Sim, essas sгo as textdraws, mas manda as stocks/forwards/funзхes que foram chamadas ali. Porque ao que tudo indica elas estгo retornando um valor 0.

O erro aparenta ser na funзгo propriamente dita. Seria legal que tu mandasse o cуdigo completo dessa PlayerName(playerid) e o cуdigo da GetPlayerGrana(playerid), porque o bug aparenta ser na funзгo.

Mas faz o seguinte nas textdraws:
PHP Code:
ro1 TextDrawCreate(641.529418423.250000"usebox");
    
TextDrawLetterSize(ro10.0000002.535187);
    
TextDrawTextSize(ro1, -2.0000000.000000);
    
TextDrawAlignment(ro11);
    
TextDrawColor(ro10);
    
TextDrawUseBox(ro1true);
    
TextDrawBoxColor(ro1170);
    
TextDrawSetShadow(ro10);
    
TextDrawSetOutline(ro10);
    
TextDrawFont(ro10);
    
ro2 TextDrawCreate(10.823518428.749969"ID:");
    
TextDrawLetterSize(ro20.4499991.600000);
    
TextDrawAlignment(ro21);
    
TextDrawColor(ro2, -16776961);
    
TextDrawSetShadow(ro20);
    
TextDrawSetOutline(ro20);
    
TextDrawBackgroundColor(ro251);
    
TextDrawFont(ro21);
    
TextDrawSetProportional(ro21);
    
ro3 TextDrawCreate(127.529457428.166564"R$:");
    
TextDrawLetterSize(ro30.4499991.600000);
    
TextDrawAlignment(ro31);
    
TextDrawColor(ro38388863);
    
TextDrawSetShadow(ro30);
    
TextDrawSetOutline(ro31);
    
TextDrawBackgroundColor(ro351);
    
TextDrawFont(ro31);
    
TextDrawSetProportional(ro31);
    
ro4 TextDrawCreate(255.048370428.166595"NICK:");
    
TextDrawLetterSize(ro40.4499991.600000);
    
TextDrawAlignment(ro41);
    
TextDrawColor(ro4, -65281);
    
TextDrawSetShadow(ro40);
    
TextDrawSetOutline(ro41);
    
TextDrawBackgroundColor(ro451);
    
TextDrawFont(ro41);
    
TextDrawSetProportional(ro41);
    
ro5 TextDrawCreate(406.824035428.166748"LEVEL:");
    
TextDrawLetterSize(ro50.4499991.600000);
    
TextDrawAlignment(ro51);
    
TextDrawColor(ro565535);
    
TextDrawSetShadow(ro50);
    
TextDrawSetOutline(ro51);
    
TextDrawBackgroundColor(ro551);
    
TextDrawFont(ro51);
    
TextDrawSetProportional(ro51);
    
ro6 TextDrawCreate(553.411193427.583251"VIP:");
    
TextDrawLetterSize(ro60.4499991.600000);
    
TextDrawAlignment(ro61);
    
TextDrawColor(ro6, -2147450625);
    
TextDrawSetShadow(ro60);
    
TextDrawSetOutline(ro61);
    
TextDrawBackgroundColor(ro651);
    
TextDrawFont(ro61);
    
TextDrawSetProportional(ro61);
    
ro7 TextDrawCreate(503.058441394.917114"www.brasilcidadevirtual.tk");
    
TextDrawLetterSize(ro70.2645881.535833);
    
TextDrawAlignment(ro71);
    
TextDrawColor(ro716777215);
    
TextDrawSetShadow(ro70);
    
TextDrawSetOutline(ro71);
    
TextDrawBackgroundColor(ro751);
    
TextDrawFont(ro73);
    
TextDrawSetProportional(ro71);
    new 
str1[100];
    
format(str1sizeof(str1), "~w~%d"playerid);
    
ro8 TextDrawCreate(39.999992428.166687str1);
    
TextDrawLetterSize(ro80.4499991.600000);
    
TextDrawAlignment(ro81);
    
TextDrawColor(ro8, -1);
    
TextDrawSetShadow(ro80);
    
TextDrawSetOutline(ro81);
    
TextDrawBackgroundColor(ro851);
    
TextDrawFont(ro81);
    
TextDrawSetProportional(ro81);
    new 
str2[500];
    
format(str2sizeof(str2), "~w~%d"GetPlayerGrana(playerid));
    
ro9 TextDrawCreate(160.941192427.583251str2);
    
TextDrawLetterSize(ro90.4499991.600000);
    
TextDrawAlignment(ro91);
    
TextDrawColor(ro9, -1);
    
TextDrawSetShadow(ro90);
    
TextDrawSetOutline(ro91);
    
TextDrawBackgroundColor(ro951);
    
TextDrawFont(ro91);
    
TextDrawSetProportional(ro91);
    new 
str3[500];
    
format(str3sizeof(str3), "~w~%s"PlayerName(playerid));
    
ro10 TextDrawCreate(306.823608427.583374str3);
    
TextDrawLetterSize(ro100.4499991.600000);
    
TextDrawAlignment(ro101);
    
TextDrawColor(ro10, -1);
    
TextDrawSetShadow(ro100);
    
TextDrawSetOutline(ro101);
    
TextDrawBackgroundColor(ro1051);
    
TextDrawFont(ro101);
    
TextDrawSetProportional(ro101);
    new 
str4[500];
    
format(str4sizeof(str4), "~w~%d"dini_Int(file"Level"));
    
ro11 TextDrawCreate(461.647186427.583312str4);
    
TextDrawLetterSize(ro110.4499991.600000);
    
TextDrawAlignment(ro111);
    
TextDrawColor(ro11, -1);
    
TextDrawSetShadow(ro110);
    
TextDrawSetOutline(ro111);
    
TextDrawBackgroundColor(ro1151);
    
TextDrawFont(ro111);
    
TextDrawSetProportional(ro111);
    new 
str5[100];
    new 
viptext[20];
    if(
IsPlayerVIP(playerid) == 1){format(viptext,20,"~w~Sim");}
    else{
format(viptext,20,"~w~Nao");}
    
format(str5sizeof(str5), "%s"viptext);
    
ro12 TextDrawCreate(591.999572427.000061str5);
    
TextDrawLetterSize(ro120.4499991.600000);
    
TextDrawAlignment(ro121);
    
TextDrawColor(ro12, -1);
    
TextDrawSetShadow(ro120);
    
TextDrawSetOutline(ro121);
    
TextDrawBackgroundColor(ro1251);
    
TextDrawFont(ro121);
    
TextDrawSetProportional(ro121);
    return 
1;

Reply


Messages In This Thread
TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 22:44
Re: TEXTDRAW BUGADO - by Diggie - 10.09.2018, 22:49
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 22:50
Re: TEXTDRAW BUGADO - by GuiKommander - 10.09.2018, 22:51
Re: TEXTDRAW BUGADO - by Diggie - 10.09.2018, 22:58
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 23:01
Re: TEXTDRAW BUGADO - by GuiKommander - 10.09.2018, 23:10
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 23:12
Re: TEXTDRAW BUGADO - by LeonardoMD - 10.09.2018, 23:23
Re: TEXTDRAW BUGADO - by GuiKommander - 10.09.2018, 23:34
Re: TEXTDRAW BUGADO - by Diggie - 10.09.2018, 23:39
Re: TEXTDRAW BUGADO - by LeonardoMD - 11.09.2018, 22:16
Re: TEXTDRAW BUGADO - by AutoMatic2 - 11.09.2018, 23:09
Re: TEXTDRAW BUGADO - by wearLy - 12.09.2018, 04:21
Re: TEXTDRAW BUGADO - by LeonardoMD - 12.09.2018, 22:44
Re: TEXTDRAW BUGADO - by ipsLuan - 12.09.2018, 22:57
Re: TEXTDRAW BUGADO - by LeonardoMD - 12.09.2018, 23:01
Re: TEXTDRAW BUGADO - by AutoMatic2 - 12.09.2018, 23:16
Re: TEXTDRAW BUGADO - by ipsLuan - 12.09.2018, 23:23
Re: TEXTDRAW BUGADO - by AutoMatic2 - 13.09.2018, 00:23
Re: TEXTDRAW BUGADO - by LeonardoMD - 14.09.2018, 21:51
Re: TEXTDRAW BUGADO - by LeonardoMD - 14.09.2018, 21:55

Forum Jump:


Users browsing this thread: 8 Guest(s)