Loose inte
#1

What is problem how fix ?

(11 : warning 217: loose indentation
(120) : warning 217: loose indentation
Код:
GameModeInit_VehiclesPickups()
{
	// Setup local variables
	new LastVehicleMsg[100], LastObjectMsg[100], LastHouseMsg[100], LastBusinessMsg[100], LastCameraMsg[100];
	// Add some trucks to all trucking depots
	GameModeInit_TruckDepots();
	// Add busses to all bus-depots
	GameModeInit_Busses();
	// Add busstops to the map
	GameModeInit_Busstops();
	// Add police vehicles to the Police Impounds
	GameModeInit_Police();
	// Add mafia vehicles to the mafia hideoue
	GameModeInit_Mafia();
	// Add planes and helicopters to the airports
	GameModeInit_Airports();
	// Add towtrucks for assistance class
	GameModeInit_Assistance();
	// Add burrito's and Faggio's for courier class
	GameModeInit_Courier();
	// Add dozers for roadworker class
	GameModeInit_RoadWorker();
	//
	GameModeInit_TashMaster();
	GameModeInit_Taxi();
	GameModeInit_Medic();
	GameModeInit_Military();
	// Add some special pickups
	GameModeInit_PickupsIcons();
	// Add all objects required for toll-gates
	GameModeInit_Toll();

	// Load all houses and create pickups and 3dTexts for them
	Housing_LoadAll();
	Tvrtka_LoadAll();
	// Load all speedcameras
	Camera_LoadAll();
	// Load all businesses and start the business timer (runs every hour)
        Business_LoadAll(); -118
        //
	SetTimer("Business_TransactionTimer", 1000 * 60 * 60, true); -120
                //
	// Load the current intrest time and start the intrest timer (runs every hour)
	IntrestTime_Load();
	SetTimer("Bank_IntrestTimer", 1000 * 60 * 60, true);
	// Print the LastVehicleID to the server's console
	format(LastVehicleMsg, 100, TXT_LastVehicleID, LastVehicleID);
	format(LastObjectMsg, 100, TXT_LastObjectID, LastObjectID);
	format(LastHouseMsg, 100, TXT_TotalHouses, TotalHouses);
	format(LastBusinessMsg, 100, TXT_TotalBusiness, TotalBusiness);
	format(LastCameraMsg, 100, TXT_TotalSpeedCameras, TotalCameras);
	print(TXT_DebugInfo);
	print("-------------------------------------");
	print(LastVehicleMsg);
	print(LastObjectMsg);
	print(LastHouseMsg);
	print(LastBusinessMsg);
	print(LastCameraMsg);
	print("-------------------------------------");
}
Reply
#2

on top of your script add #pragma tabsize 0
Reply
#3

Quote:
Originally Posted by Dejan12345
Посмотреть сообщение
on top of your script add #pragma tabsize 0
Its not a good way i wont add that... Anyone else ?
Reply
#4

https://sampwiki.blast.hk/wiki/Errors_Li...se_indentation
Reply
#5

Thank but i got this now

error 010: invalid function or declaration
Reply
#6

Post the code from the line that gives that error and at least 1 line before and after.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)