[Ajuda] TEXTDRAW BUGADO
#10

Fiz na pressa, nem testei, nгo sei se tem erros. Se tiver me desculpe, e avise-me.

PHP Code:
#include <a_samp>

public OnGameModeInit()
{
    
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);
    
    
SetTimer("TodosPlayers"1000false);
    return 
1;
}
forward TodosPlayers();
public 
TodosPlayers()
{
    for(new 
iMAX_PLAYERSi++)
    {
        new 
str1[10];
        
format(str1sizeof(str1), "%d"i);
        
TextDrawSetString(ro8str1);

        new 
str2[100];
        
format(str2sizeof(str2), "%d"GetPlayerGrana(i)); // Se nгo der certo, olha essas funзхes, tipo essa GetPlayerGrana
        
TextDrawSetString(ro9str2);

        new 
str3[100];
        
format(str3sizeof(str3), "%s"PlayerName(i));
        
TextDrawSetString(ro10str3);

        new 
str4[100];
        
format(str4sizeof(str4), "%d"dini_Int(file"Level"));
        
TextDrawSetString(rol11str4);

        new 
str5[100];
        new 
viptext[20];
        if(
IsPlayerVIP(i) == 1){format(viptext,20,"~w~Sim");}
        else{
format(viptext,20,"~w~Nao");}
        
format(str5sizeof(str5), "%s"viptext);
        
TextDrawSetString(ro12str5);

        return 
1;
    }
    
SetTimer("TodosPlayers"1000false);

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: 2 Guest(s)