Loose inte - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Loose inte (
/showthread.php?tid=615952)
Loose inte -
Hunud - 29.08.2016
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("-------------------------------------");
}
Re: Loose inte -
Dejan12345 - 29.08.2016
on top of your script add #pragma tabsize 0
Re: Loose inte -
Hunud - 29.08.2016
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 ?
Re: Loose inte -
Konstantinos - 29.08.2016
https://sampwiki.blast.hk/wiki/Errors_Li...se_indentation
Re: Loose inte -
Hunud - 29.08.2016
Thank but i got this now
error 010: invalid function or declaration
Re: Loose inte -
Konstantinos - 29.08.2016
Post the code from the line that gives that error and at least 1 line before and after.