16.07.2012, 00:34
Hello i got this kind problem got no idea what to do now i cant compile the script or what ever its called

// Make sure you don't get warnings about tabsize #pragma tabsize 0 // ******************************************************************************************************************** // Set default gamemode name // ******************************************************************************************************************** #define GameModeName "Suomi Servu" // ******************************************************************************************************************** // Limit the amount of cops with a value greater than 0 // Setting this to "3" would mean: // - having 3 normal players (non-cop players) before the first cop can join the server // - having 6 normal players before 2 cops can be active // - having 9 normal players before the third cop can join and so on // Leaving this at 0 disables the police-limitation, so anyone can choose the police class anytime // ******************************************************************************************************************** new PlayersBeforePolice = 0; // ******************************************************************************************************************** // ******************************************************************************************************************** // Include default files #include <a_samp> #include <zcmd> #include <dutils> #include <sscanf2> #include <streamer> // Include all define-statements and custom-type declarations and the arrays which use them // These files need to be included before the functions get included, because the functions use the defines, custom types and the arrays // Also include the defined loads (for truckers, military, mafia, ...) and locations arrays #include <PPC_DefTexts> #include <PPC_ServerSettings> #include <PPC_Defines> #include <PPC_DefLocations> #include <PPC_DefLoads> #include <PPC_DefCars> #include <PPC_DefPlanes> #include <PPC_DefTrailers> #include <PPC_DefBuyableVehicles> // Include functions for this gamemode #include <PPC_GlobalTimer> #include <PPC_Common> #include <PPC_Housing> #include <PPC_Business> #include <PPC_GameModeInit> #include <PPC_FileOperations> #include <PPC_Speedometer> #include <PPC_MissionsTrucking> #include <PPC_MissionsBus> #include <PPC_MissionsPilot> #include <PPC_MissionsPolice> #include <PPC_MissionsMafia> #include <PPC_MissionsAssistance> #include <PPC_MissionsCourier> #include <PPC_MissionsRoadworker> #include <PPC_Convoys> #include <PPC_Dialogs> #include <PPC_PlayerCommands> #include <PPC_Toll> // The main function (used only once when the server loads) main() { // Print some standard lines to the server's console print("\n----------------------------------"); print(GameModeName); print("----------------------------------\n"); } // This callback gets called when the server initializes the gamemode public OnGameModeInit() { // Change the hostname format(HostCommand, 128, "hostname %s", GameModeName); SendRconCommand(HostCommand); SetGameModeText(GameModeName); // Set the Mode of the gamemode, which appears in the list of servers GameModeInit_VehiclesPickups(); // Add all static vehicles and pickups when the server starts that are required (also load the houses) GameModeInit_Classes(); // Add character models to the class-selection (without weapons) Convoys_Init(); // Setup textdraws and default data for convoys ShowPlayerMarkers(1); // Show players on the entire map (and on the radar) ShowNameTags(1); // Show player names (and health) above their head ManualVehicleEngineAndLights(); // Let the server control the vehicle's engine and lights EnableStuntBonusForAll(0); // Disable stunt bonus for all players DisableInteriorEnterExits(); // Removes all building-entrances in the game UsePlayerPedAnims(); // Use CJ's walking animation // Start the timer that will show timed messages every 2 minutes SetTimer("Timer_TimedMessages", 1000 * 60 * 2, true); // Start the timer that will show a random bonus mission for truckers every 5 minutes SetTimer("ShowRandomBonusMission", 1000 * 60 * 5, true); // Start the timer that checks the toll-gates SetTimer("Toll", 1000, true); // Fix the bugged houses (after fixing the houses, you can remove this line, as it's not needed anymore) FixHouses(); // While the gamemode starts, start the global timer, and run it every second SetTimer("GlobalTimer", 1000, true); //Islandhouse CreateObject(9707, -2605.8999023438, 2165.1000976563, 2.7000000476837, 0, 0, 274); CreateObject(3665, -2608.8999023438, 2247.6999511719, 7.5, 0, 0, 4); CreateObject(3665, -2614.8999023438, 2247.1999511719, 7.5, 0, 0, 3.9990234375); CreateObject(3665, -2611.6000976563, 2247.3999023438, 7.5, 0, 0, 3.9990234375); CreateObject(9488, -2611.3000488281, 2131, 1.1000000238419, 0, 0, 58); CreateObject(9489, -2674.3000488281, 2017.8000488281, 1.1000001430511, 0, 0, 48); CreateObject(18450, -2746.6000976563, 1968, 0.69999998807907, 0, 0, 24); CreateObject(18450, -2818.1999511719, 1936.3000488281, 0.69999998807907, 0, 0, 23.999633789063); CreateObject(6959, -2873.3000488281, 1912, 0.90000003576279, 0, 0, 22); CreateObject(6959, -2858.5, 1875.3000488281, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(6959, -2884.5, 1939, 0.89999997615814, 0, 0, 22); CreateObject(6959, -2922.3999023438, 1923.8000488281, 0.79999995231628, 0, 0, 22); CreateObject(6959, -2906.5, 1887.6999511719, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(6959, -2896.3000488281, 1860.0999755859, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(6959, -2848, 1849, 0.89999997615814, 0, 0, 22.49462890625); CreateObject(6959, -2885.1999511719, 1832.8000488281, 0.89999997615814, 0, 0, 24.494506835938); CreateObject(6959, -2922.3000488281, 1816.0999755859, 0.89999997615814, 0, 0, 24.494018554688); CreateObject(6959, -2937.5, 1851.4000244141, 0.89999997615814, 0, 0, 22.494018554688); CreateObject(6959, -2947.3999023438, 1880.8000488281, 0.89999997615814, 0, 0.009521484375, 22.489013671875); CreateObject(6959, -2919.1999511719, 1852, 0.89999997615814, 0, 0, 22.489013671875); CreateObject(6959, -2899.1999511719, 1830.8000488281, 0.89999997615814, 0, 0, 22.489013671875); CreateObject(6959, -2957.8000488281, 1909.5, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(8420, -2951.1999511719, 1890.0999755859, 0.90000003576279, 0, 0, 22); CreateObject(3749, -2856.1999511719, 1919.5, 6.6999998092651, 0, 0, 294); CreateObject(6959, -2976.6000976563, 1901, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2959.1999511719, 1858.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2998.3999023438, 1899.5, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3002.6999511719, 1856.9000244141, 0.80000001192093, 0, 0, 22); CreateObject(6959, -2989.3999023438, 1824.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2965, 1821.0999755859, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2959, 1799.9000244141, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2977, 1793.6999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(7885, -3017.1000976563, 1869.5, 0.80000001192093, 0, 0, 202); CreateObject(6959, -3031.6999511719, 1886.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3013.6999511719, 1893.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3038.3000488281, 1883.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3023.6999511719, 1847.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3019.6000976563, 1836.5, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6450, -3022.1999511719, 1977.5999755859, -7.0999999046326, 0, 0, 22); CreateObject(7894, -3055.8000488281, 2033.4000244141, 1.2999999523163, 0, 0, 200); CreateObject(979, -2864.8000488281, 1923.1999511719, 1.6000000238419, 0, 0, 196); CreateObject(979, -2874.5, 1922, 1.6000000238419, 0, 0, 177.99609375); CreateObject(979, -2883.8999023438, 1920.4000244141, 1.6000000238419, 0, 0, 201.9949798584); CreateObject(979, -2890.3999023438, 1917.8000488281, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2896.8999023438, 1915.1999511719, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2903.3999023438, 1912.5999755859, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2909.8999023438, 1910.0999755859, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2917.3000488281, 1907.4000244141, 1.7000000476837, 0, 0, 198.74462890625); CreateObject(979, -2924.6000976563, 1905.9000244141, 1.7000000476837, 0, 0, 188.49267578125); CreateObject(979, -2931.6000976563, 1905.8000488281, 1.7000000476837, 0, 0, 174.74243164063); CreateObject(979, -2938.6999511719, 1906.5999755859, 1.7000000476837, 0, 0, 170.98754882813); CreateObject(979, -2945.1999511719, 1910.5, 1.7000000476837, 0, 0, 134.73571777344); CreateObject(979, -2949.8000488281, 1916.1999511719, 1.7000000476837, 0, 0, 125.48083496094); CreateObject(979, -2954, 1923.3000488281, 1.7000000476837, 0, 0, 119.23034667969); CreateObject(979, -2955.3999023438, 1925.6999511719, 1.7000000476837, 0, 0, 119.97912597656); CreateObject(7916, -2894, 1927.1999511719, 4.6999998092651, 0, 0, 0); CreateObject(7916, -2901.1000976563, 1927.6999511719, 4.6999998092651, 0, 0, 0); CreateObject(6312, -2915.1999511719, 1929.6999511719, 0.80000001192093, 0, 0, 74); CreateObject(840, -2935, 1913.1999511719, 2.9000000953674, 0, 0, 0); CreateObject(672, -2936.1000976563, 1910.6999511719, 1.3999999761581, 0, 0, 0); CreateObject(672, -2929.1999511719, 1913.3000488281, 1.3999999761581, 0, 0, 0); CreateObject(672, -2920.1000976563, 1915.6999511719, 1.3999999761581, 0, 0, 0); CreateObject(672, -2924.5, 1914.6999511719, 1.3999999761581, 0, 0, 0); CreateObject(672, -2931.6000976563, 1913.0999755859, 1.3999999761581, 0, 0, 0); CreateObject(672, -2942.6999511719, 1914.4000244141, 1.3999999761581, 0, 0, 0); CreateObject(672, -2949.3999023438, 1921.3000488281, 1.3999999761581, 0, 0, 0); CreateObject(672, -2952.3000488281, 1928.3000488281, 1.3999999761581, 0, 0, 0); CreateObject(672, -2914.8999023438, 1916.1999511719, 1.3999999761581, 0, 0, 0); CreateObject(901, -2900.3000488281, 1921, -1.5, 0, 0, 0); CreateObject(901, -2894.1000976563, 1923.0999755859, -1.5, 0, 0, 18); CreateObject(901, -2886.1000976563, 1926.3000488281, -1.5, 0, 0, 17.99560546875); CreateObject(901, -2909.6000976563, 1922.5999755859, -1.5, 0, 0, 345.99560546875); CreateObject(901, -2876, 1930.5999755859, -1.5, 0, 0, 31.99560546875); CreateObject(901, -2870.3000488281, 1929.4000244141, -1.5, 0, 0, 15.9921875); CreateObject(901, -2867.1000976563, 1930.1999511719, -1.5, 0, 0, 23.990600585938); CreateObject(978, -2859, 1918.8000488281, 1.7000000476837, 0, 0, 18); CreateObject(978, -2867.3000488281, 1917.1999511719, 1.7000000476837, 0, 0, 3.99560546875); CreateObject(978, -2874.3000488281, 1915.5999755859, 1.7000000476837, 0, 0, 15.993530273438); CreateObject(978, -2882.6999511719, 1912.3000488281, 1.7000000476837, 0, 0, 25.990600585938); CreateObject(978, -2888.8999023438, 1909.0999755859, 1.7000000476837, 0, 0, 25.988159179688); CreateObject(978, -2896.1000976563, 1905.5, 1.7000000476837, 0, 0, 25.988159179688); CreateObject(978, -2902.8000488281, 1902.4000244141, 1.7000000476837, 0, 0, 25.988159179688); CreateObject(978, -2909.1000976563, 1896.5, 1.7000000476837, 0, 0, 57.988159179688); CreateObject(978, -2911.5, 1889.4000244141, 1.7000000476837, 0, 0, 79.98583984375); CreateObject(978, -2911, 1882.5, 1.7000000476837, 0, 0, 103.98046875); CreateObject(978, -2910.3000488281, 1874.1999511719, 1.7000000476837, 0, 0, 83.980102539063); CreateObject(978, -2911.8999023438, 1867.3000488281, 1.7000000476837, 0, 0, 67.9794921875); CreateObject(978, -2911.8994140625, 1867.2998046875, 1.7000000476837, 0, 0, 67.977905273438); CreateObject(11677, -2953.1000976563, 1843.3000488281, 5.5999999046326, 0, 0, 338); return 1; } // This callback gets called when a player connects to the server public OnPlayerConnect(playerid) { // Always allow NPC's to login without password or account
//Islandhouse CreateObject(9707, -2605.8999023438, 2165.1000976563, 2.7000000476837, 0, 0, 274); CreateObject(3665, -2608.8999023438, 2247.6999511719, 7.5, 0, 0, 4); CreateObject(3665, -2614.8999023438, 2247.1999511719, 7.5, 0, 0, 3.9990234375); CreateObject(3665, -2611.6000976563, 2247.3999023438, 7.5, 0, 0, 3.9990234375); CreateObject(9488, -2611.3000488281, 2131, 1.1000000238419, 0, 0, 58); CreateObject(9489, -2674.3000488281, 2017.8000488281, 1.1000001430511, 0, 0, 48); CreateObject(18450, -2746.6000976563, 1968, 0.69999998807907, 0, 0, 24); CreateObject(18450, -2818.1999511719, 1936.3000488281, 0.69999998807907, 0, 0, 23.999633789063); CreateObject(6959, -2873.3000488281, 1912, 0.90000003576279, 0, 0, 22); CreateObject(6959, -2858.5, 1875.3000488281, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(6959, -2884.5, 1939, 0.89999997615814, 0, 0, 22); CreateObject(6959, -2922.3999023438, 1923.8000488281, 0.79999995231628, 0, 0, 22); CreateObject(6959, -2906.5, 1887.6999511719, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(6959, -2896.3000488281, 1860.0999755859, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(6959, -2848, 1849, 0.89999997615814, 0, 0, 22.49462890625); CreateObject(6959, -2885.1999511719, 1832.8000488281, 0.89999997615814, 0, 0, 24.494506835938); CreateObject(6959, -2922.3000488281, 1816.0999755859, 0.89999997615814, 0, 0, 24.494018554688); CreateObject(6959, -2937.5, 1851.4000244141, 0.89999997615814, 0, 0, 22.494018554688); CreateObject(6959, -2947.3999023438, 1880.8000488281, 0.89999997615814, 0, 0.009521484375, 22.489013671875); CreateObject(6959, -2919.1999511719, 1852, 0.89999997615814, 0, 0, 22.489013671875); CreateObject(6959, -2899.1999511719, 1830.8000488281, 0.89999997615814, 0, 0, 22.489013671875); CreateObject(6959, -2957.8000488281, 1909.5, 0.89999997615814, 0, 0, 21.99462890625); CreateObject(8420, -2951.1999511719, 1890.0999755859, 0.90000003576279, 0, 0, 22); CreateObject(3749, -2856.1999511719, 1919.5, 6.6999998092651, 0, 0, 294); CreateObject(6959, -2976.6000976563, 1901, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2959.1999511719, 1858.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2998.3999023438, 1899.5, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3002.6999511719, 1856.9000244141, 0.80000001192093, 0, 0, 22); CreateObject(6959, -2989.3999023438, 1824.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2965, 1821.0999755859, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2959, 1799.9000244141, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -2977, 1793.6999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(7885, -3017.1000976563, 1869.5, 0.80000001192093, 0, 0, 202); CreateObject(6959, -3031.6999511719, 1886.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3013.6999511719, 1893.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3038.3000488281, 1883.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3023.6999511719, 1847.1999511719, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6959, -3019.6000976563, 1836.5, 0.80000001192093, 0, 0, 21.99462890625); CreateObject(6450, -3022.1999511719, 1977.5999755859, -7.0999999046326, 0, 0, 22); CreateObject(7894, -3055.8000488281, 2033.4000244141, 1.2999999523163, 0, 0, 200); CreateObject(979, -2864.8000488281, 1923.1999511719, 1.6000000238419, 0, 0, 196); CreateObject(979, -2874.5, 1922, 1.6000000238419, 0, 0, 177.99609375); CreateObject(979, -2883.8999023438, 1920.4000244141, 1.6000000238419, 0, 0, 201.9949798584); CreateObject(979, -2890.3999023438, 1917.8000488281, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2896.8999023438, 1915.1999511719, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2903.3999023438, 1912.5999755859, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2909.8999023438, 1910.0999755859, 1.6000000238419, 0, 0, 201.99462890625); CreateObject(979, -2917.3000488281, 1907.4000244141, 1.7000000476837, 0, 0, 198.74462890625); CreateObject(979, -2924.6000976563, 1905.9000244141, 1.7000000476837, 0, 0, 188.49267578125); CreateObject(979, -2931.6000976563, 1905.8000488281, 1.7000000476837, 0, 0, 174.74243164063); CreateObject(979, -2938.6999511719, 1906.5999755859, 1.7000000476837, 0, 0, 170.98754882813); CreateObject(979, -2945.1999511719, 1910.5, 1.7000000476837, 0, 0, 134.73571777344); CreateObject(979, -2949.8000488281, 1916.1999511719, 1.7000000476837, 0, 0, 125.48083496094); CreateObject(979, -2954, 1923.3000488281, 1.7000000476837, 0, 0, 119.23034667969); CreateObject(979, -2955.3999023438, 1925.6999511719, 1.7000000476837, 0, 0, 119.97912597656); CreateObject(7916, -2894, 1927.1999511719, 4.6999998092651, 0, 0, 0); CreateObject(7916, -2901.1000976563, 1927.6999511719, 4.6999998092651, 0, 0, 0); CreateObject(6312, -2915.1999511719, 1929.6999511719, 0.80000001192093, 0, 0, 74); CreateObject(840, -2935, 1913.1999511719, 2.9000000953674, 0, 0, 0); CreateObject(672, -2936.1000976563, 1910.6999511719, 1.3999999761581, 0, 0, 0); CreateObject(672, -2929.1999511719, 1913.3000488281, 1.3999999761581, 0, 0, 0); CreateObject(672, -2920.1000976563, 1915.6999511719, 1.3999999761581, 0, 0, 0); CreateObject(672, -2924.5, 1914.6999511719, 1.3999999761581, 0, 0, 0); CreateObject(672, -2931.6000976563, 1913.0999755859, 1.3999999761581, 0, 0, 0); CreateObject(672, -2942.6999511719, 1914.4000244141, 1.3999999761581, 0, 0, 0); CreateObject(672, -2949.3999023438, 1921.3000488281, 1.3999999761581, 0, 0, 0); CreateObject(672, -2952.3000488281, 1928.3000488281, 1.3999999761581, 0, 0, 0); CreateObject(672, -2914.8999023438, 1916.1999511719, 1.3999999761581, 0, 0, 0); CreateObject(901, -2900.3000488281, 1921, -1.5, 0, 0, 0); CreateObject(901, -2894.1000976563, 1923.0999755859, -1.5, 0, 0, 18); CreateObject(901, -2886.1000976563, 1926.3000488281, -1.5, 0, 0, 17.99560546875); CreateObject(901, -2909.6000976563, 1922.5999755859, -1.5, 0, 0, 345.99560546875); CreateObject(901, -2876, 1930.5999755859, -1.5, 0, 0, 31.99560546875); CreateObject(901, -2870.3000488281, 1929.4000244141, -1.5, 0, 0, 15.9921875); CreateObject(901, -2867.1000976563, 1930.1999511719, -1.5, 0, 0, 23.990600585938); CreateObject(978, -2859, 1918.8000488281, 1.7000000476837, 0, 0, 18); CreateObject(978, -2867.3000488281, 1917.1999511719, 1.7000000476837, 0, 0, 3.99560546875); CreateObject(978, -2874.3000488281, 1915.5999755859, 1.7000000476837, 0, 0, 15.993530273438); CreateObject(978, -2882.6999511719, 1912.3000488281, 1.7000000476837, 0, 0, 25.990600585938); CreateObject(978, -2888.8999023438, 1909.0999755859, 1.7000000476837, 0, 0, 25.988159179688); CreateObject(978, -2896.1000976563, 1905.5, 1.7000000476837, 0, 0, 25.988159179688); CreateObject(978, -2902.8000488281, 1902.4000244141, 1.7000000476837, 0, 0, 25.988159179688); CreateObject(978, -2909.1000976563, 1896.5, 1.7000000476837, 0, 0, 57.988159179688); CreateObject(978, -2911.5, 1889.4000244141, 1.7000000476837, 0, 0, 79.98583984375); CreateObject(978, -2911, 1882.5, 1.7000000476837, 0, 0, 103.98046875); CreateObject(978, -2910.3000488281, 1874.1999511719, 1.7000000476837, 0, 0, 83.980102539063); CreateObject(978, -2911.8999023438, 1867.3000488281, 1.7000000476837, 0, 0, 67.9794921875); CreateObject(978, -2911.8994140625, 1867.2998046875, 1.7000000476837, 0, 0, 67.977905273438); CreateObject(11677, -2953.1000976563, 1843.3000488281, 5.5999999046326, 0, 0, 338); return 1;