[Ajuda] TEXTDRAW BUGADO
#1

Bom, fiz esse rodapй em textdraw, porйm como podem ver estб aparecendo tudo "0", e o Nick nгo aparece nada.
Print: https://imgur.com/a/1TDAqoi

Cуdigo:

pawn Code:
ro1 = TextDrawCreate(641.529418, 423.250000, "usebox");
    TextDrawLetterSize(ro1, 0.000000, 2.535187);
    TextDrawTextSize(ro1, -2.000000, 0.000000);
    TextDrawAlignment(ro1, 1);
    TextDrawColor(ro1, 0);
    TextDrawUseBox(ro1, true);
    TextDrawBoxColor(ro1, 170);
    TextDrawSetShadow(ro1, 0);
    TextDrawSetOutline(ro1, 0);
    TextDrawFont(ro1, 0);

    ro2 = TextDrawCreate(10.823518, 428.749969, "ID:");
    TextDrawLetterSize(ro2, 0.449999, 1.600000);
    TextDrawAlignment(ro2, 1);
    TextDrawColor(ro2, -16776961);
    TextDrawSetShadow(ro2, 0);
    TextDrawSetOutline(ro2, 0);
    TextDrawBackgroundColor(ro2, 51);
    TextDrawFont(ro2, 1);
    TextDrawSetProportional(ro2, 1);

    ro3 = TextDrawCreate(127.529457, 428.166564, "R$:");
    TextDrawLetterSize(ro3, 0.449999, 1.600000);
    TextDrawAlignment(ro3, 1);
    TextDrawColor(ro3, 8388863);
    TextDrawSetShadow(ro3, 0);
    TextDrawSetOutline(ro3, 1);
    TextDrawBackgroundColor(ro3, 51);
    TextDrawFont(ro3, 1);
    TextDrawSetProportional(ro3, 1);

    ro4 = TextDrawCreate(255.048370, 428.166595, "NICK:");
    TextDrawLetterSize(ro4, 0.449999, 1.600000);
    TextDrawAlignment(ro4, 1);
    TextDrawColor(ro4, -65281);
    TextDrawSetShadow(ro4, 0);
    TextDrawSetOutline(ro4, 1);
    TextDrawBackgroundColor(ro4, 51);
    TextDrawFont(ro4, 1);
    TextDrawSetProportional(ro4, 1);

    ro5 = TextDrawCreate(406.824035, 428.166748, "LEVEL:");
    TextDrawLetterSize(ro5, 0.449999, 1.600000);
    TextDrawAlignment(ro5, 1);
    TextDrawColor(ro5, 65535);
    TextDrawSetShadow(ro5, 0);
    TextDrawSetOutline(ro5, 1);
    TextDrawBackgroundColor(ro5, 51);
    TextDrawFont(ro5, 1);
    TextDrawSetProportional(ro5, 1);

    ro6 = TextDrawCreate(553.411193, 427.583251, "VIP:");
    TextDrawLetterSize(ro6, 0.449999, 1.600000);
    TextDrawAlignment(ro6, 1);
    TextDrawColor(ro6, -2147450625);
    TextDrawSetShadow(ro6, 0);
    TextDrawSetOutline(ro6, 1);
    TextDrawBackgroundColor(ro6, 51);
    TextDrawFont(ro6, 1);
    TextDrawSetProportional(ro6, 1);

    ro7 = TextDrawCreate(503.058441, 394.917114, "www.brasilcidadevirtual.tk");
    TextDrawLetterSize(ro7, 0.264588, 1.535833);
    TextDrawAlignment(ro7, 1);
    TextDrawColor(ro7, 16777215);
    TextDrawSetShadow(ro7, 0);
    TextDrawSetOutline(ro7, 1);
    TextDrawBackgroundColor(ro7, 51);
    TextDrawFont(ro7, 3);
    TextDrawSetProportional(ro7, 1);

    new str1[10];
    format(str1, sizeof(str1), "%d", playerid);
    ro8 = TextDrawCreate(39.999992, 428.166687, str1);
    TextDrawLetterSize(ro8, 0.449999, 1.600000);
    TextDrawAlignment(ro8, 1);
    TextDrawColor(ro8, -1);
    TextDrawSetShadow(ro8, 0);
    TextDrawSetOutline(ro8, 1);
    TextDrawBackgroundColor(ro8, 51);
    TextDrawFont(ro8, 1);
    TextDrawSetProportional(ro8, 1);

    new str2[100];
    format(str2, sizeof(str2), "%d", GetPlayerGrana(playerid));
    ro9 = TextDrawCreate(160.941192, 427.583251, str2);
    TextDrawLetterSize(ro9, 0.449999, 1.600000);
    TextDrawAlignment(ro9, 1);
    TextDrawColor(ro9, -1);
    TextDrawSetShadow(ro9, 0);
    TextDrawSetOutline(ro9, 1);
    TextDrawBackgroundColor(ro9, 51);
    TextDrawFont(ro9, 1);
    TextDrawSetProportional(ro9, 1);

    new str3[100];
    format(str3, sizeof(str3), "%s", PlayerName(playerid));
    ro10 = TextDrawCreate(306.823608, 427.583374, str3);
    TextDrawLetterSize(ro10, 0.449999, 1.600000);
    TextDrawAlignment(ro10, 1);
    TextDrawColor(ro10, -1);
    TextDrawSetShadow(ro10, 0);
    TextDrawSetOutline(ro10, 1);
    TextDrawBackgroundColor(ro10, 51);
    TextDrawFont(ro10, 1);
    TextDrawSetProportional(ro10, 1);

    new str4[100];
    format(str4, sizeof(str4), "%d", dini_Int(file, "Level"));
    ro11 = TextDrawCreate(461.647186, 427.583312, str4);
    TextDrawLetterSize(ro11, 0.449999, 1.600000);
    TextDrawAlignment(ro11, 1);
    TextDrawColor(ro11, -1);
    TextDrawSetShadow(ro11, 0);
    TextDrawSetOutline(ro11, 1);
    TextDrawBackgroundColor(ro11, 51);
    TextDrawFont(ro11, 1);
    TextDrawSetProportional(ro11, 1);

    new str5[100];
    new viptext[20];
    if(IsPlayerVIP(playerid) == 1){format(viptext,20,"~w~Sim");}
    else{format(viptext,20,"~w~Nao");}
    format(str5, sizeof(str5), "%s", viptext);
    ro12 = TextDrawCreate(591.999572, 427.000061, str5);
    TextDrawLetterSize(ro12, 0.449999, 1.600000);
    TextDrawAlignment(ro12, 1);
    TextDrawColor(ro12, -1);
    TextDrawSetShadow(ro12, 0);
    TextDrawSetOutline(ro12, 1);
    TextDrawBackgroundColor(ro12, 51);
    TextDrawFont(ro12, 1);
    TextDrawSetProportional(ro12, 1);
    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: 6 Guest(s)