01.08.2018, 09:25
Error: ./includes/prison_system.pwn(449) : error 055: start of function body without function header
PHP код:
// Streamer.pwn
forward LoadStreamerDynamicObjects();
{
DocCellRoomDoors[0] = CreateDynamicObject(1495, 568.36981, 1453.9955, 5999.47168, 0.00000, 0.00000, 270.00000); // cell block 1
DocCellRoomDoors[1] = CreateDynamicObject(1495, 572.8498, 1453.9955, 5999.47168, 0.00000, 0.00000, 270.00000); // cell block 2
DocCellRoomDoors[2] = CreateDynamicObject(1495, 585.77289, 1448.87915, 5999.45947, 0.00000, 0.00000, 90.00000); // showers
DocCellRoomDoors[3] = CreateDynamicObject(1495, 553.98120, 1466.11426, 5999.44971, 0.00000, 0.00000, 0.00000); // cafe 1
DocCellRoomDoors[4] = CreateDynamicObject(1495, 553.98169, 1474.47205, 5999.48877, 0.00000, 0.00000, 0.00000); // cafe 2
DocCellRoomDoors[5] = CreateDynamicObject(1495, 583.51978, 1455.05212, 5999.47266, 0.00000, 0.00000, 0.00000); // laundry
DocCellRoomDoors[6] = CreateDynamicObject(1495, 531.66589, 1428.00647, 10999.45703, 0.00000, 0.00000, 0.00000); // isolation
DocCellRoomDoors[7] = CreateDynamicObject(1495, 566.54053, 1462.30774, 6003.41699, 0.00000, 0.00000, 0.00000); // control panel
DocCellRoomDoors[8] = CreateDynamicObject(1569, 572.9866, 1447.5975, 5999.4727, 0.00000, 0.00000, 90.00000); // small control room
DocCellRoomDoors[9] = CreateDynamicObject(1569, 597.01477, 1452.43774, 5999.44873, 0.00000, 0.00000, 90.00000); // processing 1
DocCellRoomDoors[10] = CreateDynamicObject(1569, 599.12000, 1451.45422, 5999.47754, 0.00000, 0.00000, 0.00000); // processing 2
DocCellRoomDoors[11] = CreateDynamicObject(1569, 589.21820, 1448.87537, 5999.46826, 0.00000, 0.00000, 90.00000); // processing 3
DocCellRoomDoors[12] = CreateDynamicObject(1569, 579.57898, 1463.63379, 5999.46143, 0.00000, 0.00000, 90.00000); // classroom
DocCellRoomDoors[13] = CreateDynamicObject(1569, 572.99377, 1468.63940, 5999.43994, 0.00000, 0.00000, 90.00000); // closet
DocCellRoomDoors[14] = CreateDynamicObject(1569, 572.98419, 1434.65295, 5999.52295, 0.00000, 0.00000, 90.00000); // medward
DocCellRoomDoors[15] = CreateDynamicObject(1569, 575.50751, 1461.82019, 5999.47168, 0.00000, 0.00000, 0.00000); // hallway
DocCellRoomDoors[16] = CreateDynamicObject(1495, 526.92139, 1414.63281, 10999.45703, 0.00000, 0.00000, 270.00000); // lobby 1
DocCellRoomDoors[17] = CreateDynamicObject(1495, 529.96143, 1414.63281, 10999.45703, 0.00000, 0.00000, 270.00000); // lobby 2
DocCellRoomDoors[18] = CreateDynamicObject(1495, 542.2069, 1417.86682, 10999.45703, 0.00000, 0.00000, 90.00000); // visitation
DocCellsFloor1[0] = CreateDynamicObject(19302, 567.21069, 1445.88171, 6000.74609, 0.00000, 0.00000, 0.00000); // cell 1 - floor 1
DocCellsFloor1[1] = CreateDynamicObject(19302, 563.58539, 1445.88171, 6000.74609, 0.00000, 0.00000, 0.00000); // cell 2 - floor 1
DocCellsFloor1[2] = CreateDynamicObject(19302, 559.87738, 1445.88171, 6000.74609, 0.00000, 0.00000, 0.00000); // cell 3 - floor 1
DocCellsFloor1[3] = CreateDynamicObject(19302, 556.21832, 1445.88171, 6000.74609, 0.00000, 0.00000, 0.00000); // cell 4 - floor 1
DocCellsFloor1[4] = CreateDynamicObject(19302, 552.55121, 1445.88171, 6000.74609, 0.00000, 0.00000, 0.00000); // cell 5 - floor 1
DocCellsFloor1[5] = CreateDynamicObject(19302, 548.86353, 1445.88171, 6000.74609, 0.00000, 0.00000, 0.00000); // cell 6 - floor 1
DocCellsFloor1[6] = CreateDynamicObject(19302, 545.21039, 1445.86316, 6000.74609, 0.00000, 0.00000, 0.00000); // cell 7 - floor 1
DocCellsFloor1[7] = CreateDynamicObject(19302, 542.56842, 1446.81152, 6000.74609, 0.00000, 0.00000, 270.00000); // cell 8 - floor 1
DocCellsFloor1[8] = CreateDynamicObject(19302, 542.54321, 1450.46936, 6000.74609, 0.00000, 0.00000, 270.00000); // cell 9 - floor 1
DocCellsFloor1[9] = CreateDynamicObject(19302, 542.55432, 1454.13354, 6000.74609, 0.00000, 0.00000, 270.00000); // cell 10 - floor 1
DocCellsFloor1[10] = CreateDynamicObject(19302, 542.55432, 1457.79626, 6000.74609, 0.00000, 0.00000, 270.00000); // cell 11 - floor 1
DocCellsFloor1[11] = CreateDynamicObject(19302, 543.48657, 1462.26819, 6000.74609, 0.00000, 0.00000, 180.00000); // cell 12 - floor 1
DocCellsFloor1[12] = CreateDynamicObject(19302, 547.16162, 1462.26819, 6000.74609, 0.00000, 0.00000, 180.00000); // cell 13 - floor 1
DocCellsFloor1[13] = CreateDynamicObject(19302, 550.84277, 1462.28821, 6000.74609, 0.00000, 0.00000, 180.00000); // cell 14 - floor 1
DocCellsFloor1[14] = CreateDynamicObject(19302, 556.91632, 1462.26819, 6000.74609, 0.00000, 0.00000, 180.00000); // cell 15 - floor 1
DocCellsFloor1[15] = CreateDynamicObject(19302, 560.60620, 1462.26819, 6000.74609, 0.00000, 0.00000, 180.00000); // cell 16 - floor 1
DocCellsFloor2[0] = CreateDynamicObject(19302, 567.23071, 1445.88171, 6004.63135, 0.00000, 0.00000, 0.00000); // cell 1 - floor 2
DocCellsFloor2[1] = CreateDynamicObject(19302, 563.58539, 1445.88171, 6004.63135, 0.00000, 0.00000, 0.00000); // cell 1 - floor 2
DocCellsFloor2[2] = CreateDynamicObject(19302, 559.87738, 1445.88171, 6004.63135, 0.00000, 0.00000, 0.00000); // cell 2 - floor 2
DocCellsFloor2[3] = CreateDynamicObject(19302, 556.21832, 1445.88171, 6004.63135, 0.00000, 0.00000, 0.00000); // cell 3 - floor 2
DocCellsFloor2[4] = CreateDynamicObject(19302, 552.55121, 1445.88171, 6004.63135, 0.00000, 0.00000, 0.00000); // cell 4 - floor 2
DocCellsFloor2[5] = CreateDynamicObject(19302, 548.86353, 1445.88171, 6004.63135, 0.00000, 0.00000, 0.00000); // cell 5 - floor 2
DocCellsFloor2[6] = CreateDynamicObject(19302, 545.21039, 1445.86316, 6004.63135, 0.00000, 0.00000, 0.00000); // cell 6 - floor 2
DocCellsFloor2[7] = CreateDynamicObject(19302, 542.56842, 1446.81152, 6004.63135, 0.00000, 0.00000, 270.00000); // cell 7 - floor 2
DocCellsFloor2[8] = CreateDynamicObject(19302, 542.54321, 1450.46936, 6004.63135, 0.00000, 0.00000, 270.00000); // cell 8 - floor 2
DocCellsFloor2[9] = CreateDynamicObject(19302, 542.55432, 1454.13354, 6004.63135, 0.00000, 0.00000, 270.00000); // cell 9 - floor 2
DocCellsFloor2[10] = CreateDynamicObject(19302, 542.55432, 1457.79626, 6004.63135, 0.00000, 0.00000, 270.00000); // cell 10 - floor 2
DocCellsFloor2[11] = CreateDynamicObject(19302, 543.48657, 1462.26819, 6004.63135, 0.00000, 0.00000, 180.00000); // cell 11 - floor 2
DocCellsFloor2[12] = CreateDynamicObject(19302, 547.16162, 1462.26819, 6004.63135, 0.00000, 0.00000, 180.00000); // cell 12 - floor 2
DocCellsFloor2[13] = CreateDynamicObject(19302, 550.84277, 1462.28821, 6004.63135, 0.00000, 0.00000, 180.00000); // cell 13 - floor 2
DocCellsFloor2[14] = CreateDynamicObject(19302, 556.91632, 1462.26819, 6004.63135, 0.00000, 0.00000, 180.00000); // cell 14 - floor 2
// doc buttons (includes/streamer/buttons.pwn)
DocCPButton[0] = CreateButton(562.11182, 1466.07971, 6004.94434, 0.00000);
DocCPButton[1] = CreateButton(568.39807, 1448.59290, 6001.06250, 90.00000);
DocButton[0] = CreateButton(568.43280, 1454.26233, 6000.82764, 90.00000); // cell block 1
DocButton[1] = CreateButton(572.89282, 1454.26233, 6000.82764, 90.00000); // cell block 2
DocButton[2] = CreateButton(585.79999, 1450.63147, 6000.82764, 90.00000); // showers
DocButton[3] = CreateButton(555.69019, 1466.07507, 6000.82764, 0.00000); // cafe
DocButton[4] = CreateButton(555.69019, 1474.57507, 6000.82764, 180.00000); // cafe
DocButton[5] = CreateButton(585.50427, 1455.00159, 6000.82764, 0.00000); // laundry
DocButton[6] = CreateButton(533.41315, 1427.92419, 11000.79883, 0.00000); // isolation
DocButton[7] = CreateButton(566.26862, 1462.26050, 6004.94434, 0.00000); // control room
DocButton[8] = CreateButton(573.03278, 1449.44226, 6000.82764, 90.00000); //small control room
DocButton[9] = CreateButton(596.94958, 1452.18896, 6000.82764, 270.00000); // processing 1
DocButton[10] = CreateButton(598.88861, 1451.52319, 6000.82764, 180.00000); // processing 2
DocButton[11] = CreateButton(589.25580, 1450.58044, 6000.82764, 90.00000); // processing 3
DocButton[12] = CreateButton(579.50372, 1463.32056, 6000.82764, 270.00000); // classroom
DocButton[13] = CreateButton(572.92511, 1470.46106, 6000.82764, 270.00000); // janitors
DocButton[14] = CreateButton(572.91278, 1436.46228, 6000.82764, 270.00000); // med ward
DocButton[15] = CreateButton(577.34839, 1461.79333, 6000.82764, 0.00000); // hallway
DocButton[16] = CreateButton(526.89038, 1414.83362, 11000.79883, 270.00000); // lobby1
DocButton[17] = CreateButton(529.95319, 1414.83459, 11000.79883, 270.00000); // lobby 2
DocButton[18] = CreateButton(542.25250, 1419.69385, 11000.79883, 90.00000); //visitation
return 1;
}