[Ajuda] Adicionar objetos
#1

Como adiciono esse objeto/casa/construзгo:
http://pastebin.com/A1ajC9xV

Como faзo para botar no jogo
Reply
#2

Coloque isto dentro da public OnPlayerConnect

PHP код:
RemoveBuildingForPlayer(playerid12831373.4609, -1872.226615.62500.25);
RemoveBuildingForPlayer(playerid179332532.9922, -1289.789139.28130.25);
RemoveBuildingForPlayer(playerid27531397.8333, -1898.879913.29570.25); 
E isto dentro da public OnGameModeInit

PHP код:
CreateObject(30951393.44836, -1898.1357415.80082,   0.000000.00000359.25000);
CreateObject(30951393.46399, -1896.7811315.80082,   0.000000.00000359.24744);
CreateObject(30951384.47168, -1896.7299815.80082,   0.000000.00000359.24744);
CreateObject(30951384.44946, -1898.0306415.80082,   0.000000.00000359.24744);
CreateObject(30951375.46875, -1897.9217515.80082,   0.000000.00000359.24744);
CreateObject(30951368.70313, -1897.8765915.80082,   0.000000.00000359.24744);
CreateObject(30951375.44360, -1889.2623315.80082,   0.000000.000001.99744);
CreateObject(30951369.33679, -1889.4185815.80082,   0.000000.000001.99402);
CreateObject(30951368.88892, -1885.2734415.80082,   0.000000.00000354.78906);
CreateObject(30951377.34875, -1886.4356715.80082,   0.000000.00000349.53699);
CreateObject(29211379.79907, -1882.2641615.68110,   0.000000.00000347.56006);
CreateObject(29211379.79907, -1892.1232915.07121,   0.000000.000000.00000);
CreateObject(29211379.95886, -1892.2878415.07043,   0.000000.00000107.64001);
CreateObject(29211397.52991, -1892.2878415.11948,   0.000000.0000075.74353);
CreateObject(29211397.88232, -1902.3176315.08918,   0.000000.00000336.03979);
CreateObject(29211366.02307, -1902.2888215.12136,   0.000000.00000257.08032);
CreateObject(24431379.45178, -1890.1528312.46797,   0.000000.00000268.28516);
CreateObject(24491394.10205, -1901.5936312.51859,   0.000000.00000177.02551);
CreateObject(24481390.13806, -1901.1849412.51751,   0.000000.00000357.00000);
CreateObject(24941391.98254, -1892.3430213.09674,   0.000000.00000357.96997);
CreateObject(24931392.37988, -1892.3337413.09144,   0.000000.000000.00000);
CreateObject(24921392.80273, -1892.3297113.09729,   0.000000.000000.00000);
CreateObject(25381390.84302, -1892.7767312.47892,   0.000000.000000.00000);
CreateObject(25391388.86853, -1892.7744112.47746,   0.000000.000000.00000);
CreateObject(25401386.89941, -1892.7526912.47594,   0.000000.000000.00000);
CreateObject(25351387.87451, -1892.7706312.47672,   0.000000.000000.00000);
CreateObject(25361384.93127, -1892.7677012.47455,   0.000000.000000.00000);
CreateObject(25371385.92896, -1892.7557412.47524,   0.000000.000000.00000);
CreateObject(25551397.53430, -1899.4677712.50833,   0.000000.00000269.81531);
CreateObject(25551397.54016, -1898.4675312.50467,   0.000000.00000269.81323);
CreateObject(25561397.51257, -1901.9476312.51739,   0.000000.00000269.15967);
CreateObject(25771394.24194, -1892.7122813.19419,   0.000000.0000089.68494);
CreateObject(25781395.83936, -1892.3751213.47862,   0.000000.000000.00000);
CreateObject(25791396.90991, -1892.3652313.47937,   0.000000.000000.00000);
CreateObject(25821397.63403, -1893.8934313.35542,   0.000000.00000270.22522);
CreateObject(25831397.63721, -1895.3527813.36077,   0.000000.00000269.99023);
CreateObject(25901389.65723, -1901.2724614.80749,   0.000000.00000119.64001);
CreateObject(26211392.15076, -1894.4921913.25535,   0.000000.00000359.50000);
CreateObject(26201396.04700, -1894.3725613.26558,   0.000000.000000.00000);
CreateObject(26221394.17468, -1894.7849113.27353,   0.000000.000000.00000);
CreateObject(26261376.89661, -1886.7003213.00067,   0.000000.0000089.26001);
CreateObject(26261373.69482, -1886.5795913.01853,   0.000000.0000089.25842);
CreateObject(26261370.62415, -1886.4735113.03101,   0.000000.0000089.25842);
CreateObject(28031388.67603, -1901.6387913.17554,   0.000000.0000041.86499);
CreateObject(28041391.55371, -1901.3747613.85820,   0.000000.00000278.21021);
CreateObject(28041390.77795, -1901.3967313.85820,   0.000000.00000278.20679);
CreateObject(28051389.18701, -1902.5889915.03438,   0.000000.000000.00000);
CreateObject(28711390.59644, -1896.2562312.49148,   0.000000.00000180.54016);
CreateObject(28711389.61938, -1896.2668512.49080,   0.000000.00000180.53833);
CreateObject(23741384.67651, -1902.3022513.69621,   0.000000.00000177.32013);
CreateObject(23771383.77185, -1902.3034713.68216,   0.000000.00000179.42566);
CreateObject(23781382.98254, -1902.3367913.67438,   0.000000.00000180.58545);
CreateObject(23811381.34656, -1901.8977112.90839,   0.000000.000000.00000);
CreateObject(23821381.75574, -1900.7722212.94643,   0.000000.00000270.36035);
CreateObject(23841385.02112, -1902.2064212.62490,   0.000000.000000.00000);
CreateObject(23841385.51050, -1902.2032512.62488,   0.000000.000000.00000);
CreateObject(23921380.89905, -1900.8066412.90825,   0.000000.0000089.77509);
CreateObject(23941379.28821, -1902.1761512.92900,   0.000000.00000357.76501);
CreateObject(23961379.99023, -1902.4699713.84279,   0.000000.00000174.41492);
CreateObject(24071385.50220, -1902.1519813.09710,   0.000000.00000176.52502);
CreateObject(180921384.59631, -1899.7910212.81468,   0.000000.000000.00000);
CreateObject(20531382.84668, -1900.2454813.37451,   0.000000.000000.00000);
CreateObject(20531382.53882, -1900.2581813.37451,   0.000000.000000.00000);
CreateObject(20531382.28076, -1899.9895013.37451,   0.000000.000000.00000);
CreateObject(20521382.83057, -1899.8198213.31520,   0.000000.000000.00000);
CreateObject(20521382.52100, -1899.7163113.31520,   0.000000.000000.00000);
CreateObject(20541382.94141, -1899.4331113.31520,   0.000000.000000.00000);
CreateObject(20541382.64453, -1899.3177513.31520,   0.000000.000000.00000);
CreateObject(20541382.29114, -1899.4371313.31520,   0.000000.000000.00000);
CreateObject(23711377.59680, -1901.6752912.51901,   0.000000.000000.00000);
CreateObject(23221365.98376, -1897.2127713.27695,   0.000000.0000089.72534);
CreateObject(22321365.93958, -1896.4454313.12070,   0.000000.0000087.69995);
CreateObject(23171366.00574, -1899.1218312.77644,   0.000000.0000091.71503);
CreateObject(23181365.86389, -1896.4346914.00388,   0.000000.0000089.68494);
CreateObject(23201366.13489, -1895.5505413.46531,   0.000000.0000089.72998);
CreateObject(23221365.96973, -1899.0904513.26381,   0.000000.0000091.66995);
CreateObject(23441366.18396, -1895.1810313.23046,   0.000000.00000262.28528);
CreateObject(25171370.77905, -1901.7999312.51965,   0.000000.0000087.83508);
CreateObject(25171371.99402, -1901.8256812.51978,   0.000000.0000087.83020);
CreateObject(25191372.30713, -1901.6897012.51909,   0.000000.000000.00000);
CreateObject(25211368.35217, -1901.9488512.52041,   0.000000.00000180.54053);
CreateObject(25211367.81946, -1901.9364012.52035,   0.000000.00000180.53833);
CreateObject(25261372.29443, -1899.5900912.50832,   0.000000.000000.00000);
CreateObject(25271370.73169, -1900.3562012.51225,   0.000000.000000.00000);
CreateObject(25951365.67969, -1898.0776414.08386,   0.000000.000000.00000);
CreateObject(25961365.67969, -1894.8724414.07704,   0.000000.0000089.68494);
CreateObject(26031375.04028, -1901.4908413.58606,   312.359990.000000.00000);
CreateObject(26271366.83813, -1893.4456812.52328,   0.000000.0000091.71500);
CreateObject(26281366.68896, -1892.5089112.52515,   0.000000.0000091.76007);
CreateObject(26291366.28394, -1891.1938512.52873,   0.000000.00000358.01501);
CreateObject(26301367.37183, -1891.3061512.52328,   0.000000.000000.00000);
CreateObject(27001365.67969, -1899.1348914.01042,   0.000000.000000.00000);
CreateObject(28351380.65747, -1893.5814212.47750,   0.000000.0000010.10510);
CreateObject(28361380.76282, -1893.7941912.47860,   0.000000.0000016.06006);
CreateObject(28411381.16138, -1894.0473612.50489,   0.000000.0000037.84998);
CreateObject(28421380.82703, -1893.3496112.47632,   0.000000.000000.00000);
CreateObject(28471380.11938, -1892.3254414.10146,   0.0000091.31003270.36035);
CreateObject(9701377.27148, -1889.7552513.03223,   0.000000.0000091.66995);
CreateObject(9701374.06409, -1889.6295213.04413,   0.000000.0000091.66992);
CreateObject(9701371.00952, -1889.5274713.05917,   0.000000.0000091.66992);
CreateObject(9701368.11975, -1885.4433613.07827,   0.000000.00000179.08984);
CreateObject(9701366.04321, -1885.4016113.08798,   0.000000.00000178.83813);
CreateObject(14241376.32068, -1891.5205112.99282,   0.000000.000000.00000);
CreateObject(14241373.12537, -1891.4003913.00858,   0.000000.000000.00000);
CreateObject(14241370.09204, -1891.3026113.02351,   0.000000.000001.98499);
CreateObject(14241369.15588, -1890.0712913.02959,   0.000000.00000271.50317);
CreateObject(14241372.14746, -1890.1909213.01483,   0.000000.00000271.49963);
CreateObject(14241372.09595, -1888.2093513.01750,   0.000000.00000271.49963);
CreateObject(14241372.04810, -1886.2421913.02014,   0.000000.00000271.49963);
CreateObject(14241375.35144, -1890.2606212.99910,   0.000000.00000271.49963);
CreateObject(14241375.30090, -1888.2827113.00580,   0.000000.00000271.49963);
CreateObject(14241375.25195, -1886.3010313.00609,   0.000000.00000271.49963);
CreateObject(14241366.59021, -1889.2097213.04317,   0.000000.00000359.15430);
CreateObject(24001381.36963, -1892.2878413.45489,   0.000000.000000.00000);
CreateObject(26501383.71472, -1892.3808613.35497,   0.000000.000000.00000);
CreateObject(28711388.64307, -1896.2800312.49014,   0.000000.00000180.53833);
CreateObject(28711387.66370, -1896.2923612.48946,   0.000000.00000180.53833);
CreateObject(28711386.69958, -1896.3026112.49146,   0.000000.00000180.53833);
CreateObject(28711385.71680, -1896.3153112.49152,   0.000000.00000180.53833);
CreateObject(28711390.61646, -1897.2745412.49522,   0.000000.000003.92285);
CreateObject(28711389.63623, -1897.3377712.49474,   0.000000.000003.92212);
CreateObject(28711388.64783, -1897.4039312.49711,   0.000000.000003.92212);
CreateObject(28711387.66138, -1897.4685112.49744,   0.000000.000003.92212);
CreateObject(28711386.67712, -1897.5373512.49779,   0.000000.000003.92212);
CreateObject(28711385.69434, -1897.6024212.49813,   0.000000.000003.92212);
CreateObject(28711384.95020, -1896.9510512.49479,   0.000000.00000272.25232);
CreateObject(24431379.43677, -1891.1033912.46797,   0.000000.00000268.28064);
CreateObject(30551376.00684, -1881.7078913.05214,   0.000000.00000353.54504);
CreateObject(30551366.88367, -1880.6063213.05214,   0.000000.00000353.54004);
CreateObject(15231370.73767, -1881.1106012.54688,   0.000000.00000351.51501);
CreateObject(27141371.49707, -1881.2296115.30120,   0.000000.00000171.56506);
CreateObject(39201372.91113, -1881.4054015.28868,   0.000000.00000351.78003);
CreateObject(13641368.23926, -1879.9493413.33100,   0.000000.00000173.36987);
CreateObject(13641375.88440, -1880.8774413.33100,   0.000000.00000173.36975);
CreateObject(7121375.12915, -1879.5926522.24950,   0.000000.000000.00000);
CreateObject(7121368.51270, -1879.0136721.07995,   0.000000.000000.00000);
CreateObject(147051383.83105, -1899.4973113.48800,   0.000000.000000.00000);
CreateObject(23131366.28320, -1896.221681.58560,   0.000000.000000.00000); 
Reply
#3

Caramba... Cara, tenta ler tutoriais.. Hoje em dia hб muitos! Seu gamemode vai ser umas mesclagem de sistemas da net? Se quiser criar coisas proprias tente ler tutorias para fazer seus sistemas.. Eu uso mapas da net, mas nгo tenho muitas dъvidas por que eu li a wiki e varios tutoriais (inclusive a serie do paulor)..

Isso seria o basico!

Coloque os RemoveBuildingForPlayer na onplayerconnect e os createobject em ongamemodeinit.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)