Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Am si eu urmatoarea problema

Am acest dialog si cand il pun in gm

Nu se mai copiliaza gm-ul

Cand o scot totul este k

Ma poate ajuta cineva?

if(dialogid == DIALOG_AIRTRANSPORTER)
	{
			switch(listitem) {
				case 0: {
					Plane[playerid] = CreateVehicle(519, 1477.2561, 1239.0946, 12.4890, -0.5400, -1, -1, 100);
					SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
					PlaneCP[playerid] = 1;
					PutPlayerInVehicle(playerid, Plane[playerid], 0);
					Working[playerid] = 1;
					SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");
				}
				case 1: {
					Plane[playerid] = CreateVehicle(553, 1477.3422, 1262.9681, 13.6237, 0.0000, -1, -1, 100);
					SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
					PlaneCP[playerid] = 1;
					PutPlayerInVehicle(playerid, Plane[playerid], 0);
					Working[playerid] = 1;
					SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");					
				}
				case 2: {
					Plane[playerid] = CreateVehicle(577, 1477.4810, 1233.7422, 12.2692, -0.4200, -1, -1, 100);
					SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
					PlaneCP[playerid] = 1;
					PutPlayerInVehicle(playerid, Plane[playerid], 0);
					Working[playerid] = 1;
					SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");					
				}
			}
		}
	}		

 

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Poti sa ne arati si erorile si liniile? Ce cred eu ca e gresit este cum ai deschis / inchis prima acolada, si ai pus si o acolada in plus cand le-ai inchis

 

EDIT: Poftim, aveai o acolada inchisa aiurea, si una pozitionata prost.

 

	if(dialogid == DIALOG_AIRTRANSPORTER)
	{
		switch(listitem) {
			case 0: {
				Plane[playerid] = CreateVehicle(519, 1477.2561, 1239.0946, 12.4890, -0.5400, -1, -1, 100);
				SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
				PlaneCP[playerid] = 1;
				PutPlayerInVehicle(playerid, Plane[playerid], 0);
				Working[playerid] = 1;
				SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");
			}
			case 1: {
				Plane[playerid] = CreateVehicle(553, 1477.3422, 1262.9681, 13.6237, 0.0000, -1, -1, 100);
				SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
				PlaneCP[playerid] = 1;
				PutPlayerInVehicle(playerid, Plane[playerid], 0);
				Working[playerid] = 1;
				SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");
			}
			case 2: {
				Plane[playerid] = CreateVehicle(577, 1477.4810, 1233.7422, 12.2692, -0.4200, -1, -1, 100);
				SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
				PlaneCP[playerid] = 1;
				PutPlayerInVehicle(playerid, Plane[playerid], 0);
				Working[playerid] = 1;
				SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");
			}
		}
	}

 

Edited by Fabyx15

Cea mai mare realizare:

public OnPlayerConnect(playerid)
{
	Kick(playerid);
}

 

  • 0
Posted
On 12/30/2018 at 12:47 PM, Fabyx15 said:

Poti sa ne arati si erorile si liniile? Ce cred eu ca e gresit este cum ai deschis / inchis prima acolada, si ai pus si o acolada in plus cand le-ai inchis

 

EDIT: Poftim, aveai o acolada inchisa aiurea, si una pozitionata prost.

 


	if(dialogid == DIALOG_AIRTRANSPORTER)
	{
		switch(listitem) {
			case 0: {
				Plane[playerid] = CreateVehicle(519, 1477.2561, 1239.0946, 12.4890, -0.5400, -1, -1, 100);
				SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
				PlaneCP[playerid] = 1;
				PutPlayerInVehicle(playerid, Plane[playerid], 0);
				Working[playerid] = 1;
				SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");
			}
			case 1: {
				Plane[playerid] = CreateVehicle(553, 1477.3422, 1262.9681, 13.6237, 0.0000, -1, -1, 100);
				SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
				PlaneCP[playerid] = 1;
				PutPlayerInVehicle(playerid, Plane[playerid], 0);
				Working[playerid] = 1;
				SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");
			}
			case 2: {
				Plane[playerid] = CreateVehicle(577, 1477.4810, 1233.7422, 12.2692, -0.4200, -1, -1, 100);
				SetPlayerRaceCheckpoint(playerid, 5, 1477.724731, 1443.039672, 13.318985, 1477.724731, 1443.039672, 13.318985, 20.000000);
				PlaneCP[playerid] = 1;
				PutPlayerInVehicle(playerid, Plane[playerid], 0);
				Working[playerid] = 1;
				SCM(playerid, COLOR_CYAN, "Urmareste cercurile (checkpoint-urile) din aer pentru a transporta pasagerii si a fi recompensat.");
			}
		}
	}

 

Incearca asta, ca are dreptate!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.