Payday not working properly
#1

Hi guys,
So my paycheck system isnt giving everyone the paycheck only to id 0 and it doesnt show the textdraws. heres the system:


PHP код:
public:PayDay()
{
                    
    for(new 
i = -1; i < MAX_PLAYERS; i++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
gPlayerLogged[i] == 1)
            {
                if(
PlayerInfo[i][pJailed] == 0)
                {
                    if(
PlayerInfo[i][pAllowedPayday] >= 5)
                    {
                        if(
AFKMins[i] <= 400)
                        {
                            if(
PlayerInfo[i][pContBank] == 0)
                              {
                                  
SendClientMessage(i,COLOR_RED,"{FF0000}[Erro]: {FFFFFF}Infelizmente nгo criaste conta bancбria, logo nгo recebeste paycheck!");
                              }
                              else
                              {
                                 new 
wstring[113];
                                new 
randcheck = 300 + random(650);
                                new 
randvipcheck = 1500 + random(1500);
                                new 
rotas[MAX_PLAYERS];
                                new 
interest = (PlayerInfo[i][pBank]/1000)*(1);
                                new 
boost = GetPlayers()*10;
                                 new 
randtax = cash5;
                                 new 
salariofac[MAX_PLAYERS];
                                new 
faction = PlayerInfo[i][pFaction];
                                new 
rank = PlayerInfo[i][pRank];
                                
PlayerInfo[i][pQuinzedias]++;
                                
PlayerInfo[i][pBank] += interest;
                                
PlayerInfo[i][pBank] -= randtax;
                                
PlayerInfo[i][pBank] += randcheck;
                                
PlayerInfo[i][pBank] += boost;
                                   
DynamicFactions[0][fBank] += boost;
                                
PlayerInfo[i][pPayCheck] = 0;
                                
PlayerInfo[i][pAllowedPayday] = 0;
                                
PlayerInfo[i][pExp]++;
                                
PlayerInfo[i][pPlayingHours] += 1;
                                
DynamicFactions[6][fBank] += randtax;
                                
PlayerPlayMusic(i);
                                
Plantardn[i] = 0;
                                
                                if(
PlayerInfo[i][pQuinzedias] == 2)
                                {
                                    
PlayerInfo[i][pQuinzedias] = 0;
                                    
PlayerInfo[i][pMeses]++;
                                    if(
PlayerInfo[i][pMeses] == 12)
                                    {
                                        
PlayerInfo[i][pMeses] = 0;
                                        
PlayerInfo[i][pAge]++;
                                        
format(wstring, sizeof(wstring), "PARABENS!!!! Й o teu aniversбrio, fizeste agora %d anos!", PlayerInfo[i][pAge]);
                                        
SendClientMessage(i,COLOR_WHITE,wstring);
                                    }
                                    else if(
PlayerInfo[i][pMeses] > 0 && PlayerInfo[i][pMeses] < 12)
                                    {
                                        
format(wstring, sizeof(wstring), "Tens agora %d anos e %d meses.", PlayerInfo[i][pAge], PlayerInfo[i][pMeses]);
                                        
SendClientMessage(i,COLOR_WHITE,wstring);
                                    }
                                }
                                if(
PlayerInfo[i][pNRotasE] >= 1)
                                {
                                       new 
price;
                                    if(
PlayerInfo[i][pCursEng] == 1)
                                    {
                                        if(
PlayerInfo[i][pJob] == 7 || PlayerInfo[i][pJob] == 8 || PlayerInfo[i][pJob] == 17 || PlayerInfo[i][pJob] == 18)
                                        {
                                        
price = floatround((150*PlayerInfo[i][pNivelJob]) / 2);
                                        }
                                        else if(
PlayerInfo[i][pJob] == 9 || PlayerInfo[i][pJob] == 21)
                                        {
                                        
price = floatround((100*PlayerInfo[i][pNivelJob]) / 2);
                                        }
                                        else if(
PlayerInfo[i][pJob] == 16 || PlayerInfo[i][pJob] == 19)
                                        {
                                        
price = floatround((50*PlayerInfo[i][pNivelJob]) / 2);
                                        }
                                    }
                                    else
                                    {
                                        if(
PlayerInfo[i][pJob] == 7 || PlayerInfo[i][pJob] == 8 || PlayerInfo[i][pJob] == 17 || PlayerInfo[i][pJob] == 18)
                                        {
                                        
price = floatround((100*PlayerInfo[i][pNivelJob]) / 2);
                                        }
                                        else if(
PlayerInfo[i][pJob] == 9 || PlayerInfo[i][pJob] == 21)
                                        {
                                        
price = floatround((50*PlayerInfo[i][pNivelJob]) / 2);
                                        }
                                        else if(
PlayerInfo[i][pJob] == 16 || PlayerInfo[i][pJob] == 19)
                                        {
                                        
price = floatround((25*PlayerInfo[i][pNivelJob]) / 2);
                                        }
                                    }
                                    
PlayerInfo[i][pBank] += price*PlayerInfo[i][pNRotasE];
                                    
rotas[i] = price*PlayerInfo[i][pNRotasE];
                                    
PlayerInfo[i][pNRotasE] = 0;
                                }
                                new 
succeed = 1 + random(40);
                                if(
succeed == 1)
                                {
                                    
PlayerInfo[i][pGripe] = 1;
                                }
                                else if(
succeed == 2)
                                {
                                    
PlayerInfo[i][pDoresDeCabeca] = 1;
                                }
                                else if(
succeed == 3)
                                {
                                    
PlayerInfo[i][pDiaReia] = 1;
                                }
                                if(
PlayerInfo[i][pEmprestimo] > 0)
                                {
                                    
PlayerInfo[i][pEmprestimo] = PlayerInfo[i][pEmprestimo] - 1000;
                                    
PlayerInfo[i][pBank] -= 1000;
                                    if(
PlayerInfo[i][pEmprestimo] <= 0)
                                    {
                                        
PlayerInfo[i][pEmprestimo] = 0;
                                    }
                                }
                                if(
PlayerInfo[i][pAluguer] >= 1)
                                {
                                    new 
PDAC = PlayerInfo[i][pAluguer];
                                    new 
CDCA = PlayerInfo[i][pHouseKey];
                                    
PlayerInfo[i][pBank] -= PDAC;
                                    
Houses[CDCA][Money] = Houses[CDCA][Money] + PDAC;
                                }
                                if(
PlayerInfo[i][pVipActive] != 0)
                                {
                                    
PlayerInfo[i][pBank] += randvipcheck;
                                    
PlayerInfo[i][pVipActive] = PlayerInfo[i][pVipActive] - 1;
                                    
format(wstring, sizeof(wstring), "Bonus Vip:$%d [ Golds restantes: %d]", randvipcheck, PlayerInfo[i][pVipActive]);
                                      
SendClientMessage(i,COLOR_WHITE, wstring);
                                }
                                if(
PlayerInfo[i][pFaction] != 255)
                                {
                                    new 
GetFaction = DynamicFactions[PlayerInfo[i][pFaction]][fType];
                                    if(
GetFaction == 1 || GetFaction == 2 || GetFaction == 3 || GetFaction == 4 || GetFaction == 6 || GetFaction == 9)
                                    {
                                         if(
rank == 1)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary1];
                                            
DynamicFactions[faction][fBank]-=DynamicFactionsSalary[faction][fSalary1];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary1];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] [Balanзo Faction:$%d ]", DynamicFactionsSalary[faction][fSalary1], DynamicFactions[faction][fRank1], DynamicFactions[faction][fBank]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 2)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary2];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary2];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary2];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] [Balanзo Faction:$%d ]", DynamicFactionsSalary[faction][fSalary2], DynamicFactions[faction][fRank2], DynamicFactions[faction][fBank]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 3)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary3];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary3];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary3];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary3], DynamicFactions[faction][fRank3]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 4)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary4];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary4];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary4];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary4], DynamicFactions[faction][fRank4]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 5)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary5];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary5];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary5];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary5], DynamicFactions[faction][fRank5]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 6)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary6];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary6];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary6];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary6], DynamicFactions[faction][fRank6]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 7)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary7];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary7];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary7];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary7], DynamicFactions[faction][fRank7]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 8)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary8];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary8];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary8];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary8], DynamicFactions[faction][fRank8]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 9)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary9];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary9];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary9];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary9], DynamicFactions[faction][fRank9]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                         else if(
rank == 10)
                                        {
                                            
PlayerInfo[i][pBank] += DynamicFactionsSalary[faction][fSalary10];
                                            
DynamicFactions[faction][fBank]-= DynamicFactionsSalary[faction][fSalary10];
                                            
salariofac[i] = DynamicFactionsSalary[faction][fSalary10];
                                            
format(wstring, sizeof(wstring), "Salario: $%d [ Rank: %s ] ", DynamicFactionsSalary[faction][fSalary10], DynamicFactions[faction][fRank10]);
                                            
SendClientMessage(i,COLOR_WHITE, wstring);
                                        }
                                        if( 
CopOnDuty[i] == 1 || MedicOnDuty[i] == 1 || MecanicOnDuty[i] == 1 )
                                        {
                                            
PlayerInfo[i][pHorasDuty] += 1;
                                        }
                                    }
                                }
                                new 
nxtlevel = PlayerInfo[i][pLevel]+1;
                        new 
expamount = nxtlevel*3;
                        if(
PlayerInfo[i][pExp] < expamount)
                        {
                        }
                        else
                        {
                               
format(wstring, sizeof(wstring), "Subiste de nivel, parabens, йs agora nivel: %d.", nxtlevel);
                            
SendClientMessage(i,COLOR_WHITE, wstring);
                            
PlayerInfo[i][pLevel]++;
                               
format(wstring, sizeof(wstring), "Para subires mais outro nivel, precisas de 0/%d de experiкncia.",expamount);
                            
SendClientMessage(i,COLOR_WHITE, wstring);
                            
PlayerInfo[i][pExp] = 0;
                            if(
PlayerInfo[i][pVipActive] == 0)
                            {
                                new 
bonus = PlayerInfo[i][pLevel]*500;
                                
format(wstring, sizeof(wstring), "Ganhaste Bуnus por subires de nivel: %d.", bonus);
                                
SendClientMessage(i,COLOR_WHITE, wstring);
                                
PlayerInfo[i][pBank] += bonus;
                                
DynamicFactions[0][fBank] -= bonus;
                            }
                            else if(
PlayerInfo[i][pVipActive] != 0)
                            {
                                new 
bonus = PlayerInfo[i][pLevel]*1000;
                                
format(wstring, sizeof(wstring), "Ganhaste Bуnus por subires de nivel: %d.", bonus);
                                
SendClientMessage(i,COLOR_WHITE, wstring);
                                
PlayerInfo[i][pBank] += bonus;
                                
DynamicFactions[0][fBank] -= bonus;
                            }
                          }
                                        new 
salariofinal;
                                        
salariofinal = randcheck + salariofac[i] + rotas[i];
                                        new 
salario[128];
                                        
format(salario,sizeof(salario), "%d", salariofinal);
                                        
TextDrawSetString(paytext10[i], salario);
                                        new 
novobalanco[128];
                                        
format(novobalanco,sizeof(novobalanco), "%d", PlayerInfo[i][pBank]);
                                        
TextDrawSetString(paytext11[i], novobalanco);
                                        new 
exp[128];
                                        
format(exp, sizeof(exp), "%d/%d",PlayerInfo[i][pExp],expamount);
                                        
TextDrawSetString(paytext12[i], exp);
                                        new 
irs[128];
                                        
format(irs, sizeof(irs),"-%d", randtax);
                                        
TextDrawSetString(paytext13[i], irs);
                                        if(
PlayerInfo[i][pEmprestimo] > 0)
                                        {
                                        
TextDrawSetString(paytext14[i], "-1000$");
                                        }
                                        else
                                        {
                                        
TextDrawSetString(paytext14[i], "0$");
                                        }
                                        new 
renda[128];
                                        
format(renda,sizeof(renda), "-%d", PlayerInfo[i][pAluguer]);
                                        
TextDrawSetString(paytext15[i], renda);
                                        
SetTimerEx("paynovo", 10000, false, "i", i);
                                        
TextDrawShowForPlayer(i, paytext0[i]);
                                    
TextDrawShowForPlayer(i, paytext1[i]);
                                    
TextDrawShowForPlayer(i, paytext2[i]);
                                    
TextDrawShowForPlayer(i, paytext3[i]);
                                    
TextDrawShowForPlayer(i, paytext4[i]);
                                    
TextDrawShowForPlayer(i, paytext5[i]);
                                    
TextDrawShowForPlayer(i, paytext6[i]);
                                    
TextDrawShowForPlayer(i, paytext7[i]);
                                    
TextDrawShowForPlayer(i, paytext8[i]);
                                    
TextDrawShowForPlayer(i, paytext9[i]);
                                    
TextDrawShowForPlayer(i, paytext10[i]);
                                    
TextDrawShowForPlayer(i, paytext11[i]);
                                    
TextDrawShowForPlayer(i, paytext12[i]);
                                    
TextDrawShowForPlayer(i, paytext13[i]);
                                    
TextDrawShowForPlayer(i, paytext14[i]);
                                    
TextDrawShowForPlayer(i, paytext15[i]);
                                    
TextDrawShowForPlayer(i, paytext16[i]);
                                    
TextDrawShowForPlayer(i, paytext17[i]);
                                    
TextDrawShowForPlayer(i, paytext18[i]);
                                    
TextDrawShowForPlayer(i, paytext19[i]);
                                    
TextDrawShowForPlayer(i, paytext20[i]);
                                    
TextDrawShowForPlayer(i, paytext21[i]);
                                    
TextDrawShowForPlayer(i, paytext22[i]);
                                    
TextDrawShowForPlayer(i, paytext23[i]);
                                    
TextDrawShowForPlayer(i, paytext24[i]);
                                    
TextDrawShowForPlayer(i, paytext27[i]);
                                    
TextDrawShowForPlayer(i, paytext28[i]);
                                if ((
aevento) == 1)
                                {
                                    
PlayerInfo[i][pBank] += 200;
                                    
SendClientMessage(i,COLOR_GREEN, "[EVENTO]: Recebeste um bonus de 200$ graзas ao evento");
                                }
                                if(
PlayerInfo[i][pAge] >= 85)
                                {
                                    new 
Morre = random(2)+1;
                                    if(
Morre == 1)
                                    {
                                        
PlayerInfo[i][pCK] = 1;
                                        
OnPlayerDataSave(i);
                                        
format(wstring, sizeof(wstring), "A Personagem %s foi morta(CK)devido a uma longa idade, que descanses em paz amigo.", GetPlayerNameEx(i));
                                        
SendClientMessageToAll(COLOR_ADMINCMD, wstring);
                                        
KickPlayer(i,"Funchal Roleplay Bot","A tua personagem foi morta. Para voltares a jogar terбs de criar uma nova(nova conta).");
                                    }
                                }
                               }
                          }
                        else
                        {
                            
ReceberPayDAy[i] = 1;
                            
SetTimerEx("PayDay_Ex_AFK", 60000, false, "d", i);
                            
SendClientMessage(i,COLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Se dentro de 1 Minuto se nгo mexeres, pederбs o paycheck!!");
                        }
                    }
                    else
                    {
                        
SendClientMessage(i,COLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Nгo jogaste tempo suficiente para receberes o paycheck.");
                    }
                }
                else
                {
                    
SendClientMessage(i,COLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Estбs no AdminJail(AJ), por isso nгo recebeste paycheck!");
                }
            }
            else
            {
                
SendClientMessage(i,COLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Nao estas logado, nao recebeste o paycheck.");
            }
        }
    }
    if(
Respawn == -1 && CountDown == -1)
    {
        
Respawn = 16;
        
SetTimer("Respawns",1000,0);
        
SendClientMessageToAll(COLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Respawn de todos veiculos desocupados em 15 segundos!!!");
    }
    else
    {
        
SendClientMessageToAll(COLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Respawn cancelado devido a um Respawn em andamento.");
    }
    return 
1;
} 





PHP код:
Ongamemodeinit:
CriarTextDraws(); 



PHP код:
public:CriarTextDraws()
{
    
Textdraw0Bugp = TextDrawCreate(0.1,-1.0, "_");
    
TextDrawBackgroundColor(Textdraw0Bugp, 255);
    
TextDrawFont(Textdraw0Bugp, 1);
    
TextDrawLetterSize(Textdraw0Bugp, 0.500000, 1.000000);
    
TextDrawColor(Textdraw0Bugp, -1);
    
TextDrawSetOutline(Textdraw0Bugp, 0);
    
TextDrawSetProportional(Textdraw0Bugp, 1);
    
TextDrawSetShadow(Textdraw0Bugp, 1);
    
TextDrawUseBox(Textdraw0Bugp, 1);
    
TextDrawBoxColor(Textdraw0Bugp, 255);
    
TextDrawTextSize(Textdraw0Bugp, -98.000000, 225.000000);
    
    
    for(new 
i; i < MAX_PLAYERS; i ++)
    {
        
/*Intro[i][0] = TextDrawCreate(319.000000, -16.000000, "_");
        TextDrawAlignment(Intro[i][0], 2);
        TextDrawBackgroundColor(Intro[i][0], 255);
        TextDrawFont(Intro[i][0], 1);
        TextDrawLetterSize(Intro[i][0], 0.400000, 56.099998);
        TextDrawColor(Intro[i][0], 10);
        TextDrawSetOutline(Intro[i][0], 0);
        TextDrawSetProportional(Intro[i][0], 1);
        TextDrawSetShadow(Intro[i][0], 1);
        TextDrawUseBox(Intro[i][0], 1);
        //TextDrawBoxColor(Intro[0], 255);
        TextDrawTextSize(Intro[i][0], 0.000000, 759.000000);
        Intro[i][1] = TextDrawCreate(319.000000, 391.000000, Tooltips[random(sizeof(Tooltips))]);
         TextDrawAlignment(Intro[i][1], 2);
        TextDrawBackgroundColor(Intro[i][1], 255);
        TextDrawFont(Intro[i][1], 2);
        TextDrawLetterSize(Intro[i][1], 0.250000, 1.600000);
        TextDrawColor(Intro[i][1], -1);
        TextDrawSetOutline(Intro[i][1], 0);
        TextDrawSetProportional(Intro[i][1], 1);
        TextDrawSetShadow(Intro[i][1], 1);
        Intro[i][2] = TextDrawCreate(319.000000, 421.000000, "Logins: ~y~-~w~ | Conneccoes: ~y~-~w~ | Registos: ~y~-~w~ | Bans: ~y~-~w~ | Players Connectados: ~y~-~w~ | Maximo Players: ~y~0 (-/-/-)~w~");
        TextDrawAlignment(Intro[i][2], 2);
        TextDrawBackgroundColor(Intro[i][2], 255);
        TextDrawFont(Intro[i][2], 1);
        TextDrawLetterSize(Intro[i][2], 0.189998, 1.100000);
        TextDrawColor(Intro[i][2], -1);
        TextDrawSetOutline(Intro[i][2], 0);
        TextDrawSetProportional(Intro[i][2], 1);
        TextDrawSetShadow(Intro[i][2], 1);*/
        
//==============================================================================
//                      Universidade System by DadiaZ
//==============================================================================
        
Univ[i][0] = TextDrawCreate(327.000000, 160.000000, "_");
        
TextDrawAlignment(Univ[i][0], 2);
        
TextDrawBackgroundColor(Univ[i][0], 255);
        
TextDrawFont(Univ[i][0], 1);
        
TextDrawLetterSize(Univ[i][0], 0.500000, 17.000000);
        
TextDrawColor(Univ[i][0], -1);
        
TextDrawSetOutline(Univ[i][0], 0);
        
TextDrawSetProportional(Univ[i][0], 1);
        
TextDrawSetShadow(Univ[i][0], 1);
        
TextDrawUseBox(Univ[i][0], 1);
        
TextDrawBoxColor(Univ[i][0], 96);
        
TextDrawTextSize(Univ[i][0], 0.000000, 300.000000);
        
TextDrawSetSelectable(Univ[i][0], 0);
        
Univ[i][1] = TextDrawCreate(357.000000, 172.000000, ".");
        
TextDrawAlignment(Univ[i][1], 2);
        
TextDrawBackgroundColor(Univ[i][1], 255);
        
TextDrawFont(Univ[i][1], 1);
        
TextDrawLetterSize(Univ[i][1], 33.180061, 0.399999);
        
TextDrawColor(Univ[i][1], -144);
        
TextDrawSetOutline(Univ[i][1], 0);
        
TextDrawSetProportional(Univ[i][1], 1);
        
TextDrawSetShadow(Univ[i][1], 0);
        
TextDrawSetSelectable(Univ[i][1], 0);
        
Univ[i][2] = TextDrawCreate(327.000000, 160.000000, "_");
        
TextDrawAlignment(Univ[i][2], 2);
        
TextDrawBackgroundColor(Univ[i][2], 255);
        
TextDrawFont(Univ[i][2], 1);
        
TextDrawLetterSize(Univ[i][2], 0.500000, -0.499999);
        
TextDrawColor(Univ[i][2], -1);
        
TextDrawSetOutline(Univ[i][2], 0);
        
TextDrawSetProportional(Univ[i][2], 1);
        
TextDrawSetShadow(Univ[i][2], 1);
        
TextDrawUseBox(Univ[i][2], 1);
        
TextDrawBoxColor(Univ[i][2], 65392);
        
TextDrawTextSize(Univ[i][2], 0.000000, 300.000000);
        
TextDrawSetSelectable(Univ[i][2], 0);
        
Univ[i][3] = TextDrawCreate(327.000000, 318.000000, "_");
        
TextDrawAlignment(Univ[i][3], 2);
        
TextDrawBackgroundColor(Univ[i][3], 255);
        
TextDrawFont(Univ[i][3], 1);
        
TextDrawLetterSize(Univ[i][3], 0.500000, -0.499999);
        
TextDrawColor(Univ[i][3], -1);
        
TextDrawSetOutline(Univ[i][3], 0);
        
TextDrawSetProportional(Univ[i][3], 1);
        
TextDrawSetShadow(Univ[i][3], 1);
        
TextDrawUseBox(Univ[i][3], 1);
        
TextDrawBoxColor(Univ[i][3], 65392);
        
TextDrawTextSize(Univ[i][3], 0.000000, 300.000000);
        
TextDrawSetSelectable(Univ[i][3], 0);
        
Univ[i][4] = TextDrawCreate(480.000000, 319.000000, "_");
        
TextDrawAlignment(Univ[i][4], 2);
        
TextDrawBackgroundColor(Univ[i][4], 255);
        
TextDrawFont(Univ[i][4], 1);
        
TextDrawLetterSize(Univ[i][4], 0.500000, -18.299999);
        
TextDrawColor(Univ[i][4], -1);
        
TextDrawSetOutline(Univ[i][4], 0);
        
TextDrawSetProportional(Univ[i][4], 1);
        
TextDrawSetShadow(Univ[i][4], 1);
        
TextDrawUseBox(Univ[i][4], 1);
        
TextDrawBoxColor(Univ[i][4], 65392);
        
TextDrawTextSize(Univ[i][4], 0.000000, -5.000000);
        
TextDrawSetSelectable(Univ[i][4], 0);
        
Univ[i][5] = TextDrawCreate(174.000000, 319.000000, "_");
        
TextDrawAlignment(Univ[i][5], 2);
        
TextDrawBackgroundColor(Univ[i][5], 255);
        
TextDrawFont(Univ[i][5], 1);
        
TextDrawLetterSize(Univ[i][5], 0.500000, -18.299999);
        
TextDrawColor(Univ[i][5], -1);
        
TextDrawSetOutline(Univ[i][5], 0);
        
TextDrawSetProportional(Univ[i][5], 1);
        
TextDrawSetShadow(Univ[i][5], 1);
        
TextDrawUseBox(Univ[i][5], 1);
        
TextDrawBoxColor(Univ[i][5], 65392);
        
TextDrawTextSize(Univ[i][5], 0.000000, -5.000000);
        
TextDrawSetSelectable(Univ[i][5], 0);
        
Univ[i][6] = TextDrawCreate(181.000000, 158.000000, "Aula de ...");
        
TextDrawBackgroundColor(Univ[i][6], 255);
        
TextDrawFont(Univ[i][6], 2);
        
TextDrawLetterSize(Univ[i][6], 0.270000, 1.699999);
        
TextDrawColor(Univ[i][6], -1);
        
TextDrawSetOutline(Univ[i][6], 0);
        
TextDrawSetProportional(Univ[i][6], 1);
        
TextDrawSetShadow(Univ[i][6], 1);
        
TextDrawSetSelectable(Univ[i][6], 0);
        
Univ[i][7] = TextDrawCreate(181.000000, 183.000000, "Professor:");
        
TextDrawBackgroundColor(Univ[i][7], 255);
        
TextDrawFont(Univ[i][7], 1);
        
TextDrawLetterSize(Univ[i][7], 0.370000, 1.000000);
        
TextDrawColor(Univ[i][7], 16777215);
        
TextDrawSetOutline(Univ[i][7], 0);
        
TextDrawSetProportional(Univ[i][7], 1);
        
TextDrawSetShadow(Univ[i][7], 1);
        
TextDrawSetSelectable(Univ[i][7], 0);
        
Univ[i][8] = TextDrawCreate(249.000000, 183.000000, "Bem vindo a universidade de .........");
        
TextDrawBackgroundColor(Univ[i][8], 255);
        
TextDrawFont(Univ[i][8], 1);
        
TextDrawLetterSize(Univ[i][8], 0.370000, 1.000000);
        
TextDrawColor(Univ[i][8], -1);
        
TextDrawSetOutline(Univ[i][8], 0);
        
TextDrawSetProportional(Univ[i][8], 1);
        
TextDrawSetShadow(Univ[i][8], 1);
        
TextDrawSetSelectable(Univ[i][8], 0);
        
Univ[i][9] = TextDrawCreate(207.000000, 197.000000, ""VILLAGE". INscreveste-te no curso de ......");
        
TextDrawBackgroundColor(Univ[i][9], 255); 
        
TextDrawFont(Univ[i][9], 1);
        
TextDrawLetterSize(Univ[i][9], 0.370000, 1.000000);
        
TextDrawColor(Univ[i][9], -1);
        
TextDrawSetOutline(Univ[i][9], 0);
        
TextDrawSetProportional(Univ[i][9], 1);
        
TextDrawSetShadow(Univ[i][9], 1);
        
TextDrawSetSelectable(Univ[i][9], 0);
        
Univ[i][10] = TextDrawCreate(207.000000, 211.000000, "engenharia civil e por isso vou ensinar-te");
        
TextDrawBackgroundColor(Univ[i][10], 255);
        
TextDrawFont(Univ[i][10], 1);
        
TextDrawLetterSize(Univ[i][10], 0.370000, 1.000000);
        
TextDrawColor(Univ[i][10], -1);
        
TextDrawSetOutline(Univ[i][10], 0);
        
TextDrawSetProportional(Univ[i][10], 1);
        
TextDrawSetShadow(Univ[i][10], 1);
        
TextDrawSetSelectable(Univ[i][10], 0);
        
Univ[i][11] = TextDrawCreate(207.000000, 225.000000, "tudo o que temos para te ensiar. Nao te");
        
TextDrawBackgroundColor(Univ[i][11], 255);
        
TextDrawFont(Univ[i][11], 1);
        
TextDrawLetterSize(Univ[i][11], 0.370000, 1.000000);
        
TextDrawColor(Univ[i][11], -1);
        
TextDrawSetOutline(Univ[i][11], 0);
        
TextDrawSetProportional(Univ[i][11], 1);
        
TextDrawSetShadow(Univ[i][11], 1);
        
TextDrawSetSelectable(Univ[i][11], 0);
        
Univ[i][12] = TextDrawCreate(207.000000, 239.000000, "esquecas que teras um exame no final, por");
        
TextDrawBackgroundColor(Univ[i][12], 255);
        
TextDrawFont(Univ[i][12], 1);
        
TextDrawLetterSize(Univ[i][12], 0.370000, 1.000000);
        
TextDrawColor(Univ[i][12], -1);
        
TextDrawSetOutline(Univ[i][12], 0);
        
TextDrawSetProportional(Univ[i][12], 1);
        
TextDrawSetShadow(Univ[i][12], 1);
        
TextDrawSetSelectable(Univ[i][12], 0);
        
Univ[i][13] = TextDrawCreate(207.000000, 253.000000, "isso ouve o que teho par te ensinar!");
        
TextDrawBackgroundColor(Univ[i][13], 255);
        
TextDrawFont(Univ[i][13], 1);
        
TextDrawLetterSize(Univ[i][13], 0.370000, 1.000000);
        
TextDrawColor(Univ[i][13], -1);
        
TextDrawSetOutline(Univ[i][13], 0);
        
TextDrawSetProportional(Univ[i][13], 1);
        
TextDrawSetShadow(Univ[i][13], 1);
        
TextDrawSetSelectable(Univ[i][13], 0);
        
Univ[i][14] = TextDrawCreate(415.000000, 286.000000, "_");
        
TextDrawAlignment(Univ[i][14], 2);
        
TextDrawBackgroundColor(Univ[i][14], 255);
        
TextDrawFont(Univ[i][14], 2);
        
TextDrawLetterSize(Univ[i][14], 0.270000, 1.699999);
        
TextDrawColor(Univ[i][14], -1);
        
TextDrawSetOutline(Univ[i][14], 0);
        
TextDrawSetProportional(Univ[i][14], 1);
        
TextDrawSetShadow(Univ[i][14], 1);
        
TextDrawUseBox(Univ[i][14], 1);
        
TextDrawBoxColor(Univ[i][14], 80);
        
TextDrawTextSize(Univ[i][14], 0.000000, 70.000000);
        
TextDrawSetSelectable(Univ[i][14], 0);
        
        
        
    
Textdraw0[i] = TextDrawCreate(550.000000, 355.000000, "_");
    
TextDrawAlignment(Textdraw0[i], 2);
    
TextDrawBackgroundColor(Textdraw0[i], 255);
    
TextDrawFont(Textdraw0[i], 1);
    
TextDrawLetterSize(Textdraw0[i], 0.500000, 6.000000);
    
TextDrawColor(Textdraw0[i], -1);
    
TextDrawSetOutline(Textdraw0[i], 0);
    
TextDrawSetProportional(Textdraw0[i], 1);
    
TextDrawSetShadow(Textdraw0[i], 1);
    
TextDrawUseBox(Textdraw0[i], 1);
    
TextDrawBoxColor(Textdraw0[i], 80);
    
TextDrawTextSize(Textdraw0[i], 0.000000, 100.000000);
    
TextDrawSetSelectable(Textdraw0[i], 0);
    
Textdraw1[i] = TextDrawCreate(560.000000, 349.000000, ".");
    
TextDrawAlignment(Textdraw1[i], 2);
    
TextDrawBackgroundColor(Textdraw1[i], 255);
    
TextDrawFont(Textdraw1[i], 1);
    
TextDrawLetterSize(Textdraw1[i], 11.600008, 0.499998);
    
TextDrawColor(Textdraw1[i], 1097589247);
    
TextDrawSetOutline(Textdraw1[i], 0);
    
TextDrawSetProportional(Textdraw1[i], 1);
    
TextDrawSetShadow(Textdraw1[i], 1);
    
TextDrawSetSelectable(Textdraw1[i], 0);
    
Textdraw2[i] = TextDrawCreate(555.000000, 407.000000, ".");
    
TextDrawAlignment(Textdraw2[i], 2);
    
TextDrawBackgroundColor(Textdraw2[i], 255);
    
TextDrawFont(Textdraw2[i], 1);
    
TextDrawLetterSize(Textdraw2[i], 12.400011, 0.499998);
    
TextDrawColor(Textdraw2[i], 1097589247);
    
TextDrawSetOutline(Textdraw2[i], 0);
    
TextDrawSetProportional(Textdraw2[i], 1);
    
TextDrawSetShadow(Textdraw2[i], 1);
    
TextDrawSetSelectable(Textdraw2[i], 0);
    
Textdraw3[i] = TextDrawCreate(545.000000, 377.000000, "_");
    
TextDrawAlignment(Textdraw3[i], 2);
    
TextDrawBackgroundColor(Textdraw3[i], 255);
    
TextDrawFont(Textdraw3[i], 1);
    
TextDrawLetterSize(Textdraw3[i], 0.500000, 1.100000);
    
TextDrawColor(Textdraw3[i], -1);
    
TextDrawSetOutline(Textdraw3[i], 0);
    
TextDrawSetProportional(Textdraw3[i], 1);
    
TextDrawSetShadow(Textdraw3[i], 1);
    
TextDrawUseBox(Textdraw3[i], 1);
    
TextDrawBoxColor(Textdraw3[i], 80);
    
TextDrawTextSize(Textdraw3[i], 0.000000, 31.000000);
    
TextDrawSetSelectable(Textdraw3[i], 0);
    
Textdraw4[i] = TextDrawCreate(548.000000, 375.000000, "120");
    
TextDrawAlignment(Textdraw4[i], 3);
    
TextDrawBackgroundColor(Textdraw4[i], 255);
    
TextDrawFont(Textdraw4[i], 2);
    
TextDrawLetterSize(Textdraw4[i], 0.280000, 1.600000);
    
TextDrawColor(Textdraw4[i], -1);
    
TextDrawSetOutline(Textdraw4[i], 0);
    
TextDrawSetProportional(Textdraw4[i], 1);
    
TextDrawSetShadow(Textdraw4[i], 1);
    
TextDrawSetSelectable(Textdraw4[i], 0);
    
Textdraw5[i] = TextDrawCreate(548.000000, 381.000000, "km/h");
    
TextDrawBackgroundColor(Textdraw5[i], 255);
    
TextDrawFont(Textdraw5[i], 2);
    
TextDrawLetterSize(Textdraw5[i], 0.119999, 0.800000);
    
TextDrawColor(Textdraw5[i], -1);
    
TextDrawSetOutline(Textdraw5[i], 0);
    
TextDrawSetProportional(Textdraw5[i], 1);
    
TextDrawSetShadow(Textdraw5[i], 1);
    
TextDrawSetSelectable(Textdraw5[i], 0);
    
Textdraw6[i] = TextDrawCreate(501.000000, 357.000000, "Motor:");
    
TextDrawBackgroundColor(Textdraw6[i], 255);
    
TextDrawFont(Textdraw6[i], 2);
    
TextDrawLetterSize(Textdraw6[i], 0.209999, 1.200000);
    
TextDrawColor(Textdraw6[i], 1097589247);
    
TextDrawSetOutline(Textdraw6[i], 0);
    
TextDrawSetProportional(Textdraw6[i], 1);
    
TextDrawSetShadow(Textdraw6[i], 1);
    
TextDrawSetSelectable(Textdraw6[i], 0);
    
Textdraw7[i] = TextDrawCreate(501.000000, 394.000000, "Janelas:");
    
TextDrawBackgroundColor(Textdraw7[i], 255);
    
TextDrawFont(Textdraw7[i], 2);
    
TextDrawLetterSize(Textdraw7[i], 0.180000, 1.200000);
    
TextDrawColor(Textdraw7[i], 1097589247);
    
TextDrawSetOutline(Textdraw7[i], 0);
    
TextDrawSetProportional(Textdraw7[i], 1);
    
TextDrawSetShadow(Textdraw7[i], 1);
    
TextDrawSetSelectable(Textdraw7[i], 0);
    
Textdraw8[i] = TextDrawCreate(535.000000, 357.000000, "Desligado");
    
TextDrawBackgroundColor(Textdraw8[i], 255);
    
TextDrawFont(Textdraw8[i], 2);
    
TextDrawLetterSize(Textdraw8[i], 0.189999, 1.200000);
    
TextDrawColor(Textdraw8[i], -1);
    
TextDrawSetOutline(Textdraw8[i], 0);
    
TextDrawSetProportional(Textdraw8[i], 1);
    
TextDrawSetShadow(Textdraw8[i], 1);
    
TextDrawSetSelectable(Textdraw8[i], 0);
    
Textdraw9[i] = TextDrawCreate(538.000000, 394.000000, "Fechadas");
    
TextDrawBackgroundColor(Textdraw9[i], 255);
    
TextDrawFont(Textdraw9[i], 2);
    
TextDrawLetterSize(Textdraw9[i], 0.189999, 1.200000);
    
TextDrawColor(Textdraw9[i], -1);
    
TextDrawSetOutline(Textdraw9[i], 0);
    
TextDrawSetProportional(Textdraw9[i], 1);
    
TextDrawSetShadow(Textdraw9[i], 1);
    
TextDrawSetSelectable(Textdraw9[i], 0);
    
Textdraw12[i] = TextDrawCreate(595.000000, 364.000000, "_");
    
TextDrawAlignment(Textdraw12[i], 2);
    
TextDrawBackgroundColor(Textdraw12[i], 255);
    
TextDrawFont(Textdraw12[i], 1);
    
TextDrawLetterSize(Textdraw12[i], 0.500000, 4.699999);
    
TextDrawColor(Textdraw12[i], -1);
    
TextDrawSetOutline(Textdraw12[i], 0);
    
TextDrawSetProportional(Textdraw12[i], 1);
    
TextDrawSetShadow(Textdraw12[i], 1);
    
TextDrawUseBox(Textdraw12[i], 1);
    
TextDrawBoxColor(Textdraw12[i], 112);
    
TextDrawTextSize(Textdraw12[i], 0.000000, 8.000000);
    
TextDrawSetSelectable(Textdraw12[i], 0);
    
Textdraw13[i] = TextDrawCreate(595.000000, 409.000000, "_");
    
TextDrawAlignment(Textdraw13[i], 2);
    
TextDrawBackgroundColor(Textdraw13[i], 255);
    
TextDrawFont(Textdraw13[i], 1);
    
TextDrawLetterSize(Textdraw13[i], 0.500000, -5.300000);
    
TextDrawColor(Textdraw13[i], -1);
    
TextDrawSetOutline(Textdraw13[i], 0);
    
TextDrawSetProportional(Textdraw13[i], 1);
    
TextDrawSetShadow(Textdraw13[i], 1);
    
TextDrawUseBox(Textdraw13[i], 1);
    
TextDrawBoxColor(Textdraw13[i], 16711935);
    
TextDrawTextSize(Textdraw13[i], 0.000000, 6.000000);
    
TextDrawSetSelectable(Textdraw13[i], 0);
    
Textdraw14[i] = TextDrawCreate(601.000000, 353.000000, "100%");
    
TextDrawAlignment(Textdraw14[i], 3);
    
TextDrawBackgroundColor(Textdraw14[i], 255);
    
TextDrawFont(Textdraw14[i], 2);
    
TextDrawLetterSize(Textdraw14[i], 0.159998, 0.899999);
    
TextDrawColor(Textdraw14[i], -1);
    
TextDrawSetOutline(Textdraw14[i], 1);
    
TextDrawSetProportional(Textdraw14[i], 1);
    
TextDrawSetSelectable(Textdraw14[i], 0);
    
Textdraw155[i] = TextDrawCreate(529.000000, 339.000000, "KM:");
    
TextDrawBackgroundColor(Textdraw155[i], 255);
    
TextDrawFont(Textdraw155[i], 2);
    
TextDrawLetterSize(Textdraw155[i], 0.220000, 1.200000);
    
TextDrawColor(Textdraw155[i], 512819199);
    
TextDrawSetOutline(Textdraw155[i], 0);
    
TextDrawSetProportional(Textdraw15, 1);
    
TextDrawSetShadow(Textdraw155[i], 1);
    
TextDrawSetSelectable(Textdraw155[i], 0);
    
Textdraw166[i] = TextDrawCreate(591.000000, 341.000000, "_");
    
TextDrawBackgroundColor(Textdraw166[i], 255);
    
TextDrawFont(Textdraw166[i], 1);
    
TextDrawLetterSize(Textdraw166[i], 0.609999, 1.000000);
    
TextDrawColor(Textdraw166[i], -1);
    
TextDrawSetOutline(Textdraw166[i], 0);
    
TextDrawSetProportional(Textdraw166[i], 1);
    
TextDrawSetShadow(Textdraw166[i], 1);
    
TextDrawUseBox(Textdraw166[i], 1);
    
TextDrawBoxColor(Textdraw166[i], 101);
    
TextDrawTextSize(Textdraw166[i], 521.000000, 1.000000);
    
TextDrawSetSelectable(Textdraw166[i], 0);
    
Textdraw177[i] = TextDrawCreate(545.000000, 340.000000, "9999999");
    
TextDrawBackgroundColor(Textdraw177[i], 255);
    
TextDrawFont(Textdraw177[i], 2);
    
TextDrawLetterSize(Textdraw177[i], 0.220000, 1.100000);
    
TextDrawColor(Textdraw177[i], -1);
    
TextDrawSetOutline(Textdraw177[i], 0);
    
TextDrawSetProportional(Textdraw177[i], 1);
    
TextDrawSetShadow(Textdraw177[i], 1);
    
TextDrawSetSelectable(Textdraw177[i], 0);
    
Textdraw188[i] = TextDrawCreate(515.000000, 328.000000, ".");
    
TextDrawBackgroundColor(Textdraw188[i], 255);
    
TextDrawFont(Textdraw188[i], 2);
    
TextDrawLetterSize(Textdraw188[i], 12.310012, 1.399999);
    
TextDrawColor(Textdraw188[i], 512819199);
    
TextDrawSetOutline(Textdraw188[i], 0);
    
TextDrawSetProportional(Textdraw188[i], 1);
    
TextDrawSetShadow(Textdraw188[i], 1);
    
TextDrawSetSelectable(Textdraw188[i], 0);
//====================================================================
//Payday
    
paytext0[i] = TextDrawCreate(90.000000, 150.000000, "_");
    
TextDrawAlignment(paytext0[i], 2);
    
TextDrawBackgroundColor(paytext0[i], 255);
    
TextDrawFont(paytext0[i], 1);
    
TextDrawLetterSize(paytext0[i], 0.500000, 20.599998);
    
TextDrawColor(paytext0[i], -1);
    
TextDrawSetOutline(paytext0[i], 0);
    
TextDrawSetProportional(paytext0[i], 1);
    
TextDrawSetShadow(paytext0[i], 1);
    
TextDrawUseBox(paytext0[i], 1);
    
TextDrawBoxColor(paytext0[i], 80);
    
TextDrawTextSize(paytext0[i], 0.000000, 110.000000);
    
TextDrawSetSelectable(paytext0[i], 0);
    
paytext1[i] = TextDrawCreate(90.000000, 148.000000, "Paycheck");
    
TextDrawAlignment(paytext1[i], 2);
    
TextDrawBackgroundColor(paytext1[i], 255);
    
TextDrawFont(paytext1[i], 0);
    
TextDrawLetterSize(paytext1[i], 0.529999, 1.200000);
    
TextDrawColor(paytext1[i], 1097589247);
    
TextDrawSetOutline(paytext1[i], 0);
    
TextDrawSetProportional(paytext1[i], 1);
    
TextDrawSetShadow(paytext1[i], 2);
    
TextDrawSetSelectable(paytext1[i], 0);
    
paytext2[i] = TextDrawCreate(97.000000, 158.000000, ".");
    
TextDrawAlignment(paytext2[i], 2);
    
TextDrawBackgroundColor(paytext2[i], 255);
    
TextDrawFont(paytext2[i], 1);
    
TextDrawLetterSize(paytext2[i], 5.599997, 0.499999);
    
TextDrawColor(paytext2[i], -1);
    
TextDrawSetOutline(paytext2[i], 0);
    
TextDrawSetProportional(paytext2[i], 1);
    
TextDrawSetShadow(paytext2[i], 1);
    
TextDrawSetSelectable(paytext2[i], 0);
    
paytext3[i] = TextDrawCreate(97.000000, 160.000000, ".");
    
TextDrawAlignment(paytext3[i], 2);
    
TextDrawBackgroundColor(paytext3[i], 255);
    
TextDrawFont(paytext3[i], 1);
    
TextDrawLetterSize(paytext3[i], 5.599997, 0.499999);
    
TextDrawColor(paytext3[i], -1);
    
TextDrawSetOutline(paytext3[i], 0);
    
TextDrawSetProportional(paytext3[i], 1);
    
TextDrawSetShadow(paytext3[i], 1);
    
TextDrawSetSelectable(paytext3[i], 0);
    
paytext4[i] = TextDrawCreate(37.000000, 171.000000, "Salario:");
    
TextDrawBackgroundColor(paytext4[i], 255);
    
TextDrawFont(paytext4[i], 2);
    
TextDrawLetterSize(paytext4[i], 0.220000, 1.100000);
    
TextDrawColor(paytext4[i], 16777215);
    
TextDrawSetOutline(paytext4[i], 0);
    
TextDrawSetProportional(paytext4[i], 1);
    
TextDrawSetShadow(paytext4[i], 1);
    
TextDrawSetSelectable(paytext4[i], 0);
    
paytext5[i] = TextDrawCreate(37.000000, 191.000000, "Balanco:");
    
TextDrawBackgroundColor(paytext5[i], 255);
    
TextDrawFont(paytext5[i], 2);
    
TextDrawLetterSize(paytext5[i], 0.220000, 1.100000);
    
TextDrawColor(paytext5[i], 16777215);
    
TextDrawSetOutline(paytext5[i], 0);
    
TextDrawSetProportional(paytext5[i], 1);
    
TextDrawSetShadow(paytext5[i], 1);
    
TextDrawSetSelectable(paytext5[i], 0);
    
paytext6[i] = TextDrawCreate(37.000000, 211.000000, "Experiencia:");
    
TextDrawBackgroundColor(paytext6[i], 255);
    
TextDrawFont(paytext6[i], 2);
    
TextDrawLetterSize(paytext6[i], 0.220000, 1.100000);
    
TextDrawColor(paytext6[i], 16777215);
    
TextDrawSetOutline(paytext6[i], 0);
    
TextDrawSetProportional(paytext6[i], 1);
    
TextDrawSetShadow(paytext6[i], 1);
    
TextDrawSetSelectable(paytext6[i], 0);
    
paytext7[i] = TextDrawCreate(37.000000, 231.000000, "IRS:");
    
TextDrawBackgroundColor(paytext7[i], 255);
    
TextDrawFont(paytext7[i], 2);
    
TextDrawLetterSize(paytext7[i], 0.220000, 1.100000);
    
TextDrawColor(paytext7[i], 16777215);
    
TextDrawSetOutline(paytext7[i], 0);
    
TextDrawSetProportional(paytext7[i], 1);
    
TextDrawSetShadow(paytext7[i], 1);
    
TextDrawSetSelectable(paytext7[i], 0);
    
paytext8[i] = TextDrawCreate(37.000000, 251.000000, "Emprestimo:");
    
TextDrawBackgroundColor(paytext8[i], 255);
    
TextDrawFont(paytext8[i], 2);
    
TextDrawLetterSize(paytext8[i], 0.220000, 1.100000);
    
TextDrawColor(paytext8[i], 16777215);
    
TextDrawSetOutline(paytext8[i], 0);
    
TextDrawSetProportional(paytext8[i], 1);
    
TextDrawSetShadow(paytext8[i], 1);
    
TextDrawSetSelectable(paytext8[i], 0);
    
paytext9[i] = TextDrawCreate(37.000000, 271.000000, "Renda:");
    
TextDrawBackgroundColor(paytext9[i], 255);
    
TextDrawFont(paytext9[i], 2);
    
TextDrawLetterSize(paytext9[i], 0.220000, 1.100000);
    
TextDrawColor(paytext9[i], 16777215);
    
TextDrawSetOutline(paytext9[i], 0);
    
TextDrawSetProportional(paytext9[i], 1);
    
TextDrawSetShadow(paytext9[i], 1);
    
TextDrawSetSelectable(paytext9[i], 0);
    
paytext10[i] = TextDrawCreate(82.000000, 171.000000, "888888");
    
TextDrawBackgroundColor(paytext10[i], 255);
    
TextDrawFont(paytext10[i], 2);
    
TextDrawLetterSize(paytext10[i], 0.220000, 1.100000);
    
TextDrawColor(paytext10[i], -1);
    
TextDrawSetOutline(paytext10[i], 0);
    
TextDrawSetProportional(paytext10[i], 1);
    
TextDrawSetShadow(paytext10[i], 1);
    
TextDrawSetSelectable(paytext10[i], 0);
    
paytext11[i] = TextDrawCreate(85.000000, 191.000000, "888888");
    
TextDrawBackgroundColor(paytext11[i], 255);
    
TextDrawFont(paytext11[i], 2);
    
TextDrawLetterSize(paytext11[i], 0.220000, 1.100000);
    
TextDrawColor(paytext11[i], -1);
    
TextDrawSetOutline(paytext11[i], 0);
    
TextDrawSetProportional(paytext11[i], 1);
    
TextDrawSetShadow(paytext11[i], 1);
    
TextDrawSetSelectable(paytext11[i], 0);
    
paytext12[i] = TextDrawCreate(101.000000, 211.000000, "1/12");
    
TextDrawBackgroundColor(paytext12[i], 255);
    
TextDrawFont(paytext12[i], 2);
    
TextDrawLetterSize(paytext12[i], 0.220000, 1.100000);
    
TextDrawColor(paytext12[i], -1);
    
TextDrawSetOutline(paytext12[i], 0);
    
TextDrawSetProportional(paytext12[i], 1);
    
TextDrawSetShadow(paytext12[i], 1);
    
TextDrawSetSelectable(paytext12[i], 0);
    
paytext13[i] = TextDrawCreate(58.000000, 231.000000, "500");
    
TextDrawBackgroundColor(paytext13[i], 255);
    
TextDrawFont(paytext13[i], 2);
    
TextDrawLetterSize(paytext13[i], 0.220000, 1.100000);
    
TextDrawColor(paytext13[i], -1);
    
TextDrawSetOutline(paytext13[i], 0);
    
TextDrawSetProportional(paytext13[i], 1);
    
TextDrawSetShadow(paytext13[i], 1);
    
TextDrawSetSelectable(paytext13[i], 0);
    
paytext14[i] = TextDrawCreate(99.000000, 251.000000, "-1000");
    
TextDrawBackgroundColor(paytext14[i], 255);
    
TextDrawFont(paytext14[i], 2);
    
TextDrawLetterSize(paytext14[i], 0.220000, 1.100000);
    
TextDrawColor(paytext14[i], -1);
    
TextDrawSetOutline(paytext14[i], 0);
    
TextDrawSetProportional(paytext14[i], 1);
    
TextDrawSetShadow(paytext14[i], 1);
    
TextDrawSetSelectable(paytext14[i], 0);
    
paytext15[i] = TextDrawCreate(73.000000, 271.000000, "-100");
    
TextDrawBackgroundColor(paytext15[i], 255);
    
TextDrawFont(paytext15[i], 2);
    
TextDrawLetterSize(paytext15[i], 0.220000, 1.100000);
    
TextDrawColor(paytext15[i], -1);
    
TextDrawSetOutline(paytext15[i], 0);
    
TextDrawSetProportional(paytext15[i], 1);
    
TextDrawSetShadow(paytext15[i], 1);
    
TextDrawSetSelectable(paytext15[i], 0);
    
paytext16[i] = TextDrawCreate(90.000000, 283.000000, "Euromilhoes");
    
TextDrawAlignment(paytext16[i], 2);
    
TextDrawBackgroundColor(paytext16[i], 255);
    
TextDrawFont(paytext16[i], 0);
    
TextDrawLetterSize(paytext16[i], 0.529999, 1.200000);
    
TextDrawColor(paytext16[i], -65281);
    
TextDrawSetOutline(paytext16[i], 0);
    
TextDrawSetProportional(paytext16[i], 1);
    
TextDrawSetShadow(paytext16[i], 2);
    
TextDrawSetSelectable(paytext16[i], 0);
    
paytext17[i] = TextDrawCreate(97.000000, 292.000000, ".");
    
TextDrawAlignment(paytext17[i], 2);
    
TextDrawBackgroundColor(paytext17[i], 255);
    
TextDrawFont(paytext17[i], 1);
    
TextDrawLetterSize(paytext17[i], 5.599997, 0.499999);
    
TextDrawColor(paytext17[i], -1);
    
TextDrawSetOutline(paytext17[i], 0);
    
TextDrawSetProportional(paytext17[i], 1);
    
TextDrawSetShadow(paytext17[i], 1);
    
TextDrawSetSelectable(paytext17[i], 0);
    
paytext18[i] = TextDrawCreate(34.000000, 300.000000, "1");
    
TextDrawBackgroundColor(paytext18[i], 255);
    
TextDrawFont(paytext18[i], 2);
    
TextDrawLetterSize(paytext18[i], 0.230000, 1.200000);
    
TextDrawColor(paytext18[i], -1);
    
TextDrawSetOutline(paytext18[i], 0);
    
TextDrawSetProportional(paytext18[i], 1);
    
TextDrawSetShadow(paytext18[i], 1);
    
TextDrawSetSelectable(paytext18[i], 0);
    
paytext19[i] = TextDrawCreate(54.000000, 300.000000, "2");
    
TextDrawBackgroundColor(paytext19[i], 255);
    
TextDrawFont(paytext19[i], 2);
    
TextDrawLetterSize(paytext19[i], 0.230000, 1.200000);
    
TextDrawColor(paytext19[i], -1);
    
TextDrawSetOutline(paytext19[i], 0);
    
TextDrawSetProportional(paytext19[i], 1);
    
TextDrawSetShadow(paytext19[i], 1);
    
TextDrawSetSelectable(paytext19[i], 0);
    
paytext20[i] = TextDrawCreate(74.000000, 300.000000, "3");
    
TextDrawBackgroundColor(paytext20[i], 255);
    
TextDrawFont(paytext20[i], 2);
    
TextDrawLetterSize(paytext20[i], 0.230000, 1.200000);
    
TextDrawColor(paytext20[i], -1);
    
TextDrawSetOutline(paytext20[i], 0);
    
TextDrawSetProportional(paytext20[i], 1);
    
TextDrawSetShadow(paytext20[i], 1);
    
TextDrawSetSelectable(paytext20[i], 0);
    
paytext21[i] = TextDrawCreate(94.000000, 300.000000, "4");
    
TextDrawBackgroundColor(paytext21[i], 255);
    
TextDrawFont(paytext21[i], 2);
    
TextDrawLetterSize(paytext21[i], 0.230000, 1.200000);
    
TextDrawColor(paytext21[i], -1);
    
TextDrawSetOutline(paytext21[i], 0);
    
TextDrawSetProportional(paytext21[i], 1);
    
TextDrawSetShadow(paytext21[i], 1);
    
TextDrawSetSelectable(paytext21[i], 0);
    
paytext22[i] = TextDrawCreate(114.000000, 300.000000, "5");
    
TextDrawBackgroundColor(paytext22[i], 255);
    
TextDrawFont(paytext22[i], 2);
    
TextDrawLetterSize(paytext22[i], 0.230000, 1.200000);
    
TextDrawColor(paytext22[i], -1);
    
TextDrawSetOutline(paytext22[i], 0);
    
TextDrawSetProportional(paytext22[i], 1);
    
TextDrawSetShadow(paytext22[i], 1);
    
TextDrawSetSelectable(paytext22[i], 0);
    
paytext23[i] = TextDrawCreate(34.000000, 320.000000, "1");
    
TextDrawBackgroundColor(paytext23[i], 255);
    
TextDrawFont(paytext23[i], 2);
    
TextDrawLetterSize(paytext23[i], 0.230000, 1.200000);
    
TextDrawColor(paytext23[i], -1);
    
TextDrawSetOutline(paytext23[i], 0);
    
TextDrawSetProportional(paytext23[i], 1);
    
TextDrawSetShadow(paytext23[i], 1);
    
TextDrawSetSelectable(paytext23[i], 0);
    
paytext24[i] = TextDrawCreate(54.000000, 320.000000, "2");
    
TextDrawBackgroundColor(paytext24[i], 255);
    
TextDrawFont(paytext24[i], 2);
    
TextDrawLetterSize(paytext24[i], 0.230000, 1.200000);
    
TextDrawColor(paytext24[i], -1);
    
TextDrawSetOutline(paytext24[i], 0);
    
TextDrawSetProportional(paytext24[i], 1);
    
TextDrawSetShadow(paytext24[i], 1);
    
TextDrawSetSelectable(paytext24[i], 0);
    
paytext27[i] = TextDrawCreate(40.000000, 283.000000, "]");
    
TextDrawBackgroundColor(paytext27[i], 255);
    
TextDrawFont(paytext27[i], 2);
    
TextDrawLetterSize(paytext27[i], 0.350000, 1.600000);
    
TextDrawColor(paytext27[i], -65281);
    
TextDrawSetOutline(paytext27[i], 0);
    
TextDrawSetProportional(paytext27[i], 1);
    
TextDrawSetShadow(paytext27[i], 1);
    
TextDrawSetSelectable(paytext27[i], 0);
    
paytext28[i] = TextDrawCreate(130.000000, 283.000000, "]");
    
TextDrawBackgroundColor(paytext28[i], 255);
    
TextDrawFont(paytext28[i], 2);
    
TextDrawLetterSize(paytext28[i], 0.350000, 1.600000);
    
TextDrawColor(paytext28[i], -65281);
    
TextDrawSetOutline(paytext28[i], 0);
    
TextDrawSetProportional(paytext28[i], 1);
    
TextDrawSetShadow(paytext28[i], 1);
    
TextDrawSetSelectable(paytext28[i], 0);
        
        
        
        
//--------------------------------------------------------
        
        //ENTRADA------------------------------------------------
        
        
Intro[i][0] = TextDrawCreate(130.000000, -3.000000, "_");
        
TextDrawAlignment(Intro[i][0], 2);
        
TextDrawBackgroundColor(Intro[i][0], 255);
        
TextDrawFont(Intro[i][0], 1);
        
TextDrawLetterSize(Intro[i][0], 0.500000, 53.400001);
        
TextDrawColor(Intro[i][0], 64);
        
TextDrawSetOutline(Intro[i][0], 0);
        
TextDrawSetProportional(Intro[i][0], 1);
        
TextDrawSetShadow(Intro[i][0], 1);
        
TextDrawUseBox(Intro[i][0], 1);
        
TextDrawBoxColor(Intro[i][0], 128);
        
TextDrawTextSize(Intro[i][0], 0.000000, 340.000000);
        
TextDrawSetSelectable(Intro[i][0], 0);
        
Intro[i][1] = TextDrawCreate(147.000000, 118.000000, "~y~Funchal");
        
TextDrawAlignment(Intro[i][1], 2);
        
TextDrawBackgroundColor(Intro[i][1], 255);
        
TextDrawFont(Intro[i][1], 2);
        
TextDrawLetterSize(Intro[i][1], 0.699999, 2.000000);
        
TextDrawColor(Intro[i][1], 65535);
        
TextDrawSetOutline(Intro[i][1], 0);
        
TextDrawSetProportional(Intro[i][1], 1);
        
TextDrawSetShadow(Intro[i][1], 2);
        
TextDrawSetSelectable(Intro[i][1], 0);
        
Intro[i][2] = TextDrawCreate(150.000000, 130.000000, "RolePlay");
        
TextDrawAlignment(Intro[i][2], 2);
        
TextDrawBackgroundColor(Intro[i][2], 255);
        
TextDrawFont(Intro[i][2], 0);
        
TextDrawLetterSize(Intro[i][2], 0.800000, 2.000000);
        
TextDrawColor(Intro[i][2], -1);
        
TextDrawSetOutline(Intro[i][2], 0);
        
TextDrawSetProportional(Intro[i][2], 1);
        
TextDrawSetShadow(Intro[i][2], 2);
        
TextDrawSetSelectable(Intro[i][2], 0);
        
Intro[i][3] = TextDrawCreate(94.000000, 149.000000, ".");
        
TextDrawBackgroundColor(Intro[i][3], 255);
        
TextDrawFont(Intro[i][3], 1);
        
TextDrawLetterSize(Intro[i][3], 20.000000, 0.300000);
        
TextDrawColor(Intro[i][3], -1);
        
TextDrawSetOutline(Intro[i][3], 0);
        
TextDrawSetProportional(Intro[i][3], 1);
        
TextDrawSetShadow(Intro[i][3], 1);
        
TextDrawSetSelectable(Intro[i][3], 0);
        
Intro[i][4] = TextDrawCreate(110.000000, 152.000000, ".");
        
TextDrawBackgroundColor(Intro[i][4], 255);
        
TextDrawFont(Intro[i][4], 1);
        
TextDrawLetterSize(Intro[i][4], 18.199993, 0.300000);
        
TextDrawColor(Intro[i][4], -1);
        
TextDrawSetOutline(Intro[i][4], 0);
        
TextDrawSetProportional(Intro[i][4], 1);
        
TextDrawSetShadow(Intro[i][4], 1);
        
TextDrawSetSelectable(Intro[i][4], 0);
        
Intro[i][5] = TextDrawCreate(123.000000, 155.000000, ".");
        
TextDrawBackgroundColor(Intro[i][5], 255);
        
TextDrawFont(Intro[i][5], 1);
        
TextDrawLetterSize(Intro[i][5], 16.969987, 0.300000);
        
TextDrawColor(Intro[i][5], -1);
        
TextDrawSetOutline(Intro[i][5], 0);
        
TextDrawSetProportional(Intro[i][5], 1);
        
TextDrawSetShadow(Intro[i][5], 1);
        
TextDrawSetSelectable(Intro[i][5], 0);
        
Intro[i][6] = TextDrawCreate(96.000000, 347.000000, "~y~Criado Por:");
        
TextDrawAlignment(Intro[i][6], 3);
        
TextDrawBackgroundColor(Intro[i][6], 255);
        
TextDrawFont(Intro[i][6], 2);
        
TextDrawLetterSize(Intro[i][6], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][6], 65535);
        
TextDrawSetOutline(Intro[i][6], 0);
        
TextDrawSetProportional(Intro[i][6], 1);
        
TextDrawSetShadow(Intro[i][6], 1);
        
TextDrawSetSelectable(Intro[i][6], 0);
        
Intro[i][7] = TextDrawCreate(100.000000, 347.000000, "~y~Autor");
        
TextDrawBackgroundColor(Intro[i][7], 255);
        
TextDrawFont(Intro[i][7], 2);
        
TextDrawLetterSize(Intro[i][7], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][7], -1);
        
TextDrawSetOutline(Intro[i][7], 0);
        
TextDrawSetProportional(Intro[i][7], 1);
        
TextDrawSetShadow(Intro[i][7], 1);
        
TextDrawSetSelectable(Intro[i][7], 0);
        
Intro[i][8] = TextDrawCreate(96.000000, 360.000000, "~y~Website:");
        
TextDrawAlignment(Intro[i][8], 3);
        
TextDrawBackgroundColor(Intro[i][8], 255);
        
TextDrawFont(Intro[i][8], 2);
        
TextDrawLetterSize(Intro[i][8], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][8], 65535);
        
TextDrawSetOutline(Intro[i][8], 0);
        
TextDrawSetProportional(Intro[i][8], 1);
        
TextDrawSetShadow(Intro[i][8], 1);
        
TextDrawSetSelectable(Intro[i][8], 0);
        
Intro[i][9] = TextDrawCreate(100.000000, 360.000000, "www.funchalroleplay.com");
        
TextDrawBackgroundColor(Intro[i][9], 255);
        
TextDrawFont(Intro[i][9], 2);
        
TextDrawLetterSize(Intro[i][9], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][9], -1);
        
TextDrawSetOutline(Intro[i][9], 0);
        
TextDrawSetProportional(Intro[i][9], 1);
        
TextDrawSetShadow(Intro[i][9], 1);
        
TextDrawSetSelectable(Intro[i][9], 0);
        
Intro[i][10] = TextDrawCreate(96.000000, 373.000000, "~y~TeamSpeak3:");
        
TextDrawAlignment(Intro[i][10], 3);
        
TextDrawBackgroundColor(Intro[i][10], 255);
        
TextDrawFont(Intro[i][10], 2);
        
TextDrawLetterSize(Intro[i][10], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][10], 65535);
        
TextDrawSetOutline(Intro[i][10], 0);
        
TextDrawSetProportional(Intro[i][10], 1);
        
TextDrawSetShadow(Intro[i][10], 1);
        
TextDrawSetSelectable(Intro[i][10], 0);
        
Intro[i][11] = TextDrawCreate(100.000000, 373.000000, "~y~ts.funchalroleplay.com");
        
TextDrawBackgroundColor(Intro[i][11], 255);
        
TextDrawFont(Intro[i][11], 2);
        
TextDrawLetterSize(Intro[i][11], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][11], -1);
        
TextDrawSetOutline(Intro[i][11], 0);
        
TextDrawSetProportional(Intro[i][11], 1);
        
TextDrawSetShadow(Intro[i][11], 1);
        
TextDrawSetSelectable(Intro[i][11], 0);
        
Intro[i][12] = TextDrawCreate(96.000000, 386.000000, "~y~Players On:");
        
TextDrawAlignment(Intro[i][12], 3);
        
TextDrawBackgroundColor(Intro[i][12], 255);
        
TextDrawFont(Intro[i][12], 2);
        
TextDrawLetterSize(Intro[i][12], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][12], 65535);
        
TextDrawSetOutline(Intro[i][12], 0);
        
TextDrawSetProportional(Intro[i][12], 1);
        
TextDrawSetShadow(Intro[i][12], 1);
        
TextDrawSetSelectable(Intro[i][12], 0);
        
Intro[i][13] = TextDrawCreate(100.000000, 386.000000, "81000");
        
TextDrawBackgroundColor(Intro[i][13], 255);
        
TextDrawFont(Intro[i][13], 2);
        
TextDrawLetterSize(Intro[i][13], 0.340000, 1.299998);
        
TextDrawColor(Intro[i][13], -1);
        
TextDrawSetOutline(Intro[i][13], 0);
        
TextDrawSetProportional(Intro[i][13], 1);
        
TextDrawSetShadow(Intro[i][13], 1);
        
TextDrawSetSelectable(Intro[i][13], 0);
        
Intro[i][14] = TextDrawCreate(7.000000, 280.000000, "Bem Vindo ao servidor");
        
TextDrawBackgroundColor(Intro[i][14], 255);
        
TextDrawFont(Intro[i][14], 2);
        
TextDrawLetterSize(Intro[i][14], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][14], -1);
        
TextDrawSetOutline(Intro[i][14], 0);
        
TextDrawSetProportional(Intro[i][14], 1);
        
TextDrawSetShadow(Intro[i][14], 1);
        
TextDrawSetSelectable(Intro[i][14], 0);
        
Intro[i][15] = TextDrawCreate(152.000000, 280.000000, "~y~Funchal RolePlay");
        
TextDrawBackgroundColor(Intro[i][15], 255);
        
TextDrawFont(Intro[i][15], 2);
        
TextDrawLetterSize(Intro[i][15], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][15], 65535);
        
TextDrawSetOutline(Intro[i][15], 0);
        
TextDrawSetProportional(Intro[i][15], 1);
        
TextDrawSetShadow(Intro[i][15], 1);
        
TextDrawSetSelectable(Intro[i][15], 0);
        
Intro[i][16] = TextDrawCreate(279.000000, 280.000000, ".");
        
TextDrawBackgroundColor(Intro[i][16], 255);
        
TextDrawFont(Intro[i][16], 2);
        
TextDrawLetterSize(Intro[i][16], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][16], -1);
        
TextDrawSetOutline(Intro[i][16], 0);
        
TextDrawSetProportional(Intro[i][16], 1);
        
TextDrawSetShadow(Intro[i][16], 1);
        
TextDrawSetSelectable(Intro[i][16], 0);
        
Intro[i][17] = TextDrawCreate(7.000000, 293.000000, "Caso nao tenhas lido as regras, e");
        
TextDrawBackgroundColor(Intro[i][17], 255);
        
TextDrawFont(Intro[i][17], 2);
        
TextDrawLetterSize(Intro[i][17], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][17], -1);
        
TextDrawSetOutline(Intro[i][17], 0);
        
TextDrawSetProportional(Intro[i][17], 1);
        
TextDrawSetShadow(Intro[i][17], 1);
        
TextDrawSetSelectable(Intro[i][17], 0);
        
Intro[i][18] = TextDrawCreate(7.000000, 306.000000, "melhor digitares /regras. Existem umas");
        
TextDrawBackgroundColor(Intro[i][18], 255);
        
TextDrawFont(Intro[i][18], 2);
        
TextDrawLetterSize(Intro[i][18], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][18], -1);
        
TextDrawSetOutline(Intro[i][18], 0);
        
TextDrawSetProportional(Intro[i][18], 1);
        
TextDrawSetShadow(Intro[i][18], 1);
        
TextDrawSetSelectable(Intro[i][18], 0);
        
Intro[i][19] = TextDrawCreate(7.000000, 319.000000, "regras internas que deves conhecer, mesmo");
        
TextDrawBackgroundColor(Intro[i][19], 255);
        
TextDrawFont(Intro[i][19], 2);
        
TextDrawLetterSize(Intro[i][19], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][19], -1);
        
TextDrawSetOutline(Intro[i][19], 0);
        
TextDrawSetProportional(Intro[i][19], 1);
        
TextDrawSetShadow(Intro[i][19], 1);
        
TextDrawSetSelectable(Intro[i][19], 0);
        
Intro[i][20] = TextDrawCreate(7.000000, 332.000000, "que percebas como fazer RP.");
        
TextDrawBackgroundColor(Intro[i][20], 255);
        
TextDrawFont(Intro[i][20], 2);
        
TextDrawLetterSize(Intro[i][20], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][20], -1);
        
TextDrawSetOutline(Intro[i][20], 0);
        
TextDrawSetProportional(Intro[i][20], 1);
        
TextDrawSetShadow(Intro[i][20], 1);
        
TextDrawSetSelectable(Intro[i][20], 0);
        
Intro[i][21] = TextDrawCreate(11.000000, 186.000000, "Se necessitares de");
        
TextDrawBackgroundColor(Intro[i][21], 255);
        
TextDrawFont(Intro[i][21], 2);
        
TextDrawLetterSize(Intro[i][21], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][21], -1);
        
TextDrawSetOutline(Intro[i][21], 0);
        
TextDrawSetProportional(Intro[i][21], 1);
        
TextDrawSetShadow(Intro[i][21], 1);
        
TextDrawSetSelectable(Intro[i][21], 0);
        
Intro[i][22] = TextDrawCreate(11.000000, 199.000000, "algum esclarecimento,");
        
TextDrawBackgroundColor(Intro[i][22], 255);
        
TextDrawFont(Intro[i][22], 2);
        
TextDrawLetterSize(Intro[i][22], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][22], -1);
        
TextDrawSetOutline(Intro[i][22], 0);
        
TextDrawSetProportional(Intro[i][22], 1);
        
TextDrawSetShadow(Intro[i][22], 1);
        
TextDrawSetSelectable(Intro[i][22], 0);
        
Intro[i][23] = TextDrawCreate(11.000000, 213.000000, "digita /ajuda e um");
        
TextDrawBackgroundColor(Intro[i][23], 255);
        
TextDrawFont(Intro[i][23], 2);
        
TextDrawLetterSize(Intro[i][23], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][23], -1);
        
TextDrawSetOutline(Intro[i][23], 0);
        
TextDrawSetProportional(Intro[i][23], 1);
        
TextDrawSetShadow(Intro[i][23], 1);
        
TextDrawSetSelectable(Intro[i][23], 0);
        
Intro[i][24] = TextDrawCreate(11.000000, 227.000000, "membro da staff ira");
        
TextDrawBackgroundColor(Intro[i][24], 255);
        
TextDrawFont(Intro[i][24], 2);
        
TextDrawLetterSize(Intro[i][24], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][24], -1);
        
TextDrawSetOutline(Intro[i][24], 0);
        
TextDrawSetProportional(Intro[i][24], 1);
        
TextDrawSetShadow(Intro[i][24], 1);
        
TextDrawSetSelectable(Intro[i][24], 0);
        
Intro[i][25] = TextDrawCreate(11.000000, 241.000000, "auxiliar-te.");
        
TextDrawBackgroundColor(Intro[i][25], 255);
        
TextDrawFont(Intro[i][25], 2);
        
TextDrawLetterSize(Intro[i][25], 0.280000, 1.100000);
        
TextDrawColor(Intro[i][25], -1);
        
TextDrawSetOutline(Intro[i][25], 0);
        
TextDrawSetProportional(Intro[i][25], 1);
        
TextDrawSetShadow(Intro[i][25], 1);
        
TextDrawSetSelectable(Intro[i][25], 0);
  
//--------------------------------------------------------------
        //Tutorial-----------------------------------------------
        
        
Tutorial[i][0] = TextDrawCreate(320.000000, 108.000000, "_");
        
TextDrawAlignment(Tutorial[i][0], 2);
        
TextDrawBackgroundColor(Tutorial[i][0], 255);
        
TextDrawFont(Tutorial[i][0], 1);
        
TextDrawLetterSize(Tutorial[i][0], 0.500000, 27.000000);
        
TextDrawColor(Tutorial[i][0], -1);
        
TextDrawSetOutline(Tutorial[i][0], 0);
        
TextDrawSetProportional(Tutorial[i][0], 1);
        
TextDrawSetShadow(Tutorial[i][0], 1);
        
TextDrawUseBox(Tutorial[i][0], 1);
        
TextDrawBoxColor(Tutorial[i][0], 112);
        
TextDrawTextSize(Tutorial[i][0], 0.000000, 380.000000);
        
TextDrawSetSelectable(Tutorial[i][0], 0);
        
Tutorial[i][1] = TextDrawCreate(140.000000, 110.000000, "Funchal");
        
TextDrawBackgroundColor(Tutorial[i][1], 255);
        
TextDrawFont(Tutorial[i][1], 2);
        
TextDrawLetterSize(Tutorial[i][1], 0.319999, 1.200000);
        
TextDrawColor(Tutorial[i][1], 1096868351);
        
TextDrawSetOutline(Tutorial[i][1], 0);
        
TextDrawSetProportional(Tutorial[i][1], 1);
        
TextDrawSetShadow(Tutorial[i][1], 1);
        
TextDrawSetSelectable(Tutorial[i][1], 0);
        
Tutorial[i][2] = TextDrawCreate(156.000000, 117.000000, "RolePlay");
        
TextDrawBackgroundColor(Tutorial[i][2], 255);
        
TextDrawFont(Tutorial[i][2], 0);
        
TextDrawLetterSize(Tutorial[i][2], 0.519999, 1.200000);
        
TextDrawColor(Tutorial[i][2], -65281);
        
TextDrawSetOutline(Tutorial[i][2], 0);
        
TextDrawSetProportional(Tutorial[i][2], 1);
        
TextDrawSetShadow(Tutorial[i][2], 1);
        
TextDrawSetSelectable(Tutorial[i][2], 0);
        
Tutorial[i][3] = Tutorial[i][3] = TextDrawCreate(191.000000, 128.000000, ".");
        
TextDrawBackgroundColor(Tutorial[i][3], 255);
        
TextDrawFont(Tutorial[i][3], 1);
        
TextDrawLetterSize(Tutorial[i][3], 4.359997, 0.399999);
        
TextDrawColor(Tutorial[i][3], -1);
        
TextDrawSetOutline(Tutorial[i][3], 0);
        
TextDrawSetProportional(Tutorial[i][3], 1);
        
TextDrawSetShadow(Tutorial[i][3], 1);
        
TextDrawSetSelectable(Tutorial[i][3], 0);
        
Tutorial[i][4] = TextDrawCreate(191.000000, 131.000000, ".");
        
TextDrawBackgroundColor(Tutorial[i][4], 255);
        
TextDrawFont(Tutorial[i][4], 1);
        
TextDrawLetterSize(Tutorial[i][4], 4.359997, 0.399999);
        
TextDrawColor(Tutorial[i][4], -1);
        
TextDrawSetOutline(Tutorial[i][4], 0);
        
TextDrawSetProportional(Tutorial[i][4], 1);
        
TextDrawSetShadow(Tutorial[i][4], 1);
        
TextDrawSetSelectable(Tutorial[i][4], 0);
        
Tutorial[i][5] = TextDrawCreate(338.000000, 140.000000, ".");
        
TextDrawAlignment(Tutorial[i][5], 2);
        
TextDrawBackgroundColor(Tutorial[i][5], 255);
        
TextDrawFont(Tutorial[i][5], 1);
        
TextDrawLetterSize(Tutorial[i][5], 47.349845, 0.399999);
        
TextDrawColor(Tutorial[i][5], -65281);
        
TextDrawSetOutline(Tutorial[i][5], 0);
        
TextDrawSetProportional(Tutorial[i][5], 1);
        
TextDrawSetShadow(Tutorial[i][5], 1);
        
TextDrawSetSelectable(Tutorial[i][5], 0);
        
Tutorial[i][6] = TextDrawCreate(509.000000, 130.000000, "www.funchalroleplay.com");
        
TextDrawAlignment(Tutorial[i][6], 3);
        
TextDrawBackgroundColor(Tutorial[i][6], 255);
        
TextDrawFont(Tutorial[i][6], 2);
        
TextDrawLetterSize(Tutorial[i][6], 0.319999, 1.100000);
        
TextDrawColor(Tutorial[i][6], -1);
        
TextDrawSetOutline(Tutorial[i][6], 0);
        
TextDrawSetProportional(Tutorial[i][6], 1);
        
TextDrawSetShadow(Tutorial[i][6], 1);
        
TextDrawSetSelectable(Tutorial[i][6], 0);
        
Tutorial[i][9] = TextDrawCreate(300.000000, 320.000000, "1/9");
        
TextDrawBackgroundColor(Tutorial[i][9], 255);
        
TextDrawFont(Tutorial[i][9], 2);
        
TextDrawLetterSize(Tutorial[i][9], 0.300000, 1.000000);
        
TextDrawColor(Tutorial[i][9], 1097458175);
        
TextDrawSetOutline(Tutorial[i][9], 0);
        
TextDrawSetProportional(Tutorial[i][9], 1);
        
TextDrawSetShadow(Tutorial[i][9], 1);
        
TextDrawSetSelectable(Tutorial[i][9], 0);
        
Tutorial[i][10] = TextDrawCreate(131.000000, 150.000000, "1. Informacoes Iniciais");
        
TextDrawBackgroundColor(Tutorial[i][10], 255);
        
TextDrawFont(Tutorial[i][10], 2);
        
TextDrawLetterSize(Tutorial[i][10], 0.240000, 1.000000);
        
TextDrawColor(Tutorial[i][10], -65281);
        
TextDrawSetOutline(Tutorial[i][10], 0);
        
TextDrawSetProportional(Tutorial[i][10], 1);
        
TextDrawSetShadow(Tutorial[i][10], 1);
        
TextDrawSetSelectable(Tutorial[i][10], 0);
        
Tutorial[i][11] = TextDrawCreate(140.000000, 163.000000, "Bem vindo ao servidor da Funchal Roleplay. Como deves saber, este e um");
        
TextDrawBackgroundColor(Tutorial[i][11], 255);
        
TextDrawFont(Tutorial[i][11], 1);
        
TextDrawLetterSize(Tutorial[i][11], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][11], -1);
        
TextDrawSetOutline(Tutorial[i][11], 0);
        
TextDrawSetProportional(Tutorial[i][11], 1);
        
TextDrawSetShadow(Tutorial[i][11], 1);
        
TextDrawSetSelectable(Tutorial[i][11], 0);
        
Tutorial[i][12] = TextDrawCreate(140.000000, 177.000000, "servidor de roleplay, ou seja, deves imitar ao maximo a tua vida real nesta tua");
        
TextDrawBackgroundColor(Tutorial[i][12], 255);
        
TextDrawFont(Tutorial[i][12], 1);
        
TextDrawLetterSize(Tutorial[i][12], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][12], -1);
        
TextDrawSetOutline(Tutorial[i][12], 0);
        
TextDrawSetProportional(Tutorial[i][12], 1);
        
TextDrawSetShadow(Tutorial[i][12], 1);
        
TextDrawSetSelectable(Tutorial[i][12], 0);
        
Tutorial[i][13] = TextDrawCreate(140.000000, 192.000000, "vida virtual.");
        
TextDrawBackgroundColor(Tutorial[i][13], 255);
        
TextDrawFont(Tutorial[i][13], 1);
        
TextDrawLetterSize(Tutorial[i][13], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][13], -1);
        
TextDrawSetOutline(Tutorial[i][13], 0);
        
TextDrawSetProportional(Tutorial[i][13], 1);
        
TextDrawSetShadow(Tutorial[i][13], 1);
        
TextDrawSetSelectable(Tutorial[i][13], 0);
        
Tutorial[i][14] = TextDrawCreate(140.000000, 207.000000, "Para isso, existem algumas regras que deves cumprir, sejam elas tipicas do roleplay,");
        
TextDrawBackgroundColor(Tutorial[i][14], 255);
        
TextDrawFont(Tutorial[i][14], 1);
        
TextDrawLetterSize(Tutorial[i][14], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][14], -1);
        
TextDrawSetOutline(Tutorial[i][14], 0);
        
TextDrawSetProportional(Tutorial[i][14], 1);
        
TextDrawSetShadow(Tutorial[i][14], 1);
        
TextDrawSetSelectable(Tutorial[i][14], 0);
        
Tutorial[i][15] = TextDrawCreate(140.000000, 222.000000, "sejam elas internas deste servidor");
        
TextDrawBackgroundColor(Tutorial[i][15], 255);
        
TextDrawFont(Tutorial[i][15], 1);
        
TextDrawLetterSize(Tutorial[i][15], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][15], -1);
        
TextDrawSetOutline(Tutorial[i][15], 0);
        
TextDrawSetProportional(Tutorial[i][15], 1);
        
TextDrawSetShadow(Tutorial[i][15], 1);
        
TextDrawSetSelectable(Tutorial[i][15], 0);
        
Tutorial[i][16] = TextDrawCreate(140.000000, 237.000000, "O segredo para nao seres punido e pensar em cada acao como se a tivesses a");
        
TextDrawBackgroundColor(Tutorial[i][16], 255);
        
TextDrawFont(Tutorial[i][16], 1);
        
TextDrawLetterSize(Tutorial[i][16], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][16], -1);
        
TextDrawSetOutline(Tutorial[i][16], 0);
        
TextDrawSetProportional(Tutorial[i][16], 1);
        
TextDrawSetShadow(Tutorial[i][16], 1);
        
TextDrawSetSelectable(Tutorial[i][16], 0);
        
Tutorial[i][17] = TextDrawCreate(140.000000, 252.000000, "executar na vida real.");
        
TextDrawBackgroundColor(Tutorial[i][17], 255);
        
TextDrawFont(Tutorial[i][17], 1);
        
TextDrawLetterSize(Tutorial[i][17], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][17], -1);
        
TextDrawSetOutline(Tutorial[i][17], 0);
        
TextDrawSetProportional(Tutorial[i][17], 1);
        
TextDrawSetShadow(Tutorial[i][17], 1);
        
TextDrawSetSelectable(Tutorial[i][17], 0);
        
Tutorial[i][18] = TextDrawCreate(140.000000, 267.000000, "Como sera que eu faria isto na vida real? O que me aconteceria? Estes sao exemplos");
        
TextDrawBackgroundColor(Tutorial[i][18], 255);
        
TextDrawFont(Tutorial[i][18], 1);
        
TextDrawLetterSize(Tutorial[i][18], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][18], -1);
        
TextDrawSetOutline(Tutorial[i][18], 0);
        
TextDrawSetProportional(Tutorial[i][18], 1);
        
TextDrawSetShadow(Tutorial[i][18], 1);
        
TextDrawSetSelectable(Tutorial[i][18], 0);
        
Tutorial[i][19] = TextDrawCreate(140.000000, 282.000000, "de perguntas que deves fazer a ti proprio para o sucesso neste servidor.");
        
TextDrawBackgroundColor(Tutorial[i][19], 255);
        
TextDrawFont(Tutorial[i][19], 1);
        
TextDrawLetterSize(Tutorial[i][19], 0.260000, 1.100000);
        
TextDrawColor(Tutorial[i][19], -1);
        
TextDrawSetOutline(Tutorial[i][19], 0);
        
TextDrawSetProportional(Tutorial[i][19], 1);
        
TextDrawSetShadow(Tutorial[i][19], 1);
        
TextDrawSetSelectable(Tutorial[i][19], 0);
    
        
//------------------------------------------------------
        
Zone[i] = TextDrawCreate(22.000000, 319.000000, "_");
           
TextDrawBackgroundColor(Zone[i], 255);
           
TextDrawFont(Zone[i], 3);
           
TextDrawLetterSize(Zone[i], 0.460000, 1.299999);
           
TextDrawColor(Zone[i], -1);
           
TextDrawSetOutline(Zone[i], 0);
           
TextDrawSetProportional(Zone[i], 1);
           
TextDrawSetShadow(Zone[i], 2);
           
gPlayerSpeedoTD[i] = TextDrawCreate(4.000000, 184.000000, " ");
        
TextDrawBackgroundColor(gPlayerSpeedoTD[i], 255);
        
TextDrawFont(gPlayerSpeedoTD[i], 2);
        
TextDrawLetterSize(gPlayerSpeedoTD[i], 0.329998, 1.600000);
        
TextDrawColor(gPlayerSpeedoTD[i], 65535);
        
TextDrawSetOutline(gPlayerSpeedoTD[i], 1);
        
TextDrawSetProportional(gPlayerSpeedoTD[i], 1);
    }
    
//==========================================================================
    // Relogio
    
Textdraw15 = TextDrawCreate(546.000000, 17.000000, "23:59");
    
TextDrawBackgroundColor(Textdraw15, 255);
    
TextDrawFont(Textdraw15, 2);
    
TextDrawLetterSize(Textdraw15, 0.380000, 2.000000);
    
TextDrawColor(Textdraw15, -1);
    
TextDrawSetOutline(Textdraw15, 1);
    
TextDrawSetProportional(Textdraw15, 1);
    
    
Textdraw16 = TextDrawCreate(599.000000, 24.000000, "42");
    
TextDrawBackgroundColor(Textdraw16, 255);
    
TextDrawFont(Textdraw16, 2);
    
TextDrawLetterSize(Textdraw16, 0.200000, 1.100000);
    
TextDrawColor(Textdraw16, -1);
    
TextDrawSetOutline(Textdraw16, 1);
    
TextDrawSetProportional(Textdraw16, 1);
    
Textdraw17 = TextDrawCreate(594.000000, 23.000000, ":");
    
TextDrawBackgroundColor(Textdraw17, 255);
    
TextDrawFont(Textdraw17, 2);
    
TextDrawLetterSize(Textdraw17, 0.280000, 1.200000);
    
TextDrawColor(Textdraw17, -1);
    
TextDrawSetOutline(Textdraw17, 1);
    
TextDrawSetProportional(Textdraw17, 1);
    
Textdraw18 = TextDrawCreate(546.000000, 32.000000, "26/12/2012");
    
TextDrawBackgroundColor(Textdraw18, 255);
    
TextDrawFont(Textdraw18, 2);
    
TextDrawLetterSize(Textdraw18, 0.260000, 1.300000);
    
TextDrawColor(Textdraw18, -1);
    
TextDrawSetOutline(Textdraw18, 1);
    
TextDrawSetProportional(Textdraw18, 1);
    
// Tela Wide TOP
    
topblack = TextDrawCreate(641.000000, 1.000000, "-");
    
TextDrawBackgroundColor(topblack, 255);
    
TextDrawFont(topblack, 1);
    
TextDrawLetterSize(topblack, 0.400000, 11.600002);
    
TextDrawColor(topblack, -1);
    
TextDrawSetOutline(topblack, 0);
    
TextDrawSetProportional(topblack, 1);
    
TextDrawSetShadow(topblack, 3);
    
TextDrawUseBox(topblack, 1);
    
TextDrawBoxColor(topblack, 60);
    
TextDrawTextSize(topblack, -48.000000, 15.000000);
    
// Fundo
    
bottomblack = TextDrawCreate(641.000000, 342.000000, "-");
    
TextDrawBackgroundColor(bottomblack, 255);
    
TextDrawFont(bottomblack, 1);
    
TextDrawLetterSize(bottomblack, 0.400000, 11.600002);
    
TextDrawColor(bottomblack, -1);
    
TextDrawSetOutline(bottomblack, 0);
    
TextDrawSetProportional(bottomblack, 1);
    
TextDrawSetShadow(bottomblack, 3);
    
TextDrawUseBox(bottomblack, 1);
    
TextDrawBoxColor(bottomblack, 60);
    
TextDrawTextSize(bottomblack, -48.000000, 15.000000);
    
// Flash player radar
    
FlashRadar = TextDrawCreate(-20.000000,2.000000,"|");
    
TextDrawUseBox(FlashRadar,1);
    
TextDrawBoxColor(FlashRadar,0xffffff66);
    
TextDrawTextSize(FlashRadar,660.000000,22.000000);
    
TextDrawAlignment(FlashRadar,0);
    
TextDrawBackgroundColor(FlashRadar,0x000000ff);
    
TextDrawFont(FlashRadar,3);
    
TextDrawLetterSize(FlashRadar,1.000000,52.200000);
    
TextDrawColor(FlashRadar,0xffffffff);
    
TextDrawSetOutline(FlashRadar,1);
    
TextDrawSetProportional(FlashRadar,1);
    
TextDrawSetShadow(FlashRadar,1);
} 
Reply
#2

PHP код:
for(new i = 0; i < MAX_PLAYERS; i++) 
I don't know why you used -1.

While using a for loop, The loop starts from the value you assign to the variable. When you assign -1, It checks for a player with ID: -1

Also I'm pretty sure you don't need the colon after public

PHP код:
public PayDay()
{ 
Reply
#3

I dont think its that. Now that i took a better look is it cuz of the return at the end?
Reply
#4

It gives only paycheck to id 0 and no one else
Reply
#5

https://sampwiki.blast.hk/wiki/Loops
Change -1 to 0 and then try it.don't even give us words like 'i don't think that's the problem' if you never try it.
Reply
#6

i did try it. I will now try to forward payday() and put it public Payday
Reply
#7

Did not work. I dont see any mistakes on it. Why isnt it working?
Reply
#8

Hum guys it only works for some ID's. So it is returning at some point. Can someone help me?
EDIT: I found out also that if i reset player status it starts working.
Reply
#9

bump
Reply
#10

Wait 24Hours before bumping a topic
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)