13.12.2015, 21:17
Solucionado: (agora sim rsrs)
Copie e substitua o que tem no seu code
Substitua:
Por:
Substitua:
Por:
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;
}
Copie e substitua o que tem no seu code
Substitua:
Quote:
|
new PlayerText:Piloto[8][MAX_PLAYERS]; |
Quote:
|
new PlayerText:Piloto[8]; |
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); |
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); |
{
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;
}

