[Ajuda] TextDraws
#1

Bom estou com alguns probleminhas 1° й a empresa que tentei arrumar mais nгo consegui ainda, achei que tinha mais nгo arrumou, outro problema й o register que depois de registrado e vocк muda suas informaзхes pelo painel sua senha muda altomaticamente, e o outro problema й que as textdraws depois do tutorial estгo sumindo, eu queria ajuda para arrumar esses problemas, poderia me ajudar??


Empresa SУ arrumar para colocar em Create3DTextLabel, Bom ele estб em Create3DTextLabel, mais tem que estar encima da Pickup da empresa ou da casa para mostrar as informaзхes.. eu acho que atualmente й por esse codigo if(IsATruck(tmpcar) && PlayerToPoint(10.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))

pawn Код:
public CustomPickups()
{
    new Float:oldposx, Float:oldposy, Float:oldposz;
    new string[128];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            GetPlayerPos(i, oldposx, oldposy, oldposz);
            new tmpcar = GetPlayerVehicleID(i);
            if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
            {
                for(new h = 0; h < sizeof(SBizzInfo); h++)
                {
                    if(IsATruck(tmpcar) && PlayerToPoint(10.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
                    {
                        format(string, sizeof(string), "~w~%s~n~~r~Produtos Requeridos:~w~%d~n~w~Preco por Produto: ~r~R$%d~n~~g~Fundos: ~w~R$%d",SBizzInfo[h][sbMessage],(SBizzInfo[h][sbMaxProducts]-SBizzInfo[h][sbProducts]),SBizzInfo[h][sbPriceProd],SBizzInfo[h][sbTill]);
                        GameTextForPlayer(i, string, 5000, 3);
                        return 1;
                    }
                    if(PlayerToPoint(2.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
                    {
                        if(SBizzInfo[h][sbOwned] == 1)
                        {
                            format(string, sizeof(string), "%s\nProprietбrio: %s\nSуcio/Extorзгo: %s\nTaxa de Entrada:R$%d\nLevel: %d\nEntrada /entrar",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
                        }
                        else
                        {
                        format(string, sizeof(string), "%s\nPreзo: R$%d\nLevel: %d \nComprar /comprarempresa",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
                        }
                        Create3DTextLabel(string, COLOR_WHITE, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],60,0,1);
                        return 1;
                    }
            }
                for(new h = 0; h < sizeof(HouseInfo); h++)
                {
                    if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
                    {
                        if(HouseInfo[h][hOwned] == 1)
                        {
                            if(HouseInfo[h][hRentabil] == 0)
                            {
                                format(string, sizeof(string), "Proprietбrio da Casa: %s\nLevel : %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
                            }
                            else
                            {
                                format(string, sizeof(string), "Proprietбrio da Casa: %s\nAluguel: R$%d\nLevel: %d\nDigite /alugarquarto para alugar um quarto",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
                            }
                            Create3DTextLabel(string, COLOR_WHITE,  HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 15,0);
                            return 1;
                        }
                        else
                        {
                            format(string, sizeof(string), "Descriзгo: %s\nPreзo: R$%d \nLevel : %d\nDigite /comprarcasa para comprar-la",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
                        }
                        Create3DTextLabel(string, COLOR_WHITE,  HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 15,0);
                        return 1;
                    }
                }
                for(new h = 0; h < sizeof(BizzInfo); h++)
                {
                    if(IsATruck(tmpcar) && PlayerToPoint(10.0, i, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]))
                    {
                        format(string, sizeof(string), "~w~%s~n~~r~Produtos Requeridos:~w~%d~n~w~Preco por Produto: ~r~R$%d~n~~g~Fundos: ~w~R$%d",BizzInfo[h][bMessage],(BizzInfo[h][bMaxProducts]-BizzInfo[h][bProducts]),BizzInfo[h][bPriceProd],BizzInfo[h][bTill]);
                        GameTextForPlayer(i, string, 5000, 3);
                        return 1;
                    }
                    if(BizzInfo[h][bOwned] == 1)
                    {
                    format(string, sizeof(string), "%s\nProprietбrio: %s\nSуcio/Extorзгo: %s\nTaxa de Entrada:R$%d\nLevel: %d\nEntrada /entrar",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
                    }
                    else
                    {
                    format(string, sizeof(string), "%s\nPreзo: R$%d\nLevel: %d \nComprar /comprarempresa",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
                    }
                    Create3DTextLabel(string, COLOR_WHITE, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 15,0);
                    return 1;
                 }
                }
Login o problema de quando o Player erra a senha, a senha dele й mudado altomaticamente!

forward OnPlayerLogin(playerid,password[]);
forward OnPlayerSave(playerid);
forward OnPlayerRegister(playerid, password[]);


pawn Код:
if(fexist(string))
    {
        gPlayerAccount[playerid] = 1;
        new loginstring[256];
        new loginname[64];
        GetPlayerName(playerid,loginname,sizeof(loginname));
        format(loginstring,sizeof(loginstring),"{E6E6FA}Olб %s ,Seja Bem-vindo(a) novamente{E6E6FA}\n{CD5C5C}Obrigado por escolher nosso servidor\nDigite sua senha e clique em \"Entrar\".{CD5C5C}",loginname);
        ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"HebServer Login",loginstring,"Entrar","Sair");
        return 1;
    }
    else
    {
        gPlayerAccount[playerid] = 0;
        new regstring[256];
        new regname[64];
        GetPlayerName(playerid,regname,sizeof(regname));
        format(regstring,sizeof(regstring),"{CD5C5C}Seja bem vindo(a){CD5C5C} {BCD2EE}ao HebServer Brasil\n{BCD2EE}{CD5C5C}%s{CD5C5C} {E6E6FA}Digite sua senha e clique em{E6E6FA} {CD5C5C}\"Registrar\".{CD5C5C}",regname);
        ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"HebServer Registrar-me",regstring,"Registrar","Sair");
    }
    GetPlayerName(playerid,playername,MAX_PLAYER_NAME);
    if(strcmp(playername,"Batman",true) == 0 || strcmp(playername,"Rocky",true) == 0 || strcmp(playername,"Carl",true) == 0 || strcmp(playername,"aux",true) == 0 || strcmp(playername,"con",true) == 0)
    {
        SendClientMessage(playerid, COLOR_YELLOW2, "Senha incorreta - BANIDO!");
        Ban(playerid);
        return 1;
    }
    if(strfind(playername,"_",true,1)!=-1)
    gw=1;
    if(playername[strlen(playername)-1]=='_')
    gw=0;
    for(new i=0;i<strlen(playername);i++)
    if((playername[i]<='9')&&(playername[i]>='0'))
    gw=0;
    if(!gw)
    {
        SendClientMessage(playerid, COLOR_YELLOW2, "O Seu nome nгo й valido, ou nгo existe, por favor tente mudar-lo!");
        SendClientMessage(playerid, COLOR_YELLOW2, "Dica: Seu nome deve estar no formato: Nome_Sobrenome.");
        Kick(playerid);
    }
    return 1;
}
pawn Код:
if(SafeTime[i] > 0)
            {
                SafeTime[i]--;
            }
            if(SafeTime[i] == 1)
            {
                if(gPlayerAccount[i] == 1 && gPlayerLogged[i] == 0)
                {
                    new loginname[64];
                    new loginstring[128];
                    GetPlayerName(i,loginname,64);
                    format(loginstring,sizeof(loginstring),"{E6E6FA}Olб %s ,Seja Bem-vindo(a) novamente{E6E6FA}\n{CD5C5C}Obrigado por Ler as regras do servidor\nDigite sua senha e clique em \"Entrar\".{CD5C5C}",loginname);
                    ShowPlayerDialog(i,12346,DIALOG_STYLE_INPUT,"HebServer Login - Login",loginstring,"Entrar","Sair");
                }
            }
pawn Код:
fclose(hFile);
                new loginstring[300];
                new loginname[64];
                GetPlayerName(playerid,loginname,sizeof(loginname));
                format(loginstring,sizeof(loginstring),"{E6E6FA}Olб %s ,Seja Bem-vindo(a) novamente{E6E6FA}\n{CD5C5C}Obrigado por escolher nosso servidor\nDigite sua senha e clique em \"Entrar\".{CD5C5C}",loginname);
                ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"HebServer Login",loginstring,"Entrar","Sair");
            }
    }
    return 1;
}
pawn Код:
}//end while
                fclose(UserFile);//close the file after everything has been read in the while
        }
        else
        {
            new loginstring[128];
            new loginname[64];
            GetPlayerName(playerid,loginname,sizeof(loginname));
            format(loginstring,sizeof(loginstring),"SENHA INCORRETA\n\nFavor inserir a senha correta:\nSe errar novamente vocк serб kickado",loginname);
            ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"HebServer - LOGIN",loginstring,"Logar","Sair");
            fclose(UserFile);
            gPlayerLogTries[playerid] += 1;
            if(gPlayerLogTries[playerid] == 4) { Kick(playerid); }
            return 1;
        }
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    new sendername[MAX_PLAYER_NAME];
    new string[128];
    if(response)
    {
        if(dialogid == 12346 || dialogid == 12347)
        {
      if(strlen(inputtext))
            {
                //new tmppass[64];
                //strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
                Encrypt(inputtext);
                OnPlayerLogin(playerid,inputtext);
            }
            else
            {
                new loginstring[128];
                new loginname[64];
                GetPlayerName(playerid,loginname,sizeof(loginname));
                format(loginstring,sizeof(loginstring),"SENHA INCORRETA\n\nFavor inserir a senha correta:\nSe errar novamente vocк serб kickado",loginname);
                ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"HebServer - LOGIN",loginstring,"Logar","Sair");
                gPlayerLogTries[playerid] += 1;
                if(gPlayerLogTries[playerid] == 4) { Kick(playerid); }
            }
        }
        if(dialogid == 12345)
        {
            if(strlen(inputtext))
            {
                GetPlayerName(playerid, sendername, sizeof(sendername));
                format(string, sizeof(string), "Contas/%s.ini", sendername);
                new File: hFile = fopen(string, io_read);
                if (hFile)
                {
                    SendClientMessage(playerid, COLOR_YELLOW, "Esta conta jб existe em nosso sistema de registros, por favor escolha outro.");
                    fclose(hFile);
                    return 1;
                }
                new tmppass[64];
                strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
                Encrypt(tmppass);
                OnPlayerRegister(playerid,tmppass);
            }
            else
            {
                new regstring[128];
                new regname[64];
                GetPlayerName(playerid,regname,sizeof(regname));
                format(regstring,sizeof(regstring),"Conta nгo registrada\nNome: %s\n\nPor favor insira sua senha:",regname);
                ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"HebServer - REGISTRO",regstring,"Registrar","Sair");
    }
        }
    }
Tutorial quero trocar por Dialog.

forward Tutorial(playerid);
new tempotutorial[MAX_PLAYERS];
new partetutorial[MAX_PLAYERS];


pawn Код:
public CriarTextDraws()
{

    TextdrawA = TextDrawCreate(50.000000,435.000000,"Mozart Foda");
    TextDrawAlignment(TextdrawA,0);
    TextDrawFont(TextdrawA,3);
    TextDrawLetterSize(TextdrawA,0.399999,1.000000);
    TextDrawColor(TextdrawA,0x000000ff);
    TextDrawSetOutline(TextdrawA,1);
    TextDrawSetProportional(TextdrawA,1);
    TextDrawSetShadow(TextdrawA,1);

    Textdraw0p = TextDrawCreate(0.000000,0.000000,"_");
    TextDrawUseBox(Textdraw0p,1);
    TextDrawBoxColor(Textdraw0p,0x000000ff);
    TextDrawTextSize(Textdraw0p,645.000000,3.000000);
    TextDrawAlignment(Textdraw0p,0);
    TextDrawFont(Textdraw0p,3);
    TextDrawBackgroundColor(Textdraw0p,0x000000ff);
    TextDrawColor(Textdraw0p,0xffffffff);
    TextDrawLetterSize(Textdraw0p,1.300000,11.300001);
    TextDrawSetOutline(Textdraw0p,1);
    TextDrawSetProportional(Textdraw0p,1);
    TextDrawSetShadow(Textdraw0p,1);

    Textdraw1p = TextDrawCreate(644.000000,332.000000,"_");
    TextDrawUseBox(Textdraw1p,1);
    TextDrawBoxColor(Textdraw1p,0x000000ff);
    TextDrawTextSize(Textdraw1p,-1018.000000,0.000000);
    TextDrawAlignment(Textdraw1p,0);
    TextDrawBackgroundColor(Textdraw1p,0x000000ff);
    TextDrawFont(Textdraw1p,3);
    TextDrawLetterSize(Textdraw1p,1.000000,12.700006);
    TextDrawColor(Textdraw1p,0xffffffff);
    TextDrawSetOutline(Textdraw1p,1);
    TextDrawSetProportional(Textdraw1p,1);
    TextDrawSetShadow(Textdraw1p,1);

    Textdrawbb = TextDrawCreate(122.000000,283.000000,"------------------------------------------------------------------------------------");
    TextDrawAlignment(Textdrawbb,0);
    TextDrawBackgroundColor(Textdrawbb,0x000000ff);
    TextDrawFont(Textdrawbb,3);
    TextDrawLetterSize(Textdrawbb,0.299999,0.799999);
    TextDrawColor(Textdrawbb,0x000000ff);
    TextDrawSetOutline(Textdrawbb,1);
    TextDrawSetProportional(Textdrawbb,1);
    TextDrawSetShadow(Textdrawbb,1);

    Textdraw0z = TextDrawCreate(104.000000,111.000000,"_");
    Textdraw1z = TextDrawCreate(113.000000,115.000000,"~w~HebServer Brasil [RPG] [0.3C] ~g~Roleplay");
    Textdraw2z = TextDrawCreate(120.000000,129.000000,"-------------------------------------------------------------------------------------");
    Textdraw3z = TextDrawCreate(128.000000,135.000000,"Bem vindo ao HebServer Brasil [RPG] [0.3C]!");
    Textdraw4z = TextDrawCreate(134.000000,166.000000,"E altamente recomendavel ler o tutorial antes de jogar:");
    Textdraw6z = TextDrawCreate(134.000000,195.000000,"O objetivo do Server e simular a vida real e preservar a sensacao");
    Textdraw7z = TextDrawCreate(134.000000,210.000000,"de realidade virtual que e criada em torno de toda San Andreas.");
    TextDrawUseBox(Textdraw0z,1);
    TextDrawBoxColor(Textdraw0z,0x00000066);
    TextDrawTextSize(Textdraw0z,522.000000,1.000000);
    TextDrawAlignment(Textdraw0z,0);
    TextDrawAlignment(Textdraw1z,0);
    TextDrawAlignment(Textdraw2z,0);
    TextDrawAlignment(Textdraw3z,0);
    TextDrawAlignment(Textdraw4z,0);
    TextDrawAlignment(Textdraw5z,0);
    TextDrawAlignment(Textdraw6z,0);
    TextDrawAlignment(Textdraw7z,0);
    TextDrawBackgroundColor(Textdraw0z,0x000000ff);
    TextDrawBackgroundColor(Textdraw1z,0x000000ff);
    TextDrawBackgroundColor(Textdraw2z,0x000000ff);
    TextDrawBackgroundColor(Textdraw3z,0xffffffff);
    TextDrawBackgroundColor(Textdraw4z,0x000000ff);
    TextDrawBackgroundColor(Textdraw5z,0x000000ff);
    TextDrawBackgroundColor(Textdraw6z,0x000000ff);
    TextDrawBackgroundColor(Textdraw7z,0x000000ff);
    TextDrawFont(Textdraw0z,3);
    TextDrawLetterSize(Textdraw0z,1.000000,23.600006);
    TextDrawFont(Textdraw1z,2);
    TextDrawLetterSize(Textdraw1z,0.499999,1.600000);
    TextDrawFont(Textdraw2z,3);
    TextDrawLetterSize(Textdraw2z,0.299999,0.699998);
    TextDrawFont(Textdraw3z,1);
    TextDrawLetterSize(Textdraw3z,0.399999,1.000000);
    TextDrawFont(Textdraw4z,1);
    TextDrawLetterSize(Textdraw4z,0.299999,1.200000);
    TextDrawFont(Textdraw5z,1);
    TextDrawLetterSize(Textdraw5z,0.299999,1.300000);
    TextDrawFont(Textdraw6z,1);
    TextDrawLetterSize(Textdraw6z,0.299999,1.300000);
    TextDrawFont(Textdraw7z,1);
    TextDrawLetterSize(Textdraw7z,0.299999,1.300000);
    TextDrawColor(Textdraw0z,0xffffffff);
    TextDrawColor(Textdraw1z,0xffffffff);
    TextDrawColor(Textdraw2z,0x00000033);
    TextDrawColor(Textdraw3z,0x000000ff);
    TextDrawColor(Textdraw4z,0xffffffff);
    TextDrawColor(Textdraw5z,0xffffffff);
    TextDrawColor(Textdraw6z,0xffffffff);
    TextDrawColor(Textdraw7z,0xffffffff);
    TextDrawSetOutline(Textdraw0z,1);
    TextDrawSetOutline(Textdraw1z,1);
    TextDrawSetOutline(Textdraw2z,1);
    TextDrawSetOutline(Textdraw3z,1);
    TextDrawSetOutline(Textdraw4z,1);
    TextDrawSetOutline(Textdraw5z,1);
    TextDrawSetOutline(Textdraw6z,1);
    TextDrawSetOutline(Textdraw7z,1);
    TextDrawSetProportional(Textdraw0z,1);
    TextDrawSetProportional(Textdraw1z,1);
    TextDrawSetProportional(Textdraw2z,1);
    TextDrawSetProportional(Textdraw3z,1);
    TextDrawSetProportional(Textdraw4z,1);
    TextDrawSetProportional(Textdraw5z,1);
    TextDrawSetProportional(Textdraw6z,1);
    TextDrawSetProportional(Textdraw7z,1);
    TextDrawSetShadow(Textdraw0z,1);
    TextDrawSetShadow(Textdraw1z,2);
    TextDrawSetShadow(Textdraw2z,1);
    TextDrawSetShadow(Textdraw3z,1);
    TextDrawSetShadow(Textdraw4z,1);
    TextDrawSetShadow(Textdraw5z,1);
    TextDrawSetShadow(Textdraw6z,1);
    TextDrawSetShadow(Textdraw7z,1);
    Textdraw0i = TextDrawCreate(134.000000,225.000000,"Assim como na vida real, aqui tambem temos regras rigidas.");
    Textdraw1i = TextDrawCreate(134.000000,240.000000,"e que se nгo for seguidas pode sofrer puniзхes como na vida real.");
    Textdraw1i = TextDrawCreate(134.000000,255.000000,"Tente respeitar todas as regras e ser um player RP.");
    TextDrawAlignment(Textdraw0i,0);
    TextDrawAlignment(Textdraw1i,0);
    TextDrawAlignment(Textdraw2i,0);
    TextDrawAlignment(Textdraw3i,0);
    TextDrawAlignment(Textdraw4i,0);
    TextDrawAlignment(Textdraw5i,0);
    TextDrawBackgroundColor(Textdraw0i,0x000000ff);
    TextDrawBackgroundColor(Textdraw1i,0x000000ff);
    TextDrawBackgroundColor(Textdraw2i,0x000000ff);
    TextDrawBackgroundColor(Textdraw3i,0x000000ff);
    TextDrawBackgroundColor(Textdraw4i,0x00000066);
    TextDrawBackgroundColor(Textdraw5i,0x000000ff);
    TextDrawFont(Textdraw0i,1);
    TextDrawLetterSize(Textdraw0i,0.299999,1.200000);
    TextDrawFont(Textdraw1i,1);
    TextDrawLetterSize(Textdraw1i,0.299999,1.200000);
    TextDrawFont(Textdraw2i,1);
    TextDrawLetterSize(Textdraw2i,0.299999,1.200000);
    TextDrawFont(Textdraw3i,1);
    TextDrawLetterSize(Textdraw3i,0.299999,1.300000);
    TextDrawFont(Textdraw4i,1);
    TextDrawLetterSize(Textdraw4i,0.299999,1.000000);
    TextDrawFont(Textdraw5i,1);
    TextDrawLetterSize(Textdraw5i,0.299999,1.000000);
    TextDrawColor(Textdraw0i,0xffffffff);
    TextDrawColor(Textdraw1i,0xffffffff);
    TextDrawColor(Textdraw2i,0xffffffff);
    TextDrawColor(Textdraw3i,0xffffffff);
    TextDrawColor(Textdraw4i,0xff0000cc);
    TextDrawColor(Textdraw5i,0x00ff0099);
    TextDrawSetOutline(Textdraw0i,1);
    TextDrawSetOutline(Textdraw1i,1);
    TextDrawSetOutline(Textdraw2i,1);
    TextDrawSetOutline(Textdraw3i,1);
    TextDrawSetOutline(Textdraw4i,1);
    TextDrawSetOutline(Textdraw5i,1);
    TextDrawSetProportional(Textdraw0i,1);
    TextDrawSetProportional(Textdraw1i,1);
    TextDrawSetProportional(Textdraw2i,1);
    TextDrawSetProportional(Textdraw3i,1);
    TextDrawSetProportional(Textdraw4i,1);
    TextDrawSetProportional(Textdraw5i,1);
    TextDrawSetShadow(Textdraw0i,1);
    TextDrawSetShadow(Textdraw1i,1);
    TextDrawSetShadow(Textdraw2i,1);
    TextDrawSetShadow(Textdraw3i,1);
    TextDrawSetShadow(Textdraw4i,1);
    TextDrawSetShadow(Textdraw5i,2);

    TextBarra0 = TextDrawCreate(548.000000,131.000000,"_");
    TextDrawUseBox(TextBarra0,1);
    TextDrawBoxColor(TextBarra0,0x000000ff);
    TextDrawTextSize(TextBarra0,605.000000,3.000000);
    TextDrawAlignment(TextBarra0,0);
    TextDrawBackgroundColor(TextBarra0,0x000000ff);
    TextDrawFont(TextBarra0,3);
    TextDrawLetterSize(TextBarra0,1.600000,0.299999);
    TextDrawColor(TextBarra0,0xffffffff);
    TextDrawSetOutline(TextBarra0,1);
    TextDrawSetProportional(TextBarra0,1);
    TextDrawSetShadow(TextBarra0,1);

    TextBarra4 = TextDrawCreate(548.000000,47.000000,"_");
    TextDrawUseBox(TextBarra4,1);
    TextDrawBoxColor(TextBarra4,0x000000ff);
    TextDrawTextSize(TextBarra4,605.000000,3.000000);
    TextDrawAlignment(TextBarra4,0);
    TextDrawBackgroundColor(TextBarra4,0x000000ff);
    TextDrawFont(TextBarra4,3);
    TextDrawLetterSize(TextBarra4,1.300000,0.499999);
    TextDrawColor(TextBarra4,0xffffffff);
    TextDrawSetOutline(TextBarra4,1);
    TextDrawSetProportional(TextBarra4,1);
    TextDrawSetShadow(TextBarra4,1);

    TextBarra2 = TextDrawCreate(548.000000,147.000000,"_");
    TextDrawUseBox(TextBarra2,1);
    TextDrawBoxColor(TextBarra2,0x000000ff);
    TextDrawTextSize(TextBarra2,605.000000,3.000000);
    TextDrawAlignment(TextBarra2,0);
    TextDrawBackgroundColor(TextBarra2,0x000000ff);
    TextDrawFont(TextBarra2,3);
    TextDrawLetterSize(TextBarra2,1.200000,0.399999);
    TextDrawColor(TextBarra2,0xffffffff);
    TextDrawSetOutline(TextBarra2,1);
    TextDrawSetProportional(TextBarra2,1);
    TextDrawSetShadow(TextBarra2,1);

    TextBarra6 = TextDrawCreate(549.000000,69.000000,"_");
    TextDrawUseBox(TextBarra6,1);
    TextDrawBoxColor(TextBarra6,0x000000ff);
    TextDrawTextSize(TextBarra6,605.000000,3.000000);
    TextDrawAlignment(TextBarra6,0);
    TextDrawBackgroundColor(TextBarra6,0x000000ff);
    TextDrawFont(TextBarra6,3);
    TextDrawLetterSize(TextBarra6,1.000000,0.199999);
    TextDrawColor(TextBarra6,0xffffffff);
    TextDrawSetOutline(TextBarra6,1);
    TextDrawSetProportional(TextBarra6,1);
    TextDrawSetShadow(TextBarra6,1);

    Textdraw0qw = TextDrawCreate(134.000000,170.000000,"No HebServer Brasil [RPG] [0.3C],devemos seguir algumas regras,");
    Textdraw1qw = TextDrawCreate(134.000000,185.000000,"para nao ter problemas com nossos players policiais ou civis");
    Textdraw2qw = TextDrawCreate(134.000000,200.000000,"Para pedir ajuda a algum Admin, use /relato [texto], ou peзa vaia ao forum.");
    Textdraw3qw = TextDrawCreate(134.000000,215.000000,"ajuda a algum policial ou qualquer player conectado no server.");
    Textdraw4qw = TextDrawCreate(134.000000,245.000000,"Se ver algum cheater contate imediatamente a admins pelo /relato.");
    Textdraw5qw = TextDrawCreate(134.000000,260.000000,"Nao use nenhum tipo de mod, cheater ou abuse de bug.");
    TextDrawAlignment(Textdraw0qw,0);
    TextDrawAlignment(Textdraw1qw,0);
    TextDrawAlignment(Textdraw2qw,0);
    TextDrawAlignment(Textdraw3qw,0);
    TextDrawAlignment(Textdraw4qw,0);
    TextDrawAlignment(Textdraw5qw,0);
    TextDrawBackgroundColor(Textdraw0qw,0x000000ff);
    TextDrawBackgroundColor(Textdraw1qw,0x000000ff);
    TextDrawBackgroundColor(Textdraw2qw,0x000000ff);
    TextDrawBackgroundColor(Textdraw3qw,0x000000ff);
    TextDrawBackgroundColor(Textdraw4qw,0x000000ff);
    TextDrawBackgroundColor(Textdraw5qw,0x000000ff);
    TextDrawFont(Textdraw0qw,1);
    TextDrawLetterSize(Textdraw0qw,0.299999,1.100000);
    TextDrawFont(Textdraw1qw,1);
    TextDrawLetterSize(Textdraw1qw,0.299999,1.100000);
    TextDrawFont(Textdraw2qw,1);
    TextDrawLetterSize(Textdraw2qw,0.299999,1.100000);
    TextDrawFont(Textdraw3qw,1);
    TextDrawLetterSize(Textdraw3qw,0.299999,1.100000);
    TextDrawFont(Textdraw4qw,1);
    TextDrawLetterSize(Textdraw4qw,0.299999,1.100000);
    TextDrawFont(Textdraw5qw,1);
    TextDrawLetterSize(Textdraw5qw,0.299999,1.100000);
    TextDrawColor(Textdraw0qw,0xffffffff);
    TextDrawColor(Textdraw1qw,0xffffffff);
    TextDrawColor(Textdraw2qw,0xffffffff);
    TextDrawColor(Textdraw3qw,0xffffffff);
    TextDrawColor(Textdraw4qw,0xffffffff);
    TextDrawColor(Textdraw5qw,0xffffffff);
    TextDrawSetOutline(Textdraw0qw,1);
    TextDrawSetOutline(Textdraw1qw,1);
    TextDrawSetOutline(Textdraw2qw,1);
    TextDrawSetOutline(Textdraw3qw,1);
    TextDrawSetOutline(Textdraw4qw,1);
    TextDrawSetOutline(Textdraw5qw,1);
    TextDrawSetProportional(Textdraw0qw,1);
    TextDrawSetProportional(Textdraw1qw,1);
    TextDrawSetProportional(Textdraw2qw,1);
    TextDrawSetProportional(Textdraw3qw,1);
    TextDrawSetProportional(Textdraw4qw,1);
    TextDrawSetProportional(Textdraw5qw,1);
    TextDrawSetShadow(Textdraw0qw,1);
    TextDrawSetShadow(Textdraw1qw,1);
    TextDrawSetShadow(Textdraw2qw,1);
    TextDrawSetShadow(Textdraw3qw,1);
    TextDrawSetShadow(Textdraw4qw,1);
    TextDrawSetShadow(Textdraw5qw,1);
    Textdraw0rw = TextDrawCreate(134.000000,170.000000,"Para comecarmos voce devera pegar um emprego na prefeitura em LS,");
    Textdraw1rw = TextDrawCreate(134.000000,185.000000,"para poder conseguir dinheiro, assim como na vida real e essencial.");
    Textdraw2rw = TextDrawCreate(134.000000,200.000000,"Se tiver algum tipo de duvida use um dos seguintes comandos abaixo:");
    Textdraw3rw = TextDrawCreate(134.000000,230.000000,"Duvida de lugares use /GPS para localilzar os lugares no mapa.");
    Textdraw4rw = TextDrawCreate(134.000000,245.000000,"Use /servico taxi para chamar um taxi e seja levado a algum lugar.");
    TextDrawAlignment(Textdraw0rw,0);
    TextDrawAlignment(Textdraw1rw,0);
    TextDrawAlignment(Textdraw2rw,0);
    TextDrawAlignment(Textdraw3rw,0);
    TextDrawAlignment(Textdraw4rw,0);
    TextDrawAlignment(Textdraw5rw,0);
    TextDrawAlignment(Textdraw6rw,0);
    TextDrawBackgroundColor(Textdraw0rw,0x000000ff);
    TextDrawBackgroundColor(Textdraw1rw,0x000000ff);
    TextDrawBackgroundColor(Textdraw2rw,0x000000ff);
    TextDrawBackgroundColor(Textdraw3rw,0x000000ff);
    TextDrawBackgroundColor(Textdraw4rw,0x000000ff);
    TextDrawBackgroundColor(Textdraw5rw,0x000000ff);
    TextDrawBackgroundColor(Textdraw6rw,0x000000ff);
    TextDrawFont(Textdraw0rw,1);
    TextDrawLetterSize(Textdraw0rw,0.299999,1.100000);
    TextDrawFont(Textdraw1rw,1);
    TextDrawLetterSize(Textdraw1rw,0.299999,1.100000);
    TextDrawFont(Textdraw2rw,1);
    TextDrawLetterSize(Textdraw2rw,0.299999,1.100000);
    TextDrawFont(Textdraw3rw,1);
    TextDrawLetterSize(Textdraw3rw,0.299999,1.100000);
    TextDrawFont(Textdraw4rw,1);
    TextDrawLetterSize(Textdraw4rw,0.299999,1.100000);
    TextDrawFont(Textdraw5rw,1);
    TextDrawLetterSize(Textdraw5rw,0.299999,1.100000);
    TextDrawFont(Textdraw6rw,1);
    TextDrawLetterSize(Textdraw6rw,0.299999,1.000000);
    TextDrawColor(Textdraw0rw,0xffffffff);
    TextDrawColor(Textdraw1rw,0xffffffff);
    TextDrawColor(Textdraw2rw,0xffffffff);
    TextDrawColor(Textdraw3rw,0xffffffff);
    TextDrawColor(Textdraw4rw,0xffffffff);
    TextDrawColor(Textdraw5rw,0xffffffff);
    TextDrawColor(Textdraw6rw,0xffffffff);
    TextDrawSetOutline(Textdraw0rw,1);
    TextDrawSetOutline(Textdraw1rw,1);
    TextDrawSetOutline(Textdraw2rw,1);
    TextDrawSetOutline(Textdraw3rw,1);
    TextDrawSetOutline(Textdraw4rw,1);
    TextDrawSetOutline(Textdraw5rw,1);
    TextDrawSetOutline(Textdraw6rw,1);
    TextDrawSetProportional(Textdraw0rw,1);
    TextDrawSetProportional(Textdraw1rw,1);
    TextDrawSetProportional(Textdraw2rw,1);
    TextDrawSetProportional(Textdraw3rw,1);
    TextDrawSetProportional(Textdraw4rw,1);
    TextDrawSetProportional(Textdraw5rw,1);
    TextDrawSetProportional(Textdraw6rw,1);
    TextDrawSetShadow(Textdraw0rw,1);
    TextDrawSetShadow(Textdraw1rw,1);
    TextDrawSetShadow(Textdraw2rw,1);
    TextDrawSetShadow(Textdraw3rw,1);
    TextDrawSetShadow(Textdraw4rw,1);
    TextDrawSetShadow(Textdraw5rw,1);
    TextDrawSetShadow(Textdraw6rw,1);
    Textdraw0op = TextDrawCreate(134.000000,170.000000,"Caso precise de ajuda chame algum administrador pelo /relato");
    Textdraw1op = TextDrawCreate(134.000000,185.000000,"Se quiser entrar em alguma org peca a algum lider, use /lideres.");
    Textdraw2op = TextDrawCreate(134.000000,215.000000,"Aqui voce precisa trabalhar para conseguir casa e carros e ter");
    Textdraw3op = TextDrawCreate(134.000000,230.000000,"seu dinheiro para tentar uma vida rica, ou pobre, aqui quem escolhe");
    Textdraw4op = TextDrawCreate(134.000000,245.000000,"e voce, entao, corra atras, trabalhe e seja um bom player Role Play.");
    TextDrawAlignment(Textdraw0op,0);
    TextDrawAlignment(Textdraw1op,0);
    TextDrawAlignment(Textdraw2op,0);
    TextDrawAlignment(Textdraw3op,0);
    TextDrawAlignment(Textdraw4op,0);
    TextDrawAlignment(Textdraw5op,0);
    TextDrawAlignment(Textdraw6op,0);
    TextDrawAlignment(Textdraw7op,0);
    TextDrawBackgroundColor(Textdraw0op,0x000000ff);
    TextDrawBackgroundColor(Textdraw1op,0x000000ff);
    TextDrawBackgroundColor(Textdraw2op,0x000000ff);
    TextDrawBackgroundColor(Textdraw3op,0x000000ff);
    TextDrawBackgroundColor(Textdraw4op,0x000000ff);
    TextDrawBackgroundColor(Textdraw5op,0x000000ff);
    TextDrawBackgroundColor(Textdraw6op,0x000000ff);
    TextDrawBackgroundColor(Textdraw7op,0x000000ff);
    TextDrawFont(Textdraw0op,1);
    TextDrawLetterSize(Textdraw0op,0.299999,1.100000);
    TextDrawFont(Textdraw1op,1);
    TextDrawLetterSize(Textdraw1op,0.299999,1.100000);
    TextDrawFont(Textdraw2op,1);
    TextDrawLetterSize(Textdraw2op,0.299999,1.100000);
    TextDrawFont(Textdraw3op,1);
    TextDrawLetterSize(Textdraw3op,0.299999,1.100000);
    TextDrawFont(Textdraw4op,1);
    TextDrawLetterSize(Textdraw4op,0.299999,1.100000);
    TextDrawFont(Textdraw5op,1);
    TextDrawLetterSize(Textdraw5op,0.299999,1.100000);
    TextDrawFont(Textdraw6op,1);
    TextDrawLetterSize(Textdraw6op,0.299999,1.000000);
    TextDrawFont(Textdraw7op,1);
    TextDrawLetterSize(Textdraw7op,0.299999,1.000000);
    TextDrawColor(Textdraw0op,0xffffffff);
    TextDrawColor(Textdraw1op,0xffffffff);
    TextDrawColor(Textdraw2op,0xffffffff);
    TextDrawColor(Textdraw3op,0xffffffff);
    TextDrawColor(Textdraw4op,0xffffffff);
    TextDrawColor(Textdraw5op,0xffffffff);
    TextDrawColor(Textdraw6op,0xffffffff);
    TextDrawColor(Textdraw7op,0xffffffff);
    TextDrawSetOutline(Textdraw0op,1);
    TextDrawSetOutline(Textdraw1op,1);
    TextDrawSetOutline(Textdraw2op,1);
    TextDrawSetOutline(Textdraw3op,1);
    TextDrawSetOutline(Textdraw4op,1);
    TextDrawSetOutline(Textdraw5op,1);
    TextDrawSetOutline(Textdraw6op,1);
    TextDrawSetOutline(Textdraw7op,1);
    TextDrawSetProportional(Textdraw0op,1);
    TextDrawSetProportional(Textdraw1op,1);
    TextDrawSetProportional(Textdraw2op,1);
    TextDrawSetProportional(Textdraw3op,1);
    TextDrawSetProportional(Textdraw4op,1);
    TextDrawSetProportional(Textdraw5op,1);
    TextDrawSetProportional(Textdraw6op,1);
    TextDrawSetProportional(Textdraw7op,1);
    TextDrawSetShadow(Textdraw0op,1);
    TextDrawSetShadow(Textdraw1op,1);
    TextDrawSetShadow(Textdraw2op,1);
    TextDrawSetShadow(Textdraw3op,1);
    TextDrawSetShadow(Textdraw4op,1);
    TextDrawSetShadow(Textdraw5op,1);
    TextDrawSetShadow(Textdraw6op,1);
    TextDrawSetShadow(Textdraw7op,1);
    Textdraw0hy = TextDrawCreate(134.000000,170.000000,"Caso tenha duvida em alguns comandos do server digite /rg ou /ajuda,");
    Textdraw1hy = TextDrawCreate(134.000000,185.000000,"para ver os comandos disponiveis. Voce ira iniciar no ponto");
    Textdraw2hy = TextDrawCreate(134.000000,200.000000,"de spawn e se nao ouver veiculos disponiveis chame um taxi");
    Textdraw3hy = TextDrawCreate(134.000000,215.000000,"usando /servico taxi, e espere algum taxista aceitar a chamada");
    Textdraw4hy = TextDrawCreate(134.000000,245.000000,"Compre um celular caso queira ligar ou mandar sms pra alguem.");
    Textdraw5hy = TextDrawCreate(134.000000,260.000000,"Alguns comandos importantes /relato /admins /rg.");
    TextDrawAlignment(Textdraw0hy,0);
    TextDrawAlignment(Textdraw1hy,0);
    TextDrawAlignment(Textdraw2hy,0);
    TextDrawAlignment(Textdraw3hy,0);
    TextDrawAlignment(Textdraw4hy,0);
    TextDrawAlignment(Textdraw5hy,0);
    TextDrawAlignment(Textdraw6hy,0);
    TextDrawAlignment(Textdraw7hy,0);
    TextDrawBackgroundColor(Textdraw0hy,0x000000ff);
    TextDrawBackgroundColor(Textdraw1hy,0x000000ff);
    TextDrawBackgroundColor(Textdraw2hy,0x000000ff);
    TextDrawBackgroundColor(Textdraw3hy,0x000000ff);
    TextDrawBackgroundColor(Textdraw4hy,0x000000ff);
    TextDrawBackgroundColor(Textdraw5hy,0x000000ff);
    TextDrawBackgroundColor(Textdraw6hy,0x000000ff);
    TextDrawBackgroundColor(Textdraw7hy,0x000000ff);
    TextDrawFont(Textdraw0hy,1);
    TextDrawLetterSize(Textdraw0hy,0.299999,1.100000);
    TextDrawFont(Textdraw1hy,1);
    TextDrawLetterSize(Textdraw1hy,0.299999,1.100000);
    TextDrawFont(Textdraw2hy,1);
    TextDrawLetterSize(Textdraw2hy,0.299999,1.100000);
    TextDrawFont(Textdraw3hy,1);
    TextDrawLetterSize(Textdraw3hy,0.299999,1.100000);
    TextDrawFont(Textdraw4hy,1);
    TextDrawLetterSize(Textdraw4hy,0.299999,1.100000);
    TextDrawFont(Textdraw5hy,1);
    TextDrawLetterSize(Textdraw5hy,0.299999,1.100000);
    TextDrawFont(Textdraw6hy,1);
    TextDrawLetterSize(Textdraw6hy,0.299999,1.100000);
    TextDrawFont(Textdraw7hy,1);
    TextDrawLetterSize(Textdraw7hy,0.299999,1.100000);
    TextDrawColor(Textdraw0hy,0xffffffff);
    TextDrawColor(Textdraw1hy,0xffffffff);
    TextDrawColor(Textdraw2hy,0xffffffff);
    TextDrawColor(Textdraw3hy,0xffffffff);
    TextDrawColor(Textdraw4hy,0xffffffff);
    TextDrawColor(Textdraw5hy,0xffffffff);
    TextDrawColor(Textdraw6hy,0xffffffff);
    TextDrawColor(Textdraw7hy,0xffffffff);
    TextDrawSetOutline(Textdraw0hy,1);
    TextDrawSetOutline(Textdraw1hy,1);
    TextDrawSetOutline(Textdraw2hy,1);
    TextDrawSetOutline(Textdraw3hy,1);
    TextDrawSetOutline(Textdraw4hy,1);
    TextDrawSetOutline(Textdraw5hy,1);
    TextDrawSetOutline(Textdraw6hy,1);
    TextDrawSetOutline(Textdraw7hy,1);
    TextDrawSetProportional(Textdraw0hy,1);
    TextDrawSetProportional(Textdraw1hy,1);
    TextDrawSetProportional(Textdraw2hy,1);
    TextDrawSetProportional(Textdraw3hy,1);
    TextDrawSetProportional(Textdraw4hy,1);
    TextDrawSetProportional(Textdraw5hy,1);
    TextDrawSetProportional(Textdraw6hy,1);
    TextDrawSetProportional(Textdraw7hy,1);
    TextDrawSetShadow(Textdraw0hy,1);
    TextDrawSetShadow(Textdraw1hy,1);
    TextDrawSetShadow(Textdraw2hy,1);
    TextDrawSetShadow(Textdraw3hy,1);
    TextDrawSetShadow(Textdraw4hy,1);
    TextDrawSetShadow(Textdraw5hy,1);
    TextDrawSetShadow(Textdraw6hy,1);
    TextDrawSetShadow(Textdraw7hy,1);
    Textdraw0dw = TextDrawCreate(137.000000,170.000000,"HebServer Brasil [RPG] [0.3C].");
    Textdraw1dw = TextDrawCreate(137.000000,200.000000,"Chame amigos e ajude nosso servidor a crescer!");
    Textdraw2dw = TextDrawCreate(137.000000,230.000000,"Tenha um bom jogo e lembre se de ser RP..");
    TextDrawAlignment(Textdraw0dw,0);
    TextDrawAlignment(Textdraw1dw,0);
    TextDrawAlignment(Textdraw2dw,0);
    TextDrawAlignment(Textdraw3dw,0);
    TextDrawAlignment(Textdraw4dw,0);
    TextDrawAlignment(Textdraw5dw,0);
    TextDrawBackgroundColor(Textdraw0dw,0x000000ff);
    TextDrawBackgroundColor(Textdraw1dw,0x000000ff);
    TextDrawBackgroundColor(Textdraw2dw,0x000000ff);
    TextDrawBackgroundColor(Textdraw3dw,0x000000ff);
    TextDrawBackgroundColor(Textdraw4dw,0x000000ff);
    TextDrawBackgroundColor(Textdraw5dw,0x000000ff);
    TextDrawFont(Textdraw0dw,1);
    TextDrawLetterSize(Textdraw0dw,0.299999,1.100000);
    TextDrawFont(Textdraw1dw,1);
    TextDrawLetterSize(Textdraw1dw,0.299999,1.100000);
    TextDrawFont(Textdraw2dw,1);
    TextDrawLetterSize(Textdraw2dw,0.299999,1.200000);
    TextDrawFont(Textdraw3dw,1);
    TextDrawLetterSize(Textdraw3dw,0.399999,1.000000);
    TextDrawFont(Textdraw4dw,1);
    TextDrawLetterSize(Textdraw4dw,0.299999,1.000000);
    TextDrawFont(Textdraw5dw,1);
    TextDrawLetterSize(Textdraw5dw,0.299999,1.000000);
    TextDrawColor(Textdraw0dw,0xffffffff);
    TextDrawColor(Textdraw1dw,0xffffffff);
    TextDrawColor(Textdraw2dw,0xffffffff);
    TextDrawColor(Textdraw3dw,0xffffffff);
    TextDrawColor(Textdraw4dw,0xffffffff);
    TextDrawColor(Textdraw5dw,0xffffffff);
    TextDrawSetOutline(Textdraw0dw,1);
    TextDrawSetOutline(Textdraw1dw,1);
    TextDrawSetOutline(Textdraw2dw,1);
    TextDrawSetOutline(Textdraw3dw,1);
    TextDrawSetOutline(Textdraw4dw,1);
    TextDrawSetOutline(Textdraw5dw,1);
    TextDrawSetProportional(Textdraw0dw,1);
    TextDrawSetProportional(Textdraw1dw,1);
    TextDrawSetProportional(Textdraw2dw,1);
    TextDrawSetProportional(Textdraw3dw,1);
    TextDrawSetProportional(Textdraw4dw,1);
    TextDrawSetProportional(Textdraw5dw,1);
    TextDrawSetShadow(Textdraw0dw,1);
    TextDrawSetShadow(Textdraw1dw,1);
    TextDrawSetShadow(Textdraw2dw,1);
    TextDrawSetShadow(Textdraw3dw,1);
    TextDrawSetShadow(Textdraw4dw,1);
    TextDrawSetShadow(Textdraw5dw,1);
    agindo = TextDrawCreate(128.000000,146.000000,"Informacoes:");
    TextDrawAlignment(agindo,0);
    TextDrawBackgroundColor(agindo,0xffffffff);
    TextDrawFont(agindo,1);
    TextDrawLetterSize(agindo,0.399999,1.100000);
    TextDrawColor(agindo,0x000000ff);
    TextDrawSetOutline(agindo,1);
    TextDrawSetProportional(agindo,1);
    comofalar = TextDrawCreate(128.000000,146.000000,"Informacoes:");
    TextDrawAlignment(comofalar,0);
    TextDrawBackgroundColor(comofalar,0xffffffff);
    TextDrawFont(comofalar,1);
    TextDrawLetterSize(comofalar,0.399999,1.100000);
    TextDrawColor(comofalar,0x000000ff);
    TextDrawSetOutline(comofalar,1);
    TextDrawSetProportional(comofalar,1);
    ajudaetc = TextDrawCreate(128.000000,146.000000,"Informacoes:");
    TextDrawAlignment(ajudaetc,0);
    TextDrawBackgroundColor(ajudaetc,0xffffffff);
    TextDrawFont(ajudaetc,1);
    TextDrawLetterSize(ajudaetc,0.399999,1.100000);
    TextDrawColor(ajudaetc,0x000000ff);
    TextDrawSetOutline(ajudaetc,1);
    TextDrawSetProportional(ajudaetc,1);
    regraspun = TextDrawCreate(128.000000,146.000000,"Informacoes:");
    TextDrawAlignment(regraspun,0);
    TextDrawBackgroundColor(regraspun,0xffffffff);
    TextDrawFont(regraspun,1);
    TextDrawLetterSize(regraspun,0.399999,1.100000);
    TextDrawColor(regraspun,0x000000ff);
    TextDrawSetOutline(regraspun,1);
    TextDrawSetProportional(regraspun,1);
    bomjogo = TextDrawCreate(128.000000,146.000000,"Informacoes:");
    TextDrawAlignment(bomjogo,0);
    TextDrawBackgroundColor(bomjogo,0xffffffff);
    TextDrawFont(bomjogo,1);
    TextDrawLetterSize(bomjogo,0.399999,1.100000);
    TextDrawColor(bomjogo,0x000000ff);
    TextDrawSetOutline(bomjogo,1);
    TextDrawSetProportional(bomjogo,1);
    Texthig0 = TextDrawCreate(548.000000,163.000000,"_");
    TextDrawUseBox(Texthig0,1);
    TextDrawBoxColor(Texthig0,0x000000ff);
    TextDrawTextSize(Texthig0,605.000000,1.000000);
    TextDrawAlignment(Texthig0,0);
    TextDrawBackgroundColor(Texthig0,0x000000ff);
    TextDrawFont(Texthig0,3);
    TextDrawLetterSize(Texthig0,1.000000,0.399999);
    TextDrawColor(Texthig0,0xffffffff);
    TextDrawSetOutline(Texthig0,1);
    TextDrawSetProportional(Texthig0,1);
    TextDrawSetShadow(Texthig0,1);
}
pawn Код:
stock Inicial(playerid)
{
    SetPlayerInterior(playerid,0);
    partetutorial[playerid] = 1;
    SetPlayerVirtualWorld(playerid,playerid+1);
    TogglePlayerControllable(playerid, 0);
    SetPlayerHealth(playerid,100.0);
    Tutorial(playerid);
    return 1;
}

public Tutorial(playerid)
{
    switch(partetutorial[playerid])
    {
        case 1:
        {
            EsconderTodosText(playerid);
            KillTimer(tempotutorial[playerid]);
            tempotutorial[playerid] = SetTimerEx("Tutorial",17500,1,"i",playerid);
            SetPlayerCameraPos(playerid,1455.2659,-860.0505,61.1275);
            SetPlayerCameraLookAt(playerid,1432.2118,-826.8952,80.7208);
            SendClientMessage(playerid, COLOR_WHITE,"Informaзгo: Й preciso Ler o Tutorial para Entrar!");
            //SetPlayerPos(playerid,1435.0873,-814.4576,63.1395);
            //LimparChat(playerid);
            TextDrawShowForPlayer(playerid,Text:Textdraw0z);
            TextDrawShowForPlayer(playerid,Text:Textdraw1z);
            TextDrawShowForPlayer(playerid,Text:Textdraw2z);
            TextDrawShowForPlayer(playerid,Text:Textdraw3z);
            TextDrawShowForPlayer(playerid,Text:Textdraw4z);
            TextDrawShowForPlayer(playerid,Text:Textdraw5z);
            TextDrawShowForPlayer(playerid,Text:Textdraw6z);
            TextDrawShowForPlayer(playerid,Text:Textdraw7z);
            TextDrawShowForPlayer(playerid,Text:Textdraw0i);
            TextDrawShowForPlayer(playerid,Text:Textdraw1i);
            TextDrawShowForPlayer(playerid,Text:Textdraw2i);
            TextDrawShowForPlayer(playerid,Text:Textdraw3i);
            TextDrawShowForPlayer(playerid,Text:Textdraw4i);
            TextDrawShowForPlayer(playerid,Text:Textdraw5i);
            TextDrawShowForPlayer(playerid,Text:Textdrawbb);
            TextDrawShowForPlayer(playerid,Text:Textdraw0p);
            TextDrawShowForPlayer(playerid,Text:Textdraw1p);
            partetutorial[playerid] = 2;
            return 1;
        }
        case 2:
        {
            SetPlayerCameraPos(playerid,1169.4860,-1357.0984,122.2312);
            SetPlayerCameraLookAt(playerid,1461.2448,-1346.3914,122.2312);
           // SetPlayerPos(playerid,1169.4860,-1357.0984,122.2312);
            EsconderTodosText(playerid);
            //LimparChat(playerid);
            TextDrawShowForPlayer(playerid,Text:Textdraw0z);
            TextDrawShowForPlayer(playerid,Text:Textdraw1z);
            TextDrawShowForPlayer(playerid,Text:Textdraw2z);
            TextDrawShowForPlayer(playerid,Text:Textdraw0qw);
            TextDrawShowForPlayer(playerid,Text:Textdraw1qw);
            TextDrawShowForPlayer(playerid,Text:Textdraw2qw);
            TextDrawShowForPlayer(playerid,Text:Textdraw3qw);
            TextDrawShowForPlayer(playerid,Text:Textdraw4qw);
            TextDrawShowForPlayer(playerid,Text:Textdraw5qw);
            TextDrawShowForPlayer(playerid,Text:agindo);
            TextDrawShowForPlayer(playerid,Text:Textdrawbb);
            TextDrawShowForPlayer(playerid,Text:Textdraw0p);
            TextDrawShowForPlayer(playerid,Text:Textdraw1p);
            partetutorial[playerid] = 3;
            return 1;
        }
        case 3:
        {
            SetPlayerCameraPos(playerid,962.4185,-960.7972,48.3208);
            //SetPlayerPos(playerid,962.4185,-960.7972,48.3208);
            SetPlayerCameraLookAt(playerid,952.5886,-909.2940,45.7656);
            EsconderTodosText(playerid);
            LimparChat(playerid);
            TextDrawShowForPlayer(playerid,Text:Textdraw0z);
            TextDrawShowForPlayer(playerid,Text:Textdraw1z);
            TextDrawShowForPlayer(playerid,Text:Textdraw2z);
            TextDrawShowForPlayer(playerid,Text:Textdraw0rw);
            TextDrawShowForPlayer(playerid,Text:Textdraw1rw);
            TextDrawShowForPlayer(playerid,Text:Textdraw2rw);
            TextDrawShowForPlayer(playerid,Text:Textdraw3rw);
            TextDrawShowForPlayer(playerid,Text:Textdraw4rw);
            TextDrawShowForPlayer(playerid,Text:Textdraw5rw);
            TextDrawShowForPlayer(playerid,Text:Textdraw6rw);
            TextDrawShowForPlayer(playerid,Text:comofalar);
            TextDrawShowForPlayer(playerid,Text:Textdrawbb);
            TextDrawShowForPlayer(playerid,Text:Textdraw0p);
            TextDrawShowForPlayer(playerid,Text:Textdraw1p);
            partetutorial[playerid] = 4;
            return 1;
        }
        case 4:
        {
            KillTimer(tempotutorial[playerid]);
            tempotutorial[playerid] = SetTimerEx("Tutorial",17500,1,"i",playerid);
            SetPlayerCameraPos(playerid,1481.2372,-1711.9554,13.6139);
            SetPlayerCameraLookAt(playerid,1481.4960,-1749.3385,32.1287);
            //SetPlayerPos(playerid,1481.2372,-1711.9554,13.6139);
            EsconderTodosText(playerid);
            LimparChat(playerid);
            TextDrawShowForPlayer(playerid,Text:Textdraw0z);
            TextDrawShowForPlayer(playerid,Text:Textdraw1z);
            TextDrawShowForPlayer(playerid,Text:Textdraw2z);
            TextDrawShowForPlayer(playerid,Text:Textdraw0op);
            TextDrawShowForPlayer(playerid,Text:Textdraw1op);
            TextDrawShowForPlayer(playerid,Text:Textdraw2op);
            TextDrawShowForPlayer(playerid,Text:Textdraw3op);
            TextDrawShowForPlayer(playerid,Text:Textdraw4op);
            TextDrawShowForPlayer(playerid,Text:Textdraw5op);
            TextDrawShowForPlayer(playerid,Text:Textdraw6op);
            TextDrawShowForPlayer(playerid,Text:Textdraw7op);
            TextDrawShowForPlayer(playerid,Text:ajudaetc);
            TextDrawShowForPlayer(playerid,Text:Textdrawbb);
            TextDrawShowForPlayer(playerid,Text:Textdraw0p);
            TextDrawShowForPlayer(playerid,Text:Textdraw1p);
            partetutorial[playerid] = 5;
            return 1;
        }
        case 5:
        {
            KillTimer(tempotutorial[playerid]);
            tempotutorial[playerid] = SetTimerEx("Tutorial",17500,1,"i",playerid);
            SetPlayerCameraPos(playerid,862.1144,-1676.1420,13.5469);
            SetPlayerCameraLookAt(playerid,885.9816,-1655.2399,13.5469);
            //SetPlayerPos(playerid,862.1144,-1676.1420,13.54699);
            EsconderTodosText(playerid);
            LimparChat(playerid);
            TextDrawShowForPlayer(playerid,Text:Textdraw0z);
            TextDrawShowForPlayer(playerid,Text:Textdraw1z);
            TextDrawShowForPlayer(playerid,Text:Textdraw2z);
            TextDrawShowForPlayer(playerid,Text:Textdraw0hy);
            TextDrawShowForPlayer(playerid,Text:Textdraw1hy);
            TextDrawShowForPlayer(playerid,Text:Textdraw2hy);
            TextDrawShowForPlayer(playerid,Text:Textdraw3hy);
            TextDrawShowForPlayer(playerid,Text:Textdraw4hy);
            TextDrawShowForPlayer(playerid,Text:Textdraw5hy);
            TextDrawShowForPlayer(playerid,Text:Textdraw6hy);
            TextDrawShowForPlayer(playerid,Text:Textdraw7hy);
            TextDrawShowForPlayer(playerid,Text:regraspun);
            TextDrawShowForPlayer(playerid,Text:Textdrawbb);
            TextDrawShowForPlayer(playerid,Text:Textdraw0p);
            TextDrawShowForPlayer(playerid,Text:Textdraw1p);
            partetutorial[playerid] = 6;
        }
        case 6:
        {
            KillTimer(tempotutorial[playerid]);
            tempotutorial[playerid] = SetTimerEx("Tutorial",17500,1,"i",playerid);
            SetPlayerCameraPos(playerid,383.0398,-2088.2471,7.8359);
            SetPlayerCameraLookAt(playerid,432.7112,-2124.6548,7.8359);
        //  SetPlayerPos(playerid,383.0398,-2088.2471,7.8359);
            EsconderTodosText(playerid);
            LimparChat(playerid);
            TextDrawShowForPlayer(playerid,Text:Textdraw0z);
            TextDrawShowForPlayer(playerid,Text:Textdraw1z);
            TextDrawShowForPlayer(playerid,Text:Textdraw2z);
            TextDrawShowForPlayer(playerid,Text:Textdraw0dw);
            TextDrawShowForPlayer(playerid,Text:Textdraw1dw);
            TextDrawShowForPlayer(playerid,Text:Textdraw2dw);
            TextDrawShowForPlayer(playerid,Text:Textdraw3dw);
            TextDrawShowForPlayer(playerid,Text:Textdraw4dw);
            TextDrawShowForPlayer(playerid,Text:Textdraw5dw);
            TextDrawShowForPlayer(playerid,Text:bomjogo);
            TextDrawShowForPlayer(playerid,Text:Textdrawbb);
            TextDrawShowForPlayer(playerid,Text:Textdraw0p);
            TextDrawShowForPlayer(playerid,Text:Textdraw1p);
            partetutorial[playerid] = 7;
        }
        case 7:
        {
            KillTimer(tempotutorial[playerid]);
            EsconderTodosText(playerid);
            LimparChat(playerid);
            EsconderTodosText(playerid);
            GivePlayerGP(playerid, 0);
            SetPlayerFacingAngle(playerid, 90.0);
            SetPlayerVirtualWorld(playerid,0);
            partetutorial[playerid] = 0;
            PlayerInfo[playerid][pTut] = 1;
            SetPlayerPos(playerid,830.8060,-1369.2621,-0.5015);
            SetCameraBehindPlayer(playerid);
            PlayerPlayMusic(playerid);
            SetCameraBehindPlayer(playerid);
            TogglePlayerControllable(playerid, 0);
            SetPlayerHealth(playerid,100.0);
            RegistrationStep[playerid] = 4;
            TogglePlayerControllable(playerid, 1);
        }
        case 8:
        {
            TogglePlayerControllable(playerid, 1);
            GameTextForPlayer(playerid, "~w~Retornando ao tutorial...", 5000, 3);
            KillTimer(tempotutorial[playerid]);
            tempotutorial[playerid] = SetTimerEx("Tutorial",7000,0,"i",playerid);
            partetutorial[playerid] = 1;
            TextDrawShowForPlayer(playerid,tGP2[playerid]);
        }
    }
    return 1;
}
Bom se vocк puder fazer um novo codigo dos tipos que eu quero jб й uma grande ajuda, pois esses atuais codigos acima nгo estгo completos, eles sгo as ъltimas coisinhas que faltam para terminar o Servidor, espero que me ajude..
Reply
#2

Muita informaзгo, da atй preguiзa de ver, mas vo dar uma olhada jaja do edit.
Reply
#3

Ninguem??
Reply
#4

Cara, vocк quer tudo na mгo. Procura resolver seus problemas, recorra ao fуrum em casos extremos. Jб lhe disse quatro vezes como resolver isto, e vocк continua persistindo!

Estou errado? Olha sу suas palavras: 'SУ arrumar para colocar em Create3DTextLabel', 'Tutorial quero trocar por Dialog', 'se vocк puder fazer um novo codigo', 'que eu quero'.
Reply
#5

Eu sei, eu nгo estou querendo, eu quero eu preciso de ajuda, isso que eu quis dizer.. '-'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)