03.12.2012, 16:30
Quote:
pawn Код:
|
Vlw pela ajuda amigo, eu tento compilar isso a cima nгo da erro nem um porem o arquivo .amx fica 0kbs... oque sera?
Код:
// [FS] Creditos Totalmente a Mandriva! Por favor nгo retire meus creditos sem a minha permiзгo! // Contato: nio.costa@hotmail.com se for editar ou fazer outra coisa favor entrar em contato comigo! #define FILTERSCRIPT #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" [FS] Rampa By: Mandriva "); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Creditos: By <<<Mandriva>>> !!!"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript //----------------------------------------------------------------------- CreateObject(1337, 1767.1999511719, -2535.5, 13.199999809265, 0, 0, 0); CreateObject(5052, 1919.6999511719, -2907.8000488281, 295.99002075195, 0, 0, 0); CreateObject(5052, 1919.3000488281, -3002.6999511719, 277.89999389648, 30, 0, 0); CreateObject(5052, 1918.8000488281, -3087.8000488281, 228.69999694824, 30, 0, 0); CreateObject(5052, 1918.5, -3167.1999511719, 182.69999694824, 30, 0, 0); CreateObject(5052, 1918.0999755859, -3243.1999511719, 132.69999694824, 30, 0, 0); CreateObject(2920, 1910.3000488281, -2972.3999023438, 297.70001220703, 0, 0, 0); CreateObject(2920, 1928.1999511719, -2972.3999023438, 297.60000610352, 0, 0, 0); CreateObject(16776, 1931.4000244141, -2966, 296.10000610352, 0, 0, 270); CreateObject(16776, 1907.5, -2965.6999511719, 296.10000610352, 0, 0, 90); CreateObject(14608, 1919.9000244141, -2874.6000976563, 297.70001220703, 0, 0, 136.00003051758); CreateObject(7073, 1910.0999755859, -3061.6000976563, 264.5, 0, 0, 84); CreateObject(7392, 1927.6999511719, -3152.8999023438, 203.19999694824, 9, 0, 96); CreateObject(3525, 1925.8000488281, -3108.8000488281, 217.39999389648, 0, 0, 0); CreateObject(3525, 1911, -3108.3000488281, 217.69999694824, 0, 0, 0); CreateObject(3525, 1926.1999511719, -3181.6000976563, 175.19999694824, 0, 0, 0); CreateObject(3525, 1911.6999511719, -3181.6999511719, 175.19999694824, 0, 0, 0); CreateObject(3525, 1925.8000488281, -3221.1999511719, 152.30000305176, 0, 0, 0); CreateObject(3525, 1910.4000244141, -3221, 152.5, 0, 0, 0); CreateObject(3525, 1927.0999755859, -3019.3999023438, 269, 0, 0, 0); CreateObject(3525, 1912.4000244141, -3020.1000976563, 268.70001220703, 0, 0, 0); CreateObject(3525, 1924.4000244141, -3296.1999511719, 102.90000152588, 0, 0, 0); CreateObject(3525, 1911.5999755859, -3296.6000976563, 102.69999694824, 0, 0, 0); CreateObject(3525, 1910.0999755859, -2872.8999023438, 298.89999389648, 0, 0, 0); CreateObject(3525, 1929.3000488281, -2872.8999023438, 298.89999389648, 0, 0, 0); CreateObject(3524, 1928.3000488281, -2922.8999023438, 299, 0, 0, 270); CreateObject(3524, 1911.3000488281, -2922.6000976563, 299, 0, 0, 88); CreateObject(3524, 1926.3000488281, -2970.6000976563, 299.20001220703, 0, 0, 266); CreateObject(3524, 1912.1999511719, -2970.8000488281, 299.20001220703, 0, 0, 96); CreateObject(13562, 1909.0999755859, -3306.5, 101, 0, 0, 0); CreateObject(3113, 1919.6995849609, -2872, 298.80001831055, 0, 14.996337890625, 270); CreateObject(5052, 1917.8000488281, -3326.6999511719, 84.599998474121, 30, 0, 0); CreateObject(5052, 1917.7998046875, -3401.599609375, 41.099998474121, 30, 0, 0); CreateObject(3080, 1925.1999511719, -3450.8999023438, 21.799999237061, 30, 0, 177.99548339844); CreateObject(3080, 1916.9000244141, -3450.3000488281, 21.60000038147, 30, 0, 177.99548339844); CreateObject(3080, 1921.0999755859, -3450.6999511719, 21.700000762939, 30, 0, 178); CreateObject(3080, 1912.5999755859, -3450.5, 21.5, 30, 0, 177.99499511719); CreateObject(3080, 1925.3000488281, -3447.8999023438, 18.200000762939, 4, 0, 177.99951171875); CreateObject(3080, 1913, -3447.8000488281, 18.10000038147, 4, 0, 178); CreateObject(3080, 1921.0999755859, -3447.8000488281, 18.200000762939, 4, 0, 178); CreateObject(3080, 1917.0999755859, -3447.6999511719, 18.200000762939, 4, 0, 178); CreateObject(3080, 1909.0999755859, -3447.8000488281, 18.10000038147, 4, 0, 178); CreateObject(3080, 1908.5999755859, -3450.3999023438, 21.5, 30, 0, 180); //----------------------------------------------------------------------- return 1; } if(strcmp("/rampa", cmd, true) == 0) { new String[128]; if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, 0xFFFFFFAA, "Vocк nгo estб em um veнculo!"); return 1; } else { new veh = GetPlayerVehicleID(playerid); SetVehiclePos(veh, 1919.7539,-2882.4294,296.9119); LinkVehicleToInterior(veh, 0); SetVehicleZAngle(veh, 0.0); PutPlayerInVehicle(playerid, veh, 0); format(String, sizeof(String), "%s foi para a Rampa. (/rampa)", PlayerName(playerid)); SendClientMessageToAll(0x0080FFAA, String); return 1; } }