07.05.2011, 02:16
(
Последний раз редактировалось [R] ousenber [K]; 07.05.2011 в 16:44.
)
Ola gente , to postando meu segundo mini trabalho aqui , esse mapa e mt Simples mais acho ele bom criei ele faz uns dias mais to resolvendo postar ele!
Esse mapa e uma pequena corrida, mais pra quem gosta de corridas ta ai!
Como falado aqui esta o pastebin do FS: http://pastebin.com/a9VVtie0
Como falado aqui esta o pastebin do FS so que com Dynamic: http://pastebin.com/D8EABYB8
Download da FS: http://www.4shared.com/file/3GBs2WWe/mixed.html
Ponha no OnGameModeInit Lembrando que esse mapa aqui e para quem usa objetos CreateDynamicObject, se for CreateObject ta abaixo desse!
Agora de CreateObject e CreateVehicle
Comando para ir а Corrida!Coloque esse comando no OnPlayerCommandText
Nao tem SS mais tem o video que eu fiz \/
[ame]http://www.youtube.com/watch?v=VTXnz05mnBY[/ame]
Creditos а mim: Dylan4021
Esse mapa e uma pequena corrida, mais pra quem gosta de corridas ta ai!
Como falado aqui esta o pastebin do FS: http://pastebin.com/a9VVtie0
Como falado aqui esta o pastebin do FS so que com Dynamic: http://pastebin.com/D8EABYB8
Download da FS: http://www.4shared.com/file/3GBs2WWe/mixed.html
Ponha no OnGameModeInit Lembrando que esse mapa aqui e para quem usa objetos CreateDynamicObject, se for CreateObject ta abaixo desse!
pawn Код:
AddStaticVehicleEx(533,2312.14062500,-494.28582764,129.44088745,86.86907959,-1,-1,15); //Feltzer
AddStaticVehicleEx(533,2318.50097656,-494.56726074,129.01368713,86.86889648,-1,-1,15); //Feltzer
AddStaticVehicleEx(533,2324.78515625,-494.76654053,128.54219055,86.86889648,-1,-1,15); //Feltzer
AddStaticVehicleEx(533,2330.80883789,-494.85183716,128.11032104,86.86889648,-1,-1,15); //Feltzer
AddStaticVehicleEx(560,2311.90673828,-498.60391235,128.70741272,86.58404541,-1,-1,15); //Sultan
AddStaticVehicleEx(560,2318.22387695,-498.69750977,128.25370789,86.58325195,-1,-1,15); //Sultan
AddStaticVehicleEx(560,2324.89013672,-499.18078613,127.70195007,86.58325195,-1,-1,15); //Sultan
AddStaticVehicleEx(560,2330.76074219,-499.32037354,127.27032471,86.58325195,-1,-1,15); //Sultan
CreateDynamicObject(5112,2309.55249023,-411.30560303,124.77745056,0.00000000,0.00000000,264.00000000); //object(laroads_26_las2) (1)
CreateDynamicObject(5112,2325.61914062,-258.44934082,124.55933380,0.00000000,0.00000000,263.99597168); //object(laroads_26_las2) (2)
CreateDynamicObject(5112,2341.69677734,-105.74172211,124.31761932,0.00000000,0.00000000,263.99597168); //object(laroads_26_las2) (3)
CreateDynamicObject(5121,2327.19409180,19.47947502,128.30535889,0.00000000,0.00000000,84.00000000); //object(btoland6_las2) (1)
CreateDynamicObject(5147,2214.20556641,71.50745392,138.05441284,0.00000000,0.00000000,354.00000000); //object(sanpedbigbrid_las2) (1)
CreateDynamicObject(5333,1990.12792969,95.05294800,137.04705811,0.00000000,0.00000000,174.00000000); //object(sanpedbigslt_las2) (1)
CreateDynamicObject(5433,1850.13122559,76.32788086,113.03452301,0.00000000,0.00000000,8.75000000); //object(laeroad04) (1)
CreateDynamicObject(5433,1821.12243652,-31.25581169,82.29001617,0.00000000,0.00000000,96.75000000); //object(laeroad04) (2)
CreateDynamicObject(5500,1950.05346680,-99.43327332,66.85507965,0.00000000,0.00000000,350.00000000); //object(laeroad35) (1)
CreateDynamicObject(5500,2102.82055664,-126.37107849,66.84458923,0.00000000,0.00000000,349.99694824); //object(laeroad35) (2)
CreateDynamicObject(5756,2243.76391602,-153.86616516,72.10492706,0.00000000,0.00000000,260.00000000); //object(road_lawn33) (1)
CreateDynamicObject(6317,2359.01782227,-196.42680359,77.05978394,0.00000000,0.00000000,176.00000000); //object(roads07_law2) (1)
CreateDynamicObject(1225,2318.48681641,-166.47540283,76.64361572,0.00000000,0.00000000,0.00000000); //object(barrel4) (1)
CreateDynamicObject(6317,2418.68286133,-269.49096680,77.07175446,0.00000000,0.00000000,355.99548340); //object(roads07_law2) (2)
CreateDynamicObject(6917,2515.65209961,-294.79739380,75.58236694,0.00000000,0.00000000,260.00000000); //object(vgsnrailroad25) (1)
CreateDynamicObject(4203,2609.85009766,-271.78454590,79.34659576,0.00000000,0.00000000,302.00000000); //object(lariversec1b_lan) (1)
CreateDynamicObject(4203,2680.84960938,-234.78504944,79.15843964,0.00000000,0.00000000,303.99768066); //object(lariversec1b_lan) (2)
CreateDynamicObject(4823,2838.80981445,-242.90449524,100.77634430,0.00000000,0.00000000,121.99996948); //object(lasgrifroad) (1)
CreateDynamicObject(5147,2821.88671875,-272.36557007,131.88035583,0.00000000,0.00000000,356.00000000); //object(sanpedbigbrid_las2) (2)
CreateDynamicObject(5191,2650.62255859,-260.49334717,127.93320465,0.00000000,0.00000000,86.00000000); //object(nwdkbridd_las2) (1)
CreateDynamicObject(5147,2479.72387695,-248.38264465,131.75259399,0.00000000,0.00000000,176.00000000); //object(sanpedbigbrid_las2) (3)
CreateDynamicObject(5481,2351.81982422,-253.21934509,119.31492615,0.00000000,0.00000000,21.75000000); //object(laebridge) (1)
CreateDynamicObject(5528,2255.71069336,-293.11923218,128.99409485,0.00000000,0.00000000,128.00000000); //object(laeroadct43) (1)
CreateDynamicObject(1225,2196.05737305,-334.90322876,133.94154358,0.00000000,0.00000000,0.00000000); //object(barrel4) (2)
CreateDynamicObject(1225,2197.31787109,-336.50949097,133.94078064,0.00000000,0.00000000,0.00000000); //object(barrel4) (3)
CreateDynamicObject(1225,2196.72192383,-335.67190552,133.93246460,0.00000000,0.00000000,0.00000000); //object(barrel4) (4)
CreateDynamicObject(1225,2195.47705078,-334.00122070,133.92388916,0.00000000,0.00000000,0.00000000); //object(barrel4) (5)
CreateDynamicObject(1225,2194.93041992,-333.20614624,133.91331482,0.00000000,0.00000000,0.00000000); //object(barrel4) (6)
CreateDynamicObject(1225,2194.23681641,-332.57513428,133.77508545,0.00000000,0.00000000,0.00000000); //object(barrel4) (7)
CreateDynamicObject(1225,2193.52685547,-331.62454224,133.77041626,0.00000000,0.00000000,0.00000000); //object(barrel4) (8)
CreateDynamicObject(1225,2192.90161133,-330.67721558,133.75415039,0.00000000,0.00000000,0.00000000); //object(barrel4) (9)
CreateDynamicObject(1225,2191.95922852,-329.38250732,133.74432373,0.00000000,0.00000000,0.00000000); //object(barrel4) (10)
CreateDynamicObject(1225,2191.39208984,-328.15472412,133.68879700,0.00000000,0.00000000,0.00000000); //object(barrel4) (11)
CreateDynamicObject(1225,2190.14038086,-326.95599365,133.73318481,0.00000000,0.00000000,0.00000000); //object(barrel4) (12)
CreateDynamicObject(1225,2189.12133789,-325.55422974,133.72193909,0.00000000,0.00000000,0.00000000); //object(barrel4) (13)
CreateDynamicObject(1225,2188.94531250,-324.20367432,133.76040649,0.00000000,0.00000000,0.00000000); //object(barrel4) (14)
CreateDynamicObject(1225,2187.77221680,-322.92684937,133.78491211,0.00000000,0.00000000,0.00000000); //object(barrel4) (15)
CreateDynamicObject(1225,2186.80175781,-321.89385986,133.80775452,0.00000000,0.00000000,0.00000000); //object(barrel4) (16)
CreateDynamicObject(1225,2185.92822266,-321.19226074,133.85365295,0.00000000,0.00000000,0.00000000); //object(barrel4) (17)
CreateDynamicObject(5153,2298.50292969,-490.14266968,129.23646545,359.25732422,8.00067139,264.10437012); //object(stuntramp7_las2) (1)
CreateDynamicObject(5153,2300.72534180,-490.19613647,129.14533997,359.25292969,7.99804688,264.10437012); //object(stuntramp7_las2) (2)
CreateDynamicObject(5153,2302.93408203,-489.97195435,128.93501282,359.25292969,7.99255371,264.10031128); //object(stuntramp7_las2) (3)
CreateDynamicObject(5153,2305.14306641,-490.16616821,128.83755493,359.25292969,7.99255371,264.10034180); //object(stuntramp7_las2) (4)
CreateDynamicObject(5153,2296.34057617,-490.27154541,129.38365173,359.25292969,7.99804688,264.10034180); //object(stuntramp7_las2) (5)
CreateDynamicObject(3578,2946.27587891,-253.46977234,122.96784973,0.00000000,0.00000000,80.00000000); //object(dockbarr1_la) (1)
CreateDynamicObject(3578,2944.48071289,-263.59344482,123.12110901,0.00000000,1.50000000,79.99694824); //object(dockbarr1_la) (2)
CreateDynamicObject(3578,2942.68188477,-273.76181030,123.38514709,359.50024414,1.75006104,80.01226807); //object(dockbarr1_la) (3)
CreateDynamicObject(3578,2937.24267578,-281.73770142,123.54203033,359.24987793,359.99676514,31.99264526); //object(dockbarr1_la) (4)
CreateDynamicObject(3578,2928.70727539,-287.09091187,123.50869751,359.49987793,359.74676514,31.98568726); //object(dockbarr1_la) (5)
CreateDynamicObject(3578,2920.07763672,-292.47784424,123.49120331,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (6)
CreateDynamicObject(3578,2910.95629883,-292.74484253,123.55617523,359.24743652,359.99450684,331.49218750); //object(dockbarr1_la) (7)
CreateDynamicObject(3578,2902.75317383,-288.23171997,123.45526123,359.24197388,359.48898315,331.48385620); //object(dockbarr1_la) (8)
CreateDynamicObject(3578,2927.80395508,-251.59463501,123.09317780,0.00000000,0.00000000,79.99694824); //object(dockbarr1_la) (9)
CreateDynamicObject(3578,2922.64721680,-259.16384888,123.10619354,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (10)
CreateDynamicObject(3578,2913.91235352,-264.61685181,123.06881714,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (11)
CreateDynamicObject(3578,2910.41015625,-266.78646851,123.07524872,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (12)
CreateDynamicObject(3578,2901.03002930,-269.20913696,123.07212067,359.24743652,359.99450684,357.99218750); //object(dockbarr1_la) (13)
pawn Код:
CreateVehicle(533,2312.14062500,-494.28582764,129.44088745,86.86907959,-1,-1,15); //Feltzer
CreateVehicle(533,2318.50097656,-494.56726074,129.01368713,86.86889648,-1,-1,15); //Feltzer
CreateVehicle(533,2324.78515625,-494.76654053,128.54219055,86.86889648,-1,-1,15); //Feltzer
CreateVehicle(533,2330.80883789,-494.85183716,128.11032104,86.86889648,-1,-1,15); //Feltzer
CreateVehicle(560,2311.90673828,-498.60391235,128.70741272,86.58404541,-1,-1,15); //Sultan
CreateVehicle(560,2318.22387695,-498.69750977,128.25370789,86.58325195,-1,-1,15); //Sultan
CreateVehicle(560,2324.89013672,-499.18078613,127.70195007,86.58325195,-1,-1,15); //Sultan
CreateVehicle(560,2330.76074219,-499.32037354,127.27032471,86.58325195,-1,-1,15); //Sultan
CreateObject(5112,2309.55249023,-411.30560303,124.77745056,0.00000000,0.00000000,264.00000000); //object(laroads_26_las2) (1)
CreateObject(5112,2325.61914062,-258.44934082,124.55933380,0.00000000,0.00000000,263.99597168); //object(laroads_26_las2) (2)
CreateObject(5112,2341.69677734,-105.74172211,124.31761932,0.00000000,0.00000000,263.99597168); //object(laroads_26_las2) (3)
CreateObject(5121,2327.19409180,19.47947502,128.30535889,0.00000000,0.00000000,84.00000000); //object(btoland6_las2) (1)
CreateObject(5147,2214.20556641,71.50745392,138.05441284,0.00000000,0.00000000,354.00000000); //object(sanpedbigbrid_las2) (1)
CreateObject(5333,1990.12792969,95.05294800,137.04705811,0.00000000,0.00000000,174.00000000); //object(sanpedbigslt_las2) (1)
CreateObject(5433,1850.13122559,76.32788086,113.03452301,0.00000000,0.00000000,8.75000000); //object(laeroad04) (1)
CreateObject(5433,1821.12243652,-31.25581169,82.29001617,0.00000000,0.00000000,96.75000000); //object(laeroad04) (2)
CreateObject(5500,1950.05346680,-99.43327332,66.85507965,0.00000000,0.00000000,350.00000000); //object(laeroad35) (1)
CreateObject(5500,2102.82055664,-126.37107849,66.84458923,0.00000000,0.00000000,349.99694824); //object(laeroad35) (2)
CreateObject(5756,2243.76391602,-153.86616516,72.10492706,0.00000000,0.00000000,260.00000000); //object(road_lawn33) (1)
CreateObject(6317,2359.01782227,-196.42680359,77.05978394,0.00000000,0.00000000,176.00000000); //object(roads07_law2) (1)
CreateObject(1225,2318.48681641,-166.47540283,76.64361572,0.00000000,0.00000000,0.00000000); //object(barrel4) (1)
CreateObject(6317,2418.68286133,-269.49096680,77.07175446,0.00000000,0.00000000,355.99548340); //object(roads07_law2) (2)
CreateObject(6917,2515.65209961,-294.79739380,75.58236694,0.00000000,0.00000000,260.00000000); //object(vgsnrailroad25) (1)
CreateObject(4203,2609.85009766,-271.78454590,79.34659576,0.00000000,0.00000000,302.00000000); //object(lariversec1b_lan) (1)
CreateObject(4203,2680.84960938,-234.78504944,79.15843964,0.00000000,0.00000000,303.99768066); //object(lariversec1b_lan) (2)
CreateObject(4823,2838.80981445,-242.90449524,100.77634430,0.00000000,0.00000000,121.99996948); //object(lasgrifroad) (1)
CreateObject(5147,2821.88671875,-272.36557007,131.88035583,0.00000000,0.00000000,356.00000000); //object(sanpedbigbrid_las2) (2)
CreateObject(5191,2650.62255859,-260.49334717,127.93320465,0.00000000,0.00000000,86.00000000); //object(nwdkbridd_las2) (1)
CreateObject(5147,2479.72387695,-248.38264465,131.75259399,0.00000000,0.00000000,176.00000000); //object(sanpedbigbrid_las2) (3)
CreateObject(5481,2351.81982422,-253.21934509,119.31492615,0.00000000,0.00000000,21.75000000); //object(laebridge) (1)
CreateObject(5528,2255.71069336,-293.11923218,128.99409485,0.00000000,0.00000000,128.00000000); //object(laeroadct43) (1)
CreateObject(1225,2196.05737305,-334.90322876,133.94154358,0.00000000,0.00000000,0.00000000); //object(barrel4) (2)
CreateObject(1225,2197.31787109,-336.50949097,133.94078064,0.00000000,0.00000000,0.00000000); //object(barrel4) (3)
CreateObject(1225,2196.72192383,-335.67190552,133.93246460,0.00000000,0.00000000,0.00000000); //object(barrel4) (4)
CreateObject(1225,2195.47705078,-334.00122070,133.92388916,0.00000000,0.00000000,0.00000000); //object(barrel4) (5)
CreateObject(1225,2194.93041992,-333.20614624,133.91331482,0.00000000,0.00000000,0.00000000); //object(barrel4) (6)
CreateObject(1225,2194.23681641,-332.57513428,133.77508545,0.00000000,0.00000000,0.00000000); //object(barrel4) (7)
CreateObject(1225,2193.52685547,-331.62454224,133.77041626,0.00000000,0.00000000,0.00000000); //object(barrel4) (8)
CreateObject(1225,2192.90161133,-330.67721558,133.75415039,0.00000000,0.00000000,0.00000000); //object(barrel4) (9)
CreateObject(1225,2191.95922852,-329.38250732,133.74432373,0.00000000,0.00000000,0.00000000); //object(barrel4) (10)
CreateObject(1225,2191.39208984,-328.15472412,133.68879700,0.00000000,0.00000000,0.00000000); //object(barrel4) (11)
CreateObject(1225,2190.14038086,-326.95599365,133.73318481,0.00000000,0.00000000,0.00000000); //object(barrel4) (12)
CreateObject(1225,2189.12133789,-325.55422974,133.72193909,0.00000000,0.00000000,0.00000000); //object(barrel4) (13)
CreateObject(1225,2188.94531250,-324.20367432,133.76040649,0.00000000,0.00000000,0.00000000); //object(barrel4) (14)
CreateObject(1225,2187.77221680,-322.92684937,133.78491211,0.00000000,0.00000000,0.00000000); //object(barrel4) (15)
CreateObject(1225,2186.80175781,-321.89385986,133.80775452,0.00000000,0.00000000,0.00000000); //object(barrel4) (16)
CreateObject(1225,2185.92822266,-321.19226074,133.85365295,0.00000000,0.00000000,0.00000000); //object(barrel4) (17)
CreateObject(5153,2298.50292969,-490.14266968,129.23646545,359.25732422,8.00067139,264.10437012); //object(stuntramp7_las2) (1)
CreateObject(5153,2300.72534180,-490.19613647,129.14533997,359.25292969,7.99804688,264.10437012); //object(stuntramp7_las2) (2)
CreateObject(5153,2302.93408203,-489.97195435,128.93501282,359.25292969,7.99255371,264.10031128); //object(stuntramp7_las2) (3)
CreateObject(5153,2305.14306641,-490.16616821,128.83755493,359.25292969,7.99255371,264.10034180); //object(stuntramp7_las2) (4)
CreateObject(5153,2296.34057617,-490.27154541,129.38365173,359.25292969,7.99804688,264.10034180); //object(stuntramp7_las2) (5)
CreateObject(3578,2946.27587891,-253.46977234,122.96784973,0.00000000,0.00000000,80.00000000); //object(dockbarr1_la) (1)
CreateObject(3578,2944.48071289,-263.59344482,123.12110901,0.00000000,1.50000000,79.99694824); //object(dockbarr1_la) (2)
CreateObject(3578,2942.68188477,-273.76181030,123.38514709,359.50024414,1.75006104,80.01226807); //object(dockbarr1_la) (3)
CreateObject(3578,2937.24267578,-281.73770142,123.54203033,359.24987793,359.99676514,31.99264526); //object(dockbarr1_la) (4)
CreateObject(3578,2928.70727539,-287.09091187,123.50869751,359.49987793,359.74676514,31.98568726); //object(dockbarr1_la) (5)
CreateObject(3578,2920.07763672,-292.47784424,123.49120331,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (6)
CreateObject(3578,2910.95629883,-292.74484253,123.55617523,359.24743652,359.99450684,331.49218750); //object(dockbarr1_la) (7)
CreateObject(3578,2902.75317383,-288.23171997,123.45526123,359.24197388,359.48898315,331.48385620); //object(dockbarr1_la) (8)
CreateObject(3578,2927.80395508,-251.59463501,123.09317780,0.00000000,0.00000000,79.99694824); //object(dockbarr1_la) (9)
CreateObject(3578,2922.64721680,-259.16384888,123.10619354,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (10)
CreateObject(3578,2913.91235352,-264.61685181,123.06881714,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (11)
CreateObject(3578,2910.41015625,-266.78646851,123.07524872,359.24743652,359.99450684,31.99218750); //object(dockbarr1_la) (12)
CreateObject(3578,2901.03002930,-269.20913696,123.07212067,359.24743652,359.99450684,357.99218750); //object(dockbarr1_la) (13)
Comando para ir а Corrida!Coloque esse comando no OnPlayerCommandText
pawn Код:
if (strcmp("/mixed", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 2319.6706, -505.5529, 127.0474);
ResetPlayerWeapons(playerid);
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
format(string,sizeof(string)," %s Foi A Race Mixed(/mixed)",playername);
SendClientMessageToAll(0xFF0000AA,string);
return 1;
}
Nao tem SS mais tem o video que eu fiz \/
[ame]http://www.youtube.com/watch?v=VTXnz05mnBY[/ame]
Creditos а mim: Dylan4021