SA-MP Forums Archive
[Ajuda] Erro TextDraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erro TextDraw (/showthread.php?tid=596182)



Erro TextDraw - iWiNeR - 13.12.2015

Quando Vou colocar para mostrar a textdraw pro player da erro

PHP код:
new PlayerText:Piloto[8][MAX_PLAYERS];
CMD:rotas(playerid,params[])
{
    
TextDrawShowForPlayer(playeridPiloto[8]);
    return 
1;

Erro : error 032: array index out of bounds (variable "Piloto")


Re: Erro TextDraw - F1N4L - 13.12.2015

Nгo deve ser a variбvel correta, pois se fosse nгo daria este erro. Manda os codes onde se encontram "Piloto" para ver ao certo.
Mas tenta deixar sem o '[8]' (Piloto apenas) e tenta recompilar


Re: Erro TextDraw - iWiNeR - 13.12.2015

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
Nгo deve ser a variбvel correta, pois se fosse nгo daria este erro. Manda os codes onde se encontram "Piloto" para ver ao certo.
Mas tenta deixar sem o '[8]' (Piloto apenas) e tenta recompilar
deixando so o piloto da esse erro error 035: argument type mismatch (argument 2)

PHP код:
 Piloto[1][playerid] = CreatePlayerTextDraw(playerid230.400009132.906570"LD_SPAC:white");
PlayerTextDrawLetterSize(playeridPiloto[1][playerid], 0.0000000.000000);
PlayerTextDrawTextSize(playeridPiloto[1][playerid], 167.999984232.959991);
PlayerTextDrawAlignment(playeridPiloto[1][playerid], 1);
PlayerTextDrawColor(playeridPiloto[1][playerid], 255);
PlayerTextDrawSetShadow(playeridPiloto[1][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[1][playerid], 0);
PlayerTextDrawBackgroundColor(playeridPiloto[1][playerid], -16776961);
PlayerTextDrawFont(playeridPiloto[1][playerid], 4); 



Re: Erro TextDraw - F1N4L - 13.12.2015

Vocк mandou do Piloto[1], mesmo assim, quero ver TODAS!
Vocк definiu no topo: new Text:Piloto[8];

@edit
APARECE APENAS PARA PILOTO[8] ? APARECE PARA AS OUTRAS ?
Manda todos os codes contendo a textdraw Piloto[8]


Re: Erro TextDraw - iWiNeR - 13.12.2015

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
Vocк mandou do Piloto[1], mesmo assim, quero ver TODAS!
Vocк definiu no topo: new Text:Piloto[8];
Okay

PHP код:
Piloto[0][playerid] = CreatePlayerTextDraw(playerid410.000122124.699951"usebox");
PlayerTextDrawLetterSize(playeridPiloto[0][playerid], 0.00000027.635925);
PlayerTextDrawTextSize(playeridPiloto[0][playerid], 216.4000090.000000);
PlayerTextDrawAlignment(playeridPiloto[0][playerid], 1);
PlayerTextDrawColor(playeridPiloto[0][playerid], 0);
PlayerTextDrawUseBox(playeridPiloto[0][playerid], true);
PlayerTextDrawBoxColor(playeridPiloto[0][playerid], -1);
PlayerTextDrawSetShadow(playeridPiloto[0][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[0][playerid], 0);
PlayerTextDrawFont(playeridPiloto[0][playerid], 0);
Piloto[1][playerid] = CreatePlayerTextDraw(playerid230.400009132.906570"LD_SPAC:white");
PlayerTextDrawLetterSize(playeridPiloto[1][playerid], 0.0000000.000000);
PlayerTextDrawTextSize(playeridPiloto[1][playerid], 167.999984232.959991);
PlayerTextDrawAlignment(playeridPiloto[1][playerid], 1);
PlayerTextDrawColor(playeridPiloto[1][playerid], 255);
PlayerTextDrawSetShadow(playeridPiloto[1][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[1][playerid], 0);
PlayerTextDrawBackgroundColor(playeridPiloto[1][playerid], -16776961);
PlayerTextDrawFont(playeridPiloto[1][playerid], 4);
Piloto[2][playerid] = CreatePlayerTextDraw(playerid244.800079122.453262"Rotas Disponiveis");
PlayerTextDrawLetterSize(playeridPiloto[2][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridPiloto[2][playerid], 1);
PlayerTextDrawColor(playeridPiloto[2][playerid], -1);
PlayerTextDrawSetShadow(playeridPiloto[2][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[2][playerid], 1);
PlayerTextDrawBackgroundColor(playeridPiloto[2][playerid], 51);
PlayerTextDrawFont(playeridPiloto[2][playerid], 3);
PlayerTextDrawSetProportional(playeridPiloto[2][playerid], 1);
Piloto[3][playerid] = CreatePlayerTextDraw(playerid264.799774148.586654"LOS SANTOS");
PlayerTextDrawLetterSize(playeridPiloto[3][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridPiloto[3][playerid], 1);
PlayerTextDrawColor(playeridPiloto[3][playerid], -1);
PlayerTextDrawSetShadow(playeridPiloto[3][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[3][playerid], 0);
PlayerTextDrawBackgroundColor(playeridPiloto[3][playerid], 51);
PlayerTextDrawFont(playeridPiloto[3][playerid], 1);
PlayerTextDrawSetProportional(playeridPiloto[3][playerid], 1);
PlayerTextDrawSetSelectable(playeridPiloto[3][playerid], true);
Piloto[4][playerid] = CreatePlayerTextDraw(playerid264.799865190.399993"SAN FIERRO");
PlayerTextDrawLetterSize(playeridPiloto[4][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridPiloto[4][playerid], 1);
PlayerTextDrawColor(playeridPiloto[4][playerid], -1);
PlayerTextDrawSetShadow(playeridPiloto[4][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[4][playerid], 2);
PlayerTextDrawBackgroundColor(playeridPiloto[4][playerid], 51);
PlayerTextDrawFont(playeridPiloto[4][playerid], 1);
PlayerTextDrawSetProportional(playeridPiloto[4][playerid], 1);
PlayerTextDrawSetSelectable(playeridPiloto[4][playerid], true);
Piloto[5][playerid] = CreatePlayerTextDraw(playerid258.400146235.946578"LAS VENTURAS");
PlayerTextDrawLetterSize(playeridPiloto[5][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridPiloto[5][playerid], 1);
PlayerTextDrawColor(playeridPiloto[5][playerid], -1);
PlayerTextDrawSetShadow(playeridPiloto[5][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[5][playerid], 1);
PlayerTextDrawBackgroundColor(playeridPiloto[5][playerid], 51);
PlayerTextDrawFont(playeridPiloto[5][playerid], 1);
PlayerTextDrawSetProportional(playeridPiloto[5][playerid], 1);
PlayerTextDrawSetSelectable(playeridPiloto[5][playerid], true);
Piloto[6][playerid] = CreatePlayerTextDraw(playerid236.800125276.266632"AERO ABANDONADO");
PlayerTextDrawLetterSize(playeridPiloto[6][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridPiloto[6][playerid], 1);
PlayerTextDrawColor(playeridPiloto[6][playerid], -1);
PlayerTextDrawSetShadow(playeridPiloto[6][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[6][playerid], 1);
PlayerTextDrawBackgroundColor(playeridPiloto[6][playerid], 51);
PlayerTextDrawFont(playeridPiloto[6][playerid], 1);
PlayerTextDrawSetProportional(playeridPiloto[6][playerid], 1);
PlayerTextDrawSetSelectable(playeridPiloto[6][playerid], true);
Piloto[7][playerid] = CreatePlayerTextDraw(playerid294.400054336.746704"SAIR");
PlayerTextDrawLetterSize(playeridPiloto[7][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridPiloto[7][playerid], 1);
PlayerTextDrawColor(playeridPiloto[7][playerid], -1);
PlayerTextDrawSetShadow(playeridPiloto[7][playerid], 0);
PlayerTextDrawSetOutline(playeridPiloto[7][playerid], 1);
PlayerTextDrawBackgroundColor(playeridPiloto[7][playerid], 51);
PlayerTextDrawFont(playeridPiloto[7][playerid], 1);
PlayerTextDrawSetProportional(playeridPiloto[7][playerid], 1);
PlayerTextDrawSetSelectable(playeridPiloto[7][playerid], true); 



Re: Erro TextDraw - F1N4L - 13.12.2015

Descobri, vc definiu o Piloto[8] na sua variavel... NГO EXISTE! existe apenas atй o 7.
Explicaзгo: pela sua lуgica, vc quer mostrar (show) TODAS de uma vez, mas nгo й o correto, vc deve:

Quote:

TextDrawShowForPlayer(playerid, Piloto[0]);
TextDrawShowForPlayer(playerid, Piloto[1]);
TextDrawShowForPlayer(playerid, Piloto[2]);
TextDrawShowForPlayer(playerid, Piloto[3]);
TextDrawShowForPlayer(playerid, Piloto[4]);
TextDrawShowForPlayer(playerid, Piloto[5]);
TextDrawShowForPlayer(playerid, Piloto[6]);
TextDrawShowForPlayer(playerid, Piloto[7]);

remova akela linha Piloto[8] e coloque essas no lugar! ENJOY XD

@EDIT

Dica:
Use o ****** tradutor para saber uma base do erro, neste caso:

error 032: array index out of bounds (variable "Piloto")
Erro 032 : Нndice de matriz fora dos limites (variбvel "Piloto")

Ou seja, vc excedeu o limite que й 7 e nгo 8.


Re: Erro TextDraw - iWiNeR - 13.12.2015

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
Descobri, vc definiu o Piloto[8] na sua variavel... NГO EXISTE! existe apenas atй o 7.
Explicaзгo: pela sua lуgica, vc quer mostrar (show) TODAS de uma vez, mas nгo й o correto, vc deve:



remova akela linha Piloto[8] e coloque essas no lugar! ENJOY XD
continua dando erro

error 035: argument type mismatch (argument 2)


Re: Erro TextDraw - F1N4L - 13.12.2015

Vc removeu a linha Piloto[8] e colocou essas no lugar?
Coloque aki o code de como vc adicionou e onde adicionou...

@Edit

Desatenзгo minha e descuido seu: Remova [MAX_PLAYERS] da variavel new Text:Piloto[8];
Nгo lembro ao certo como funciona TextDraw para um player especнfico!


Re: Erro TextDraw - iWiNeR - 13.12.2015

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
Vc removeu a linha Piloto[8] e colocou essas no lugar?
Coloque aki o code de como vc adicionou e onde adicionou...
Sim,

PHP код:
 CMD:rotas(playerid,params[])
{
    
TextDrawShowForPlayer(playeridPiloto[0]);
    
TextDrawShowForPlayer(playeridPiloto[1]);
    
TextDrawShowForPlayer(playeridPiloto[2]);
    
TextDrawShowForPlayer(playeridPiloto[3]);
    
TextDrawShowForPlayer(playeridPiloto[4]);
    
TextDrawShowForPlayer(playeridPiloto[5]);
    
TextDrawShowForPlayer(playeridPiloto[6]);
    
TextDrawShowForPlayer(playeridPiloto[7]);
    return 
1;




Re: Erro TextDraw - F1N4L - 13.12.2015

Solucionado: (agora sim rsrs)
Copie e substitua o que tem no seu code

Substitua:
Quote:

new PlayerText:Piloto[8][MAX_PLAYERS];

Por:
Quote:

new PlayerText:Piloto[8];

Substitua:
Quote:

Piloto[0][playerid] = CreatePlayerTextDraw(playerid, 410.000122, 124.699951, "usebox");
PlayerTextDrawLetterSize(playerid, Piloto[0][playerid], 0.000000, 27.635925);
PlayerTextDrawTextSize(playerid, Piloto[0][playerid], 216.400009, 0.000000);
PlayerTextDrawAlignment(playerid, Piloto[0][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[0][playerid], 0);
PlayerTextDrawUseBox(playerid, Piloto[0][playerid], true);
PlayerTextDrawBoxColor(playerid, Piloto[0][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[0][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[0][playerid], 0);
PlayerTextDrawFont(playerid, Piloto[0][playerid], 0);

Piloto[1][playerid] = CreatePlayerTextDraw(playerid, 230.400009, 132.906570, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Piloto[1][playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Piloto[1][playerid], 167.999984, 232.959991);
PlayerTextDrawAlignment(playerid, Piloto[1][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[1][playerid], 255);
PlayerTextDrawSetShadow(playerid, Piloto[1][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[1][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Piloto[1][playerid], -16776961);
PlayerTextDrawFont(playerid, Piloto[1][playerid], 4);

Piloto[2][playerid] = CreatePlayerTextDraw(playerid, 244.800079, 122.453262, "Rotas Disponiveis");
PlayerTextDrawLetterSize(playerid, Piloto[2][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[2][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[2][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[2][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[2][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[2][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[2][playerid], 3);
PlayerTextDrawSetProportional(playerid, Piloto[2][playerid], 1);

Piloto[3][playerid] = CreatePlayerTextDraw(playerid, 264.799774, 148.586654, "LOS SANTOS");
PlayerTextDrawLetterSize(playerid, Piloto[3][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[3][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[3][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[3][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[3][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Piloto[3][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[3][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[3][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[3][playerid], true);

Piloto[4][playerid] = CreatePlayerTextDraw(playerid, 264.799865, 190.399993, "SAN FIERRO");
PlayerTextDrawLetterSize(playerid, Piloto[4][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[4][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[4][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[4][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[4][playerid], 2);
PlayerTextDrawBackgroundColor(playerid, Piloto[4][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[4][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[4][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[4][playerid], true);

Piloto[5][playerid] = CreatePlayerTextDraw(playerid, 258.400146, 235.946578, "LAS VENTURAS");
PlayerTextDrawLetterSize(playerid, Piloto[5][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[5][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[5][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[5][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[5][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[5][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[5][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[5][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[5][playerid], true);

Piloto[6][playerid] = CreatePlayerTextDraw(playerid, 236.800125, 276.266632, "AERO ABANDONADO");
PlayerTextDrawLetterSize(playerid, Piloto[6][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[6][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[6][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[6][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[6][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[6][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[6][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[6][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[6][playerid], true);

Piloto[7][playerid] = CreatePlayerTextDraw(playerid, 294.400054, 336.746704, "SAIR");
PlayerTextDrawLetterSize(playerid, Piloto[7][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[7][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[7][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[7][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[7][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[7][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[7][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[7][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[7][playerid], true);

Por:
Quote:

Piloto[0] = CreatePlayerTextDraw(playerid, 410.000122, 124.699951, "usebox");
PlayerTextDrawLetterSize(playerid, Piloto[0], 0.000000, 27.635925);
PlayerTextDrawTextSize(playerid, Piloto[0], 216.400009, 0.000000);
PlayerTextDrawAlignment(playerid, Piloto[0], 1);
PlayerTextDrawColor(playerid, Piloto[0], 0);
PlayerTextDrawUseBox(playerid, Piloto[0], true);
PlayerTextDrawBoxColor(playerid, Piloto[0], -1);
PlayerTextDrawSetShadow(playerid, Piloto[0], 0);
PlayerTextDrawSetOutline(playerid, Piloto[0], 0);
PlayerTextDrawFont(playerid, Piloto[0], 0);

Piloto[1] = CreatePlayerTextDraw(playerid, 230.400009, 132.906570, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Piloto[1][playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Piloto[1][playerid], 167.999984, 232.959991);
PlayerTextDrawAlignment(playerid, Piloto[1][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[1][playerid], 255);
PlayerTextDrawSetShadow(playerid, Piloto[1][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[1][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Piloto[1][playerid], -16776961);
PlayerTextDrawFont(playerid, Piloto[1][playerid], 4);

Piloto[2] = CreatePlayerTextDraw(playerid, 244.800079, 122.453262, "Rotas Disponiveis");
PlayerTextDrawLetterSize(playerid, Piloto[2][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[2][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[2][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[2][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[2][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[2][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[2][playerid], 3);
PlayerTextDrawSetProportional(playerid, Piloto[2][playerid], 1);

Piloto[3] = CreatePlayerTextDraw(playerid, 264.799774, 148.586654, "LOS SANTOS");
PlayerTextDrawLetterSize(playerid, Piloto[3][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[3][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[3][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[3][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[3][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Piloto[3][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[3][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[3][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[3][playerid], true);

Piloto[4] = CreatePlayerTextDraw(playerid, 264.799865, 190.399993, "SAN FIERRO");
PlayerTextDrawLetterSize(playerid, Piloto[4][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[4][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[4][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[4][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[4][playerid], 2);
PlayerTextDrawBackgroundColor(playerid, Piloto[4][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[4][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[4][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[4][playerid], true);

Piloto[5] = CreatePlayerTextDraw(playerid, 258.400146, 235.946578, "LAS VENTURAS");
PlayerTextDrawLetterSize(playerid, Piloto[5][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[5][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[5][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[5][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[5][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[5][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[5][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[5][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[5][playerid], true);

Piloto[6] = CreatePlayerTextDraw(playerid, 236.800125, 276.266632, "AERO ABANDONADO");
PlayerTextDrawLetterSize(playerid, Piloto[6][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[6][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[6][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[6][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[6][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[6][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[6][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[6][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[6][playerid], true);

Piloto[7] = CreatePlayerTextDraw(playerid, 294.400054, 336.746704, "SAIR");
PlayerTextDrawLetterSize(playerid, Piloto[7][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Piloto[7][playerid], 1);
PlayerTextDrawColor(playerid, Piloto[7][playerid], -1);
PlayerTextDrawSetShadow(playerid, Piloto[7][playerid], 0);
PlayerTextDrawSetOutline(playerid, Piloto[7][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Piloto[7][playerid], 51);
PlayerTextDrawFont(playerid, Piloto[7][playerid], 1);
PlayerTextDrawSetProportional(playerid, Piloto[7][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Piloto[7][playerid], true);

CMD:rotas(playerid,params[])
{
PlayerTextDrawShow(playerid, Piloto[0]);
PlayerTextDrawShow(playerid, Piloto[1]);
PlayerTextDrawShow(playerid, Piloto[2]);
PlayerTextDrawShow(playerid, Piloto[3]);
PlayerTextDrawShow(playerid, Piloto[4]);
PlayerTextDrawShow(playerid, Piloto[5]);
PlayerTextDrawShow(playerid, Piloto[6]);
PlayerTextDrawShow(playerid, Piloto[7]);
return 1;
}