02.05.2011, 17:49
(
Последний раз редактировалось [TMS]NeroTheLord; 03.05.2011 в 18:28.
)
Eu nao sei o que se passa mas ele nao diz que tem erro ao compilar. Simplesmente nao aparece nada no samp =(
Код:
// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> #include <streamer> #if defined FILTERSCRIPT public OnFilterScriptInit() { CreateDynamicObject(3886,1037.8647460938, 3910.6030273438, -0.80000019073486, 0, 0, 78.746704101563,250.0); CreateDynamicObject(1682,550.94537353516, 3840.8918457031, 107.95443725586, 0, 0, 125.99645996094,250.0); CreateDynamicObject(2775,346.01733398438, 3941.5678710938, 33.839073181152, 0, 0, 87.75,250.0); CreateDynamicObject(9818,464.57861328125, 3814.70703125, 30.960636138916, 0, 0, 38,250.0); CreateDynamicObject(9819,461.97186279297, 3801.7600097656, 29.682100296021, 0, 0, 310,250.0); CreateDynamicObject(8251,455.29513549805, 3810.2236328125, 33.032405853271, 0, 0, 125.49996948242,250.0); CreateDynamicObject(9818,464.578125, 3814.70703125, 30.960636138916, 0, 0, 37.996215820313,250.0); CreateDynamicObject(9818,464.578125, 3814.70703125, 30.960636138916, 0, 0, 37.996215820313,250.0); CreateDynamicObject(10755,493.689453125, 3717.47265625, 37.840393066406, 0, 0, 226.49963378906,250.0); CreateDynamicObject(10757,310.0546875, 4036.5339355469, 64.826507568359, 338.55725097656, 331.90270996094, 16.955993652344,250.0); CreateDynamicObject(14553,587.23278808594, 3952.9479980469, 33.147441864014, 14.497741699219, 358.96716308594, 216.25872802734,250.0); CreateDynamicObject(3069,603.16735839844, 3931.2092285156, 31.655969619751, 339.00085449219, 0.53558349609375, 212.19215393066,250.0); CreateDynamicObject(2940,603.04888916016, 3930.4008789063, 31.832571029663, 330.02554321289, 2.5976257324219, 37.048492431641,250.0); CreateDynamicObject(2940,604.89428710938, 3926.9416503906, 32.633495330811, 329.27124023438, 2.61474609375, 37.084350585938,250.0); CreateDynamicObject(2940,607.81561279297, 3923.0578613281, 33.693538665771, 329.27124023438, 2.61474609375, 37.084350585938,250.0); CreateDynamicObject(2940,609.20513916016, 3925.6748046875, 35.475685119629, 329.27124023438, 2.61474609375, 37.084350585938,250.0); CreateDynamicObject(2940,607.87268066406, 3925.0090332031, 33.282676696777, 329.27124023438, 2.61474609375, 37.084350585938,250.0); CreateDynamicObject(2940,603.85913085938, 3930.4013671875, 32.007675170898, 329.27124023438, 2.61474609375, 37.084350585938,250.0); CreateDynamicObject(14553,616.50744628906, 3830.7849121094, 3312.8474121094, 0, 0, 0,250.0); CreateDynamicObject(14550,616.44647216797, 3834.4760742188, 3312.3549804688, 0, 0, 0,250.0); CreateDynamicObject(1681,616.73046875, 3876.4697265625, 3295.9301757813, 0, 0, 0,250.0); CreateDynamicObject(18647,399.19061279297, 4193.0610351563, 35.852546691895, 0, 0, 0,250.0); CreateDynamicObject(18750,332.3271484375, 3924.0380859375, 48.393943786621, 87.502532958984, 223.24604797363, 130.53375244141,250.0); CreateDynamicObject(18740,301.99163818359, 3922.8129882813, 56.530750274658, 0, 0, 0,250.0); CreateDynamicObject(18709,328.1171875, 3919.2060546875, 66.28099822998, 0, 0, 0,250.0); CreateDynamicObject(18709,294.859375, 3923.6318359375, 60.045509338379, 0, 0, 0,250.0); CreateDynamicObject(18709,377.1279296875, 3914.2626953125, 52.35852432251, 0, 0, 0,250.0); CreateDynamicObject(10768,354.23654174805, 3814.9260253906, 15.11270904541, 0, 0, 292,250.0); CreateDynamicObject(18753,105.72448730469, 3744.2121582031, -33.749977111816, 0, 89.250091552734, 96,250.0); CreateDynamicObject(18753,230.24102783203, 3755.3989257813, -33.743003845215, 271.74975585938, 180, 186.75,250.0); CreateDynamicObject(18753,370.05972290039, 3609.2026367188, -33.725006103516, 88.749908447266, 0, 77.999877929688,250.0); CreateDynamicObject(18753,390.74868774414, 3732.4907226563, -33.705894470215, 0, 90, 352.00048828125,250.0); CreateDynamicObject(18812,306.87164306641, 4231.9956054688, -9.0150089263916, 0.27810668945313, 266.00973510742, 76.009704589844,250.0); CreateDynamicObject(10008,427.03857421875, 3709.8312988281, 46.463981628418, 0, 0, 10,250.0); CreateDynamicObject(10009,428.16668701172, 3710.5729980469, 52.160491943359, 0, 0, 7,250.0); CreateDynamicObject(10009,433.28070068359, 3707.8156738281, 59.664970397949, 0, 0, 139.99835205078,250.0); CreateDynamicObject(10009,432.20001220703, 3712.9470214844, 67.148384094238, 0, 0, 259.74328613281,250.0); CreateDynamicObject(10009,427.94528198242, 3708.1745605469, 74.570831298828, 0, 2, 49.73876953125,250.0); CreateDynamicObject(10009,433.35778808594, 3709.5727539063, 81.86629486084, 0, 1.99951171875, 186.73516845703,250.0); CreateDynamicObject(10009,427.92352294922, 3712.1079101563, 89.205848693848, 0, 1.99951171875, 320.73461914063,250.0); CreateDynamicObject(10009,429.59259033203, 3706.4729003906, 96.508827209473, 0, 1.99951171875, 92.729370117188,250.0); CreateDynamicObject(10009,432.66662597656, 3711.4196777344, 103.80035400391, 0, 1.99951171875, 226.724609375,250.0); CreateDynamicObject(11479,430.16314697266, 3722.4489746094, 103.62642669678, 0, 0, 134,250.0); CreateDynamicObject(18753,409.70544433594, 3780.185546875, 102.37003326416, 0, 0, 0,250.0); CreateDynamicObject(1491,978.75280761719, 3976.9248046875, 28.873992919922, 0, 0, 300,250.0); CreateDynamicObject(1491,981.56512451172, 3971.6867675781, 28.873992919922, 0, 0, 115.75003051758,250.0); CreateDynamicObject(1491,979.50390625, 3975.646484375, 28.870635986328, 0, 0, 299.99816894531,250.0); CreateDynamicObject(1491,980.91607666016, 3973.0349121094, 28.855628967285, 0, 0, 115.74649047852,250.0); CreateDynamicObject(1491,978.77282714844, 3976.9301757813, 31.322067260742, 0, 0, 299.99816894531,250.0); CreateDynamicObject(1491,978.79718017578, 3976.9331054688, 33.783790588379, 0, 0, 299.99816894531,250.0); CreateDynamicObject(1491,979.50561523438, 3975.6552734375, 31.322895050049, 0, 0, 299.99816894531,250.0); CreateDynamicObject(1491,979.51440429688, 3975.6193847656, 33.796794891357, 0, 0, 299.99816894531,250.0); CreateDynamicObject(1491,980.91149902344, 3973.0444335938, 31.3310546875, 0, 0, 115.74649047852,250.0); CreateDynamicObject(1491,981.57769775391, 3971.6813964844, 31.320426940918, 0, 0, 115.74649047852,250.0); CreateDynamicObject(1491,981.54370117188, 3971.6779785156, 33.782608032227, 0, 0, 115.74649047852,250.0); CreateDynamicObject(1491,980.95336914063, 3973.0161132813, 33.794918060303, 0, 0, 115.74649047852,250.0); CreateDynamicObject(3620,1011.5745239258, 3946.84375, 43.878936767578, 355.4951171875, 359.49841308594, 198.95825195313,250.0); CreateDynamicObject(3620,1058.1959228516, 3971.6323242188, 42.77889251709, 0, 0, 195.99768066406,250.0); CreateDynamicObject(3620,1035.4096679688, 3960.5229492188, 42.321044921875, 1.7447204589844, 0.75033569335938, 214.22485351563,250.0); CreateDynamicObject(9958,1013.3212280273, 4013.779296875, 6.0146751403809, 0, 0, 117.24819946289,250.0); CreateDynamicObject(3620,991.68823242188, 4014.8896484375, 41.969429016113, 0, 0, 31.997680664063,250.0); CreateDynamicObject(3620,1005.2633666992, 4023.2546386719, 41.969429016113, 0, 0, 31.997680664063,250.0); CreateDynamicObject(3620,1026.8596191406, 4036.0930175781, 42.360633850098, 0, 0, 31.997680664063,250.0); CreateDynamicObject(3620,1045.4132080078, 4022.1286621094, 44.76880645752, 0, 0, 195.99609375,250.0); CreateDynamicObject(3620,1022.9622802734, 4009.4816894531, 45.254364013672, 1.7413330078125, 0.7470703125, 214.22241210938,250.0); CreateDynamicObject(3620,991.16351318359, 3992.5952148438, 44.511299133301, 355.49011230469, 359.49462890625, 213.45690917969,250.0); CreateDynamicObject(18656,1008.2803955078, 3909.39453125, 73.569869995117, 0, 0, 308,250.0); CreateDynamicObject(18656,1009.5338134766, 3909.3039550781, 73.73210144043, 0, 0, 0,250.0); CreateDynamicObject(18656,1009.4658203125, 3910.3188476563, 73.908416748047, 0, 0, 74,250.0); CreateDynamicObject(18656,1009.2126464844, 3910.2395019531, 73.871482849121, 0, 0, 194,250.0); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; }