[[[Ajuda]]] Como colocar a opзгo **/pulartutorial**
#1

eu queria colocaar a opзгo no meu GM de PULAR O TUTORIAL..... COMO FAЗO?
Reply
#2

Seu Tutorial й em Dialog?
Reply
#3

eu nгo fasso idйia como funciona seu sistema de tutorial vo posta uma base aqui:
pawn Код:
if(strcmp(cmdtext,"/pl", true) == 0)
{
       if(Tutorial[playerid] == 0) return SendClientMessage(playerid,COLOR_RED,"Vocк nгo estб em um tutorial!");
       else
       if(Tutorial[playerid] == 1)
          {
               Tutorial[playerid] = 0;// seta para 0
               OnPlayerSpawn(playerid);
               
          }
       return 1;
}
vai nesta lуgica.
Reply
#4

pawn Код:
enum pInfo
{
 pTut
}
pawn Код:
if(strcmp(cmd, "/pulartuto", true) == 0 || strcmp(cmd,"/pulartutorial", true) == 0)
{
   PlayerInfo[i][pTut] = 1;
   SendClientMessage(playerid, COR,"Vocк decidiu pular o tutorial!");
   return 1;
}
Reply
#5

vou postar... ele

Код:
public CriarTextDraws()
{

    TextdrawA = TextDrawCreate(50.000000,435.000000,"Brasil Phonix Roleplay RolePlay");
    TextdrawB = TextDrawCreate(10.000000,435.000000,"Estamos Elaborando                                           Editado por Ichigo_Kurosaki");
    TextDrawTextSize(TextdrawB,638.000000,-0.500000);
    TextDrawAlignment(TextdrawA,0);
    TextDrawAlignment(TextdrawB,0);
    TextDrawFont(TextdrawA,3);
    TextDrawLetterSize(TextdrawA,0.399999,1.000000);
    TextDrawFont(TextdrawB,3);
    TextDrawLetterSize(TextdrawB,0.399999,1.000000);
    TextDrawColor(TextdrawA,0x000000ff);
    TextDrawColor(TextdrawB,COLOR_GREY);
    TextDrawSetOutline(TextdrawA,1);
    TextDrawSetOutline(TextdrawB,1);
    TextDrawSetProportional(TextdrawA,1);
    TextDrawSetProportional(TextdrawB,1);
    TextDrawSetShadow(TextdrawA,1);
    TextDrawSetShadow(TextdrawB,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,"~b~Brasil Phonix Roleplay ~w~Roleplay");
	Textdraw2z = TextDrawCreate(120.000000,129.000000,"-------------------------------------------------------------------------------------");
	Textdraw3z = TextDrawCreate(134.000000,135.000000,"Bem vindo ao Brasil Phonix Roleplay!");
	Textdraw4z = TextDrawCreate(134.000000,166.000000,"Leia atentamente as instrucoes antes de comeзar a jogar no nosso server:");
	Textdraw6z = TextDrawCreate(134.000000,195.000000,"O objetivo desse jogo e simular a vida real e preservar a sensacao");
	Textdraw7z = TextDrawCreate(134.000000,209.000000,"de realidade virtual que e criada em torno da cidade de Los Santos.");
	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,222.000000,"E importante ressaltar, que existem regras rigidas nesse servidor");
	Textdraw1i = TextDrawCreate(134.000000,235.000000,"e que e essencial segui-las para manter a dinamica do jogo de RP.");
	Textdraw1i = TextDrawCreate(134.000000,248.000000,"Tente ser um player exemplar para tornarmos o Brasil Phonix Roleplay um bom server.");
	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(110.000000,169.000000,"No Brasil Phonix Roleplay, voce deve seguir algumas regras para nao ter problemas");
	Textdraw1qw = TextDrawCreate(110.000000,182.000000,"com administradores ou jogadores:");
	Textdraw2qw = TextDrawCreate(110.000000,210.000000,"Nao e permitido matar sem um motivo plausivel.");
	Textdraw3qw = TextDrawCreate(110.000000,223.000000,"Nao e permitido Death-Matching (ficar correndo e atirando sem proposito).");
	Textdraw4qw = TextDrawCreate(110.000000,236.000000,"Nao e permito Ran-over(Atropelar e ficar com carro em cima).");
	Textdraw5qw = TextDrawCreate(110.000000,249.000000,"nao use palavroes nem hackers no nosso servidor isso pode te custar caro.");
	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(105.000000,182.000000,"Inicialmente, voce precisara de um emprego, pois sem dinheiro nao e possivel");
	Textdraw1rw = TextDrawCreate(105.000000,192.000000,"dar continuade a sua evolucao no jogo.");
	Textdraw2rw = TextDrawCreate(105.000000,220.000000,"Tambem lembre-se que existe uma auto-escola em Los Santos e sera necessario");
	Textdraw3rw = TextDrawCreate(105.000000,230.000000,"fazer os testes para dirigir veiculos terrestres, aereos e nauticos.");
	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(110.000000,174.000000,"A seguranca publica e feita pela L.S.P.D (Los Santos Police Department).");
	Textdraw1op = TextDrawCreate(110.000000,187.000000,"Qualquer atitude suspeita ou que seja caracterizada como crime, sera");
	Textdraw2op = TextDrawCreate(110.000000,200.000000,"punida com prisao e/ou multa.");
	Textdraw3op = TextDrawCreate(110.000000,230.000000,"Fique atento aos criminosos, pois Los Santos e dominada por diversas");
	Textdraw4op = TextDrawCreate(110.000000,243.000000,"gangues e organizacoes criminosas.");
	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(110.000000,161.000000,"Caso voce tenha alguma duvida de como jogar, existem alguns comandos");
	Textdraw1hy = TextDrawCreate(110.000000,174.000000,"que podem ajuda-lo:");
	Textdraw2hy = TextDrawCreate(110.000000,200.000000,"Aperte T no seu teclado para abrir o console, se voce digitar e");
	Textdraw3hy = TextDrawCreate(110.000000,213.000000,"apertar ENTER, voce estara falando com as pessoas proximas a vocк.");
	Textdraw4hy = TextDrawCreate(110.000000,230.000000,"Use /ajuda para ver uma lista de comandos que podem ser usados no jogo.");
	Textdraw5hy = TextDrawCreate(110.000000,248.000000,"Use /relato para enviar uma mensagem aos administradores.");
	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,179.000000,"Brasil Phonix Roleplay - Grand Thef Auto San Andreas: Multiplayer - Role-Play.");
	Textdraw1dw = TextDrawCreate(137.000000,220.000000,"Seja tambem um VIP por apenas R$5,00.");
	Textdraw2dw = TextDrawCreate(137.000000,260.000000,"Tenha um bom jogo e ajude nosso server a crescer.");
	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(134.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(134.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(134.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(134.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(134.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);
}
Reply
#6

pronto ta ai... eu acho...
Reply
#7

nгo da double post.


nгo й isso ai.

tem que ser a parte que manda mostrar os textdraw ele deve ter um timer que vai mudando
Reply
#8

pawn Код:
#define MAX_TEXT 24


if(strcmp(cmdtext,"/pl", true) == 0)
{
       if(Tutorial[playerid] == 0) return SendClientMessage(playerid,COLOR_RED,"Vocк nгo estб em um tutorial!");
       else
       if(Tutorial[playerid] == 1)
          {
               Tutorial[playerid] = 0;// seta para 0
               OnPlayerSpawn(playerid);
               for(new i = 0 ; i < MAX_TEXT ; i++)
                  {
                          TextDrawDestroy(i);
                  }
          }
       return 1;
}
Reply
#9

garfield sabe me dizer aonde q posso por o cmd?
tipo embaixo de algum public?
Reply
#10

Quote:
Originally Posted by Serial_Killer
Посмотреть сообщение
garfield sabe me dizer aonde q posso por o cmd?
tipo embaixo de algum public?
dentro da public OnPlayerCommandText(playerid, cmdtext[])
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)