[AJUDA] GPS
#1

Galera Gostaria De Uma Ajuda em Meu GPS Eu Criei Mas Eu Queria Saber Como Adicionar Mais um GPS Dentro Dele Que Sгo 2 Cidades Los Santos e Las Venturas Mas Eu Nao Consigo Add Os Bangs no GPS De Ls Vocкs Poderiam Me Ajudar

pawn Код:
if(strcmp("/gps", cmdtext, true, 10) == 0)
{
new listitems[] = "Las Venturas\nLos Santos\n\n";
ShowPlayerDialog(playerid,617,DIALOG_STYLE_LIST,"GPS:",listitems,"Local","Sair");
return 1;
}

pawn Код:
if(response == 1)
{
switch(dialogid)
{
case 617:
{
switch(listitem)
{
case 0: ShowPlayerDialog(playerid, 8778, 2,  "GPS", "Loja de Tuning\nDepartamento de Policia\nPrefeitura\nLoja de roupas\nBanco\nFavela\nBoca de fumo\nArea de carga\nArea de descarga\nBoate\nPosto de Gasolina\nLava-jato\nHospital\nAmmunation\nPonto de Pesca\nVenda de Pesca\nArea de stunts\nBarzinho", "Selecionar", "Sair");
}
}

case 8778:
{
if(listitem == 0)
{
SetPlayerCheckpoint(playerid,1374.6579,-1649.5585,13.3828,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Prefeitura De Las Venture.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 1)
{
SetPlayerCheckpoint(playerid,1552.5363,-1675.8291,16.1953,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Delegacia (DP) de Las Venture.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 2)
{
SetPlayerCheckpoint(playerid,1481.4605,-1768.7117,18.7957,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Prefeitura");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 3)
{
SetPlayerCheckpoint(playerid,1159.2301,-1694.0264,13.9531,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Loja de roupas.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 4)
{
SetPlayerCheckpoint(playerid,1140.2137,-1757.8071,13.5845,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Banco.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 5)
{
SetPlayerCheckpoint(playerid,2177.8029,-1054.8934,53.2892,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Favela.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 6)
{
SetPlayerCheckpoint(playerid, 2358.6071,-656.8526,128.2067,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Boca de fumo.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 7)
{
SetPlayerCheckpoint(playerid,2763.2651,    -2455.1262,    13.5296,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de carga.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 8)
{
SetPlayerCheckpoint(playerid,856.8088,    -592.7067,    17.9415,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de descarga.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 9)
{
SetPlayerCheckpoint(playerid,1832.6485,    -1682.7600,    13.5063,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Boate.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 10)
{
SetPlayerCheckpoint(playerid,1944.0904,    -1773.0372,    13.3905,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Posto.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 11)
{
SetPlayerCheckpoint(playerid,1911.0927,    -1768.1420,    13.3828,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Lava - Jato.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 12)
{
SetPlayerCheckpoint(playerid,1189.0695,    -1324.7470,    13.5670,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Hospital.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 13)
{
SetPlayerCheckpoint(playerid,1365.1682,    -1279.7357,    13.5468,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Ammunation.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 14)
{
SetPlayerCheckpoint(playerid,724.7313,    -1857.3493,    11.4685,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Ponto de pesca.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 15)
{
SetPlayerCheckpoint(playerid,536.6308,    -1765.9327,    14.3132,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Venda de pesca.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 16)
{
SetPlayerCheckpoint(playerid,1858.3388,    -2444.1955,    13.5546,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de stunts.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 17)
{
SetPlayerCheckpoint(playerid,1513.0549,    -1654.0858,    13.5391,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de bebidas.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
}
}
}

if(response == 2) // Eu Tentei Isso Mas Nao Deu -.-
{
switch(dialogid)
{
case 617:
{
switch(listitem)
{
case 0: ShowPlayerDialog(playerid, 8778, 2,  "GPS", "Loja de Tuning\nDepartamento de Policia\nPrefeitura\nLoja de roupas\nBanco\nFavela\nBoca de fumo\nArea de carga\nArea de descarga\nBoate\nPosto de Gasolina\nLava-jato\nHospital\nAmmunation\nPonto de Pesca\nVenda de Pesca\nArea de stunts\nBarzinho", "Selecionar", "Sair");
}
}

case 8778:
{
if(listitem == 0)
{
SetPlayerCheckpoint(playerid,1374.6579,-1649.5585,13.3828,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Prefeitura De Las Venture.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 1)
{
SetPlayerCheckpoint(playerid,1552.5363,-1675.8291,16.1953,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Delegacia (DP) de Las Venture.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 2)
{
SetPlayerCheckpoint(playerid,1481.4605,-1768.7117,18.7957,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Prefeitura");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 3)
{
SetPlayerCheckpoint(playerid,1159.2301,-1694.0264,13.9531,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Loja de roupas.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 4)
{
SetPlayerCheckpoint(playerid,1140.2137,-1757.8071,13.5845,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Banco.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 5)
{
SetPlayerCheckpoint(playerid,2177.8029,-1054.8934,53.2892,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Favela.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
if(listitem == 6)
{
SetPlayerCheckpoint(playerid, 2358.6071,-656.8526,128.2067,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Boca de fumo.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 7)
{
SetPlayerCheckpoint(playerid,2763.2651,    -2455.1262,    13.5296,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de carga.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 8)
{
SetPlayerCheckpoint(playerid,856.8088,    -592.7067,    17.9415,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de descarga.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 9)
{
SetPlayerCheckpoint(playerid,1832.6485,    -1682.7600,    13.5063,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Boate.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 10)
{
SetPlayerCheckpoint(playerid,1944.0904,    -1773.0372,    13.3905,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Posto.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 11)
{
SetPlayerCheckpoint(playerid,1911.0927,    -1768.1420,    13.3828,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Lava - Jato.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 12)
{
SetPlayerCheckpoint(playerid,1189.0695,    -1324.7470,    13.5670,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Hospital.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 13)
{
SetPlayerCheckpoint(playerid,1365.1682,    -1279.7357,    13.5468,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Ammunation.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 14)
{
SetPlayerCheckpoint(playerid,724.7313,    -1857.3493,    11.4685,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Ponto de pesca.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 15)
{
SetPlayerCheckpoint(playerid,536.6308,    -1765.9327,    14.3132,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Venda de pesca.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 16)
{
SetPlayerCheckpoint(playerid,1858.3388,    -2444.1955,    13.5546,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de stunts.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
else if(listitem == 17)
{
SetPlayerCheckpoint(playerid,1513.0549,    -1654.0858,    13.5391,6.0);
SendClientMessage(playerid, COLOR_YELLOW, "* GPS Ligado! Localizaзгo : Area de bebidas.");
TogglePlayerControllable(playerid, 1);
GPSPos[playerid] = 1;
}
}
}
}
Reply


Messages In This Thread
[AJUDA] GPS - by Ryktardy - 21.01.2012, 01:00
Re: [AJUDA] GPS - by Victor Cesaroni - 21.01.2012, 01:09
Re: [AJUDA] GPS - by Ryktardy - 21.01.2012, 01:29
Re: [AJUDA] GPS - by RNT - 21.01.2012, 16:04
Re: [AJUDA] GPS - by Lord_Ching - 21.01.2012, 16:19
Re: [AJUDA] GPS - by Tiger_xD - 21.01.2012, 17:47

Forum Jump:


Users browsing this thread: 1 Guest(s)