Ejemplo n.º 1
0
void main(void)
{
	PRINT_STRING_WITH_LITERAL_STRING_NOW("string", "DUMMY PUZZLE SCRIPT", 5000, 1);
	TERMINATE_THIS_SCRIPT();
	return;
}
Ejemplo n.º 2
0
void SetupPage(void)
{
	num_items = 0;
	page_check = page;
	selection = selection_mem[page];

	// Check Main Menu below for examples of inserting items.
	// These two lines underneath give more help on the values required.

	// CreatePage( "Page description", <MENU enum> );
	// CreateItem( "Script description", "script filename" );

	if ( page == MENU_MAIN )
	{
		CreatePage( "GTA V Online Missions", MENU_GTAO );
		CreatePage( "Custom Missions", MENU_CUSTOM );
		CreatePage( "Exit menu", MENU_QUIT );
	
		prev_page = MENU_MAIN; // previous page for when going back
		page_title = "GTA IV Mission Mod Pack"; // Title header for this page
	}


	else if ( page == MENU_GTAO )
	{
		CreateItem("A boat in the bay (Trevor)", "abitb");
		CreateItem("All in the Game (Simeon)","aitg");
		CreateItem("Blow Up (Simeon)","blowup");
		CreateItem("Blow Up II (Simeon)", "blowup2");
		CreateItem("Blow Up III (Simeon)", "blowup3");
		CreateItem("Crystal Clear Out 2 (Trevor)","ccout2");
		CreateItem("El Burro Heists (Simeon)","elbheist");
		CreateItem("Gentry Does It (Simeon)","gentrydi");
		CreateItem("Lost MC Rip (Lamar)", "lstmcrip");
		CreateItem("It Takes A Thief (Simeon)", "itat");
		CreateItem("Out of Court Settlement (Martin)", "oocs");
		CreateItem("Potshot (Trevor)", "potshot");
		CreateItem("Rockford Roll (Simeon)", "rockroll");
		CreateItem("Rooftop Rumble (Martin)", "rooftop");
		CreateItem("Show me the Monet (Martin)", "smtmonet");
		CreateItem("The Parking Garage (Lester)", "prkgarag");
		
		prev_page = MENU_MAIN;
		page_title = "GTA V Online Missions";
	}


	else if ( page == MENU_CUSTOM )
	{
		CreateItem("Saints and Devils","sntsdvls");
		CreateItem("Death Penalty","dethpnty");
		CreateItem("Gruppe Sechs Heists","gsheist");
		CreateItem("Deal Breaker 2","dealbrk2");

		prev_page = MENU_MAIN;
		page_title = "Custom Missions";
	}
	
	else if ( page == MENU_QUIT )
	{
		UNPAUSE_GAME();
		DISPLAY_AREA_NAME(TRUE);
		DISPLAY_CASH(TRUE);
		DISPLAY_FRONTEND_MAP_BLIPS(TRUE);
		DISPLAY_HUD(TRUE);
		DISPLAY_RADAR(TRUE);
		TERMINATE_THIS_SCRIPT();
	}
	
	window_height = ( ( num_items + 1 ) * TEXT_LINE_SPACING ) + ( WINDOW_HEIGHT_CUT + ( TEXT_LINE_SPACING / 4 ) );
	window_height_centre = ( TEXT_TOP - TEXT_INDENT ) + window_height / 2;
}