ReTeS
Сообщение # 1 | 16:41:14 01 Май 2012
Пользователи
Сообщений: 3
Народ, я не разбираюсь в PAWNO и поэтому прошу кого-нибудь помочь мне со скриптом "регистрация и авторизация". У меня есть мод. Просто когда я сам пытаюсь, то всё время какую-нибудь ошибку выдаёт при компиляции. Мне нужно, чтобы я дал код своего мода, а кто-нибудь переделал его и отдал назад. Буду благодарен! Код под спойлером.
#include <a_samp> main() { print("Загрузка мода завершена: TomskMOD\n"); } public OnGameModeInit() { SetGameModeText("TomskMOD"); ShowPlayerMarkers(1); ShowNameTags(1); AddPlayerClass(0,2491.8523,-1681.6765,13.3372,301.5210,28,300,0,0,0,0); // AddPlayerClass(128,2497.3301,-1681.4879,13.3556,47.7419,28,300,0,0,0,0); // AddPlayerClass(103,2492.8044,-1676.2822,13.3381,186.8398,28,300,0,0,0,0); // AddPlayerClass(131,2486.7625,-1682.3187,13.3347,262.9806,28,300,0,0,0,0); // AddPlayerClass(198,2500.1294,-1684.2604,13.4231,85.6322,28,300,0,0,0,0); // AddPlayerClass(154,655.7817,-1867.4170,5.4609,298.1378,24,100,0,0,0,0); // AddPlayerClass(146,658.8044,-1868.0425,5.4609,314.7447,24,100,0,0,0,0); // AddPlayerClass(45,657.4061,-1864.9124,5.4609,269.3109,24,100,0,0,0,0); // AddPlayerClass(140,661.1633,-1868.4919,5.4609,330.7248,24,100,0,0,0,0); // AddPlayerClass(138,664.2831,-1866.5493,5.4609,92.6126,24,100,0,0,0,0); // AddPlayerClass(111,1132.6432,-2036.6267,69.0078,269.9603,23,100,0,0,0,0); // AddPlayerClass(112,1133.6198,-2039.7463,69.0078,279.6738,23,100,0,0,0,0); // AddPlayerClass(113,1133.0120,-2032.7416,69.0078,238.0000,23,100,0,0,0,0); // AddPlayerClass(194,1135.6787,-2044.7389,69.0078,348.9210,23,100,0,0,0,0); // AddPlayerClass(211,1138.0856,-2032.1614,69.0078,160.0026,23,100,0,0,0,0); // AddPlayerClass(1,216.1946,-1437.6886,13.2242,214.3772,15,0,22,100,0,0); // AddPlayerClass(5,212.5717,-1441.3917,13.1700,263.5711,15,0,22,100,0,0); // AddPlayerClass(48,210.5867,-1444.9349,13.1347,193.6971,15,0,22,100,0,0); // AddPlayerClass(67,210.7144,-1448.1083,13.1110,293.3380,15,0,22,100,0,0); // AddPlayerClass(232,216.7252,-1443.2390,13.1940,166.7501,15,0,22,100,0,0); // AddPlayerClass(56,206.1432,-1449.7930,13.0737,237.2508,15,0,22,100,0,0); // AddPlayerClass(214,213.2785,-1446.9441,13.1417,351.2819,15,0,22,100,0,0); // AddStaticVehicle(404,1538.2018,-841.4528,64.2392,271.1494,123,92); // AddStaticVehicle(419,1459.0890,-907.5488,54.6335,0.4226,33,75); // AddStaticVehicle(420,1304.4757,-1136.1687,23.5193,270.9614,6,1); // AddStaticVehicle(424,464.1160,-1782.9010,5.3227,88.2184,3,6); // AddStaticVehicle(424,454.4575,-1782.9418,5.3266,88.8694,2,2); // AddStaticVehicle(467,848.6580,-1624.7258,13.2810,266.5876,68,8); // AddStaticVehicle(481,846.2667,-1627.5156,13.0588,270.4535,46,46); // AddStaticVehicle(546,216.3732,-1417.1816,13.0369,39.8761,2,62); // AddStaticVehicle(522,194.4221,-1437.9285,12.6161,139.6789,39,106); // AddStaticVehicle(522,196.5867,-1439.8773,12.6225,138.8358,3,3); // AddStaticVehicle(571,211.0782,-1419.9436,12.5536,311.8327,11,22); // AddStaticVehicle(571,213.2578,-1422.2998,12.5555,315.0282,2,35); // AddStaticVehicle(571,215.4853,-1424.5297,12.5581,312.3204,51,53); // AddStaticVehicle(571,217.4856,-1426.4457,12.5654,311.2598,11,22); // AddStaticVehicle(571,219.6047,-1428.6620,12.5739,312.7786,36,2); // AddStaticVehicle(522,198.9596,-1441.8369,12.6269,145.7860,8,82); // AddStaticVehicle(522,201.3395,-1443.6934,12.6475,141.0870,39,106); // AddStaticVehicle(522,203.3046,-1445.6978,12.6385,142.1127,3,3); // AddStaticVehicle(409,1250.0566,-1154.3708,23.4972,90.2384,1,1); // AddStaticVehicle(567,1450.8633,-922.7800,37.4492,355.7137,93,64); // AddStaticVehicle(603,1277.7642,-2011.1071,58.7503,3.3583,32,1); // AddStaticVehicle(602,1272.8405,-2010.4364,58.8603,1.5425,32,1); // AddStaticVehicle(406,1349.1206,-2066.3862,58.0342,274.3774,1,1); // AddStaticVehicle(479,2509.8723,-1668.5868,13.2379,4.9346,55,41); // AddStaticVehicle(492,2482.5854,-1694.1548,13.3020,173.0088,81,27); // AddStaticVehicle(509,2446.1646,-1635.4843,12.9285,3.8007,16,1); // AddStaticVehicle(540,2279.1904,-1682.3356,14.1440,189.8579,62,62); // AddStaticVehicle(557,2017.6541,-1177.0848,22.1170,230.5525,1,1); // AddStaticVehicle(558,1652.8047,-1285.6538,14.4092,89.2395,30,1); // AddStaticVehicle(424,656.9946,-1859.8362,5.2056,270.1767,15,30); // AddStaticVehicle(446,357.7087,-1918.0616,-0.6779,6.6213,1,22); // AddStaticVehicle(471,655.8137,-1836.3621,5.5457,23.5168,120,114); // AddStaticVehicle(500,707.1244,-1806.2411,12.5643,74.6237,13,119); // AddStaticVehicle(484,801.0182,-1905.0049,-0.0040,350.8314,66,36); // AddStaticVehicle(507,1290.6588,-1873.1132,13.3718,184.3813,53,53); // AddStaticVehicle(572,1125.6721,-2002.0428,68.5859,89.7534,4,1); // AddStaticVehicle(481,1238.9142,-2042.8633,59.3923,359.4033,26,1); // AddStaticVehicle(448,2390.5132,-1485.0360,23.4289,83.8892,3,6); // AddStaticVehicle(448,2390.6814,-1488.3716,23.4268,94.6279,3,6); // AddStaticVehicle(458,2262.3164,-1100.5803,37.8547,64.6368,25,1); // AddStaticVehicle(467,2205.6614,-1153.4448,25.4807,88.5026,58,8); // AddStaticVehicle(480,2148.1116,-1198.9738,23.6611,88.4744,46,46); // AddStaticVehicle(491,2147.7891,-1189.6091,23.5764,89.9731,71,72); // AddStaticVehicle(497,1545.2778,-1352.8616,329.6519,267.0584,0,1); // AddStaticVehicle(523,1558.3336,-1346.9601,329.0325,81.6097,0,0); // return 1; } public OnPlayerConnect(playerid) { SendClientMessage(playerid, 0xFF0000AA, "Добро пожаловать!"); GivePlayerMoney(playerid, 1000); //Other stuff return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); return 1; } public OnPlayerSpawn(playerid) { SetPlayerInterior(playerid,0); return 1; } public OnPlayerDeath(playerid, killerid, reason) { GivePlayerMoney(killerid, 500); SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); SendDeathMessage(killerid, playerid, reason); return 1; }
Добавлено (01.05.2012, 16:41) --------------------------------------------- UP!
Редактировано ReTeS - Вторник, 01 Май 2012, 11:48:25