Jump to content
  • 0

Probleme GPS System


HaZZe.

Question

Problema intalnita (descriere): Am inceput sa fac un GPS simplu. Cand dau /gps > Locatii Importante, nu se intampla nimic.. si nu stiu din ce cauza..
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):

//Comanda
if(strcmp(cmd, "/gps", true) == 0)
{
ShowPlayerDialog(playerid, 6967, DIALOG_STYLE_LIST, "{F6F6F6}GPS", "{DC0C0C}1. {F6F6F6}Locatii Importante\n{DC0C0C}2. {F6F6F6}HQ Factiuni\n{DC0C0C}3. {F6F6F6}Joburi\n", "Alege", "Iesi");
}
//Dialoguri
if(dialogid==6967)
	{
		if(response)
		{
			if(listitem == 0)
			{
				ShowPlayerDialog(playerid,DIALOG_LOCATII1,DIALOG_STYLE_LIST,"{DC0C0C}Locatii Important","{ffffff}Spawn Civil\nDMV\nBanca\nDealership\nPaintBall\nPrimaria\n","Ok","Close");
			}
			/*if(listitem == 1)
			{
				ShowPlayerDialog(playerid,DIALOG_LOCATII2,DIALOG_STYLE_LIST,"{DC0C0C}HQ Factiuni","{ffffff}Mayor\nTriads\nTaxi\nMedics\nPolice Departament\nNational Guard\nFBI\nTCC\nNFS Club\nNRG Club\nBikers Club\n","Ok","Close");
			}
			if(listitem == 2)
			{
				ShowPlayerDialog(playerid,DIALOG_LOCATII3,DIALOG_STYLE_LIST,"{DC0C0C}Joburi","{ffffff}Detectiv\nAvocat\nProstitiuata\nDealer Droguri\nSpargator Masini\nMacanic\nBodyGuard\nDealer Arme\nDealer Masini\nCurier\nFermier\nSofer Autobuz\nAici\nAici\nZiarist\nCamionagiu\n","Ok","Close");
			}*/
			
		}
		
	}
	
	if(dialogid==DIALOG_LOCATII1)
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerCheckpoint(playerid,1730.8403,-1911.5164,13.5627,5);
				SendClientMessage( playerid, COLOR_GREEN, "{F00505}(GPS) {0489A6}Ai pornit GPS-ul, destinatie: Spawn Civil." );
			}
			if(listitem == 1)
			{
				SetPlayerCheckpoint(playerid,1018.2375,-1558.3032,14.8657,5);
				SendClientMessage( playerid, COLOR_GREEN, "{F00505}(GPS) {0489A6}Ai pornit GPS-ul, destinatie: DMV." );
			}
			if(listitem == 2)
			{
				SetPlayerCheckpoint(playerid,1423.5321,-1678.7433,13.5469,5);
				SendClientMessage( playerid, COLOR_GREEN, "{F00505}(GPS) {0489A6}Ai pornit GPS-ul, destinatie: Banca." );
			}
			if(listitem == 3)
			{
				SetPlayerCheckpoint(playerid,1327.2794,-1558.8827,13.5397,5);
				SendClientMessage( playerid, COLOR_GREEN, "{F00505}(GPS) {0489A6}Ai pornit GPS-ul, destinatie: Dealership." );
			}
			if(listitem == 4)
			{
				SetPlayerCheckpoint(playerid,1310.126586,-1367.812255,13.540800,5);
				SendClientMessage( playerid, COLOR_GREEN, "{F00505}(GPS) {0489A6}Ai pornit GPS-ul, destinatie: PaintBall." );
			}
			if(listitem == 5)
			{
				SetPlayerCheckpoint(playerid,1529.6,-1691.2,13.3,5);
				SendClientMessage( playerid, COLOR_GREEN, "{F00505}(GPS) {0489A6}Ai pornit GPS-ul, destinatie: Primarie." );
			}

		}
		
	}


Imagini / Video (optional): Nu este necesar
Ati incercat sa rezolvati singur?: Nu stiu sa rezolv..

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.