Problems with Tutorial
#8

Quote:
Originally Posted by GoldenLion
Посмотреть сообщение
You could show us the "Tuto" function.
There are all my tuto functions:
Код:
public Tuto(playerid)
{
   	for(new i = 0; i < 100; i++) { SendClientMessage(playerid, 0x00000000," "); }
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
	}
	SetSpawnInfo(playerid, 0, 0, 2.8513, 25.8969, 1200.0781, 0, 0, 0, 0, 0, 0, 0);
	StopAudioStreamForPlayer(playerid);
    SetPlayerPos(playerid, 2.8513, 25.8969, 1200.0781);
	SetPlayerVirtualWorld(playerid, 1);
	SetPlayerFacingAngle(playerid, 0);
	SetPlayerInterior(playerid, 1);
	SetCameraBehindPlayer(playerid);
 	SendClientMessage(playerid, COLOR_PURPLE, "{DF9E4D}[Info] {EEDDAA}Vous commencez le tutoriel! Laissez-vous guider йtape par йtape IC.");
 	SendClientMessage(playerid, COLOR_PURPLE, "{DF9E4D}[Info] {EEDDAA}Le tutoriel ne dыre pas longtemps, vous aurez vite l'occasion d'RP !");
	TimerTuto2[playerid] = SetTimerEx("Tuto2", 10000, 0, "d", playerid);
	TogglePlayerControllable(playerid, 0);
	return 1;
}
public Tuto2(playerid)
{
	PlayAudioStreamForPlayer(playerid, "https://www.englishclub.com/audio/english-for-work/airline-final-boarding.mp3");
   	for(new i = 0; i < 100; i++) { SendClientMessage(playerid, 0x00000000," "); }
 	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Nous arrivons au niveau de la ville de San Fierro, l'avion va commencer а");
 	SendClientMessage(playerid, COLOR_WHITE, "baisser en altitude. Vous кtes priйs d'attacher vos ceintures, nous allons bientфt attйrrir...");
	TimerTuto3[playerid] = SetTimerEx("Tuto3", 16500, 0, "d", playerid);
	return 1;
}

public Tuto3(playerid)
{
   	for(new i = 0; i < 100; i++) { SendClientMessage(playerid, 0x00000000," "); }
 	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Si vous avez la tкte qui tourne, la nausйe ou une faible densitй de respiration,");
 	SendClientMessage(playerid, COLOR_WHITE, "les masques а oxygиnes sont disponibles juste au-dessus de vous.. Vous pouvez en placer un sur votre visage.");
    SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Nous allons attйrrir d'ici 10 minutes. L'attйrrissage dыre en gйnйral quelques secondes.");
    SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Une fois attйrri, vous serez dirigй vers la sortie de la piste en toute sйcuritй.");
	TimerTuto4[playerid] = SetTimerEx("Tuto4", 20000, 0, "d", playerid);
	return 1;
}

public Tuto4(playerid)
{
   	for(new i = 0; i < 100; i++) { SendClientMessage(playerid, 0x00000000," "); }
 	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Nous commenзons а descendre de plus en plus, admirez la vue !");
 	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Nous entrons dans la ville de San Fierro dans pas moins de 2 minutes.");
    SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: J'espиre que le voyage vous aura plus et que vous aurez apprйciй nos services !");
	TimerTuto5[playerid] = SetTimerEx("Tuto5", 17000, 0, "d", playerid);
	return 1;
}

public Tuto5(playerid)
{
   	for(new i = 0; i < 100; i++) { SendClientMessage(playerid, 0x00000000," "); }
 	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Nous voilа а San Fierro, nous allons attйrrir. Prйparez-vous !");
	TimerTuto6[playerid] = SetTimerEx("Tuto6", 10000, 0, "d", playerid);
	return 1;
}

public Tuto6(playerid)
{
   	for(new i = 0; i < 100; i++) { SendClientMessage(playerid, 0x00000000," "); }
 	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: (Bruits rйacteurs) Nous nous dirigeons vers la piste de l'aйroport de San Fierro, c'est partit");
 	SendClientMessage(playerid, COLOR_WHITE, "pour l'attйrrissage. Attachez vos ceintures, expirez, inspirez lentement, tout vas bien se passer.");
	SendClientMessage(playerid, COLOR_PURPLE, "* L'avion dйploie ses roues avant de se diriger plus bas en direction de la piste...");
	TimerTuto7[playerid] = SetTimerEx("Tuto7", 17000, 0, "d", playerid);
	return 1;
}

public Tuto7(playerid)
{
   	for(new i = 0; i < 100; i++) { SendClientMessage(playerid, 0x00000000," "); }
 	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: (Bruits de pneus) Ehhh .. Hop! Atterrissage rйussis. Bravo а toute l'йquipe de");
 	SendClientMessage(playerid, COLOR_WHITE, "San Andreas Airline. Nous nous dirigeons vers l'extraction des passagers, vous serez bientфt sur le sol.");
    SendClientMessage(playerid, COLOR_PURPLE, "* Votre ceinture se dйcroche. Les portes d'ouvertures de l'avion s'entre-ouvre а leurs tour.");
	SendClientMessage(playerid, COLOR_WHITE, "(IC) Co-Pilote dit: Nous voilа arrivй! Merci d'avoir choisis notre compagnie. Veuillez rйcuperer");
	SendClientMessage(playerid, COLOR_WHITE, "vos bagages et veillez а ne rien oublier. ");
	TogglePlayerControllable(playerid, 1);
	StopAudioStreamForPlayer(playerid);
	SetPlayerInterior(playerid, 1);
	SetPlayerVirtualWorld(playerid, 0);
	SendClientMessage(playerid, -1, " ");
	SendClientMessage(playerid, -1, "{EEDDAA}* Dirigez vous vers la porte de l'avion qui se trouve devant vous afin de sortir.");
	return 1;
}
Reply


Messages In This Thread
Problems with Tutorial - by ErwinK - 11.05.2017, 16:07
Re: Problems with Tutorial - by kloning1 - 11.05.2017, 16:14
Re: Problems with Tutorial - by elhanan - 11.05.2017, 16:17
Re: Problems with Tutorial - by ErwinK - 11.05.2017, 16:37
Re: Problems with Tutorial - by GoldenLion - 11.05.2017, 17:31
Re: Problems with Tutorial - by ErwinK - 11.05.2017, 18:03
Re: Problems with Tutorial - by GoldenLion - 11.05.2017, 18:06
Re: Problems with Tutorial - by ErwinK - 11.05.2017, 19:26
Re: Problems with Tutorial - by kloning1 - 11.05.2017, 23:52
Re: Problems with Tutorial - by ErwinK - 20.05.2017, 23:51

Forum Jump:


Users browsing this thread: 4 Guest(s)