Advertisement
Guest User

Untitled

a guest
May 13th, 2011
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 41.93 KB | None | 0 0
  1. #include <a_samp>
  2. #include <a_vehicles>
  3.  
  4.  
  5. #pragma tabsize 0
  6.  
  7. #define DOORS 7
  8. #define LOBBYDOORS 4
  9. #define LOBBYDOORSFOR 2
  10. #define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
  11.  
  12. new Float:EnterDoorsLocation[DOORS][5] = {
  13. {1560.9854,-1714.5687,1724.5034,1560.9763,-1713.5421},
  14. {1555.8888,-1709.4360,1724.5034,1554.9283,-1709.5139},
  15. {1557.8909,-1706.1840,1728.7065,1558.0399,-1707.1331},
  16. {1561.8822,-1668.7150,1730.1050,1562.8739,-1668.6724},
  17. {1561.7932,-1660.0122,1730.1050,1562.9871,-1659.9480},
  18. {1551.3002,-1668.2377,1730.1050,1551.2133,-1667.2531},
  19. {1552.6577,-1670.6925,1730.1050,1552.6289,-1671.6687}
  20. };
  21.  
  22. new Float:EnterLDoorsLocation[LOBBYDOORSFOR][5] = {
  23. {1551.9988,-1690.2657,1723.1050,1552.0723,-1692.4224},
  24. {1560.3329,-1679.0308,1723.1050,1560.3665,-1676.8138}
  25. };
  26.  
  27. new bool:DoorStatus[DOORS];
  28.  
  29. new bool:LDoorsStatus[LOBBYDOORSFOR];
  30.  
  31. new DoorObjects[DOORS];
  32. new LDoorObjects[LOBBYDOORS];
  33.  
  34. new Float:DoorsObjectsInfo[DOORS][6] = {
  35. {1560.74609375,-1714.04785156,1724.83239746,0.00000000,0.00000000,180.00000000},
  36. {1555.40820312,-1709.21386719,1724.83239746,0.00000000,0.00000000,90.00000000},
  37. {1557.70996094,-1706.66113281,1728.91784668,0.00000000,0.00000000,180.00000000},
  38. {1562.37890625,-1668.96679688,1730.43395996,0.00000000,0.00000000,270.00000000},
  39. {1562.38183594,-1660.47460938,1730.43395996,0.00000000,0.00000000,270.00000000},
  40. {1551.52050781,-1667.73339844,1730.43395996,0.00000000,0.00000000,0.00000000},
  41. {1552.38964844,-1671.16992188,1730.43395996,0.00000000,0.00000000,180.00000000}
  42. };
  43.  
  44. new Float:DoorsObjectsInfoMove[DOORS][2] = {
  45. {1562.78088379,-1714.04785156},
  46. {1555.40820312,-1711.23852539},
  47. {1559.78076172,-1706.66113281},
  48. {1562.37890625,-1666.89562988},
  49. {1562.38183594,-1658.96093750},
  50. {1549.43908691,-1667.73339844},
  51. {1554.45117188,-1671.16992188}
  52. };
  53.  
  54. new Float:LDoorsObjectsInfo[LOBBYDOORS][6] = {
  55. {1553.54492188,-1691.42968750,1722.10498047,0.00000000,0.00000000,180.00000000},
  56. {1550.53906250,-1691.45898438,1722.10498047,0.00000000,0.00000000,0.00000000},
  57. {1558.88598633,-1677.85021973,1722.10498047,0.00000000,0.00000000,0.00000000},
  58. {1561.89611816,-1677.81909180,1722.10498047,0.00000000,0.00000000,180.00000000}
  59. };
  60.  
  61. new Float:LDoorsObjectsInfoMove[LOBBYDOORS][2] = {
  62. {1554.59216309,-1691.42968750},
  63. {1549.44067383,-1691.4589843},
  64. {1557.95495605,-1677.84960938},
  65. {1562.96398926,-1677.8183593}
  66. };
  67.  
  68. new Float:Room[2][3] = {
  69. {1555.9056,-1714.4777,1724.5034},
  70. {1554.3938,-1714.6106,1724.5034}
  71. };
  72.  
  73. public OnPlayerCommandText(playerid, cmdtext[])
  74. {
  75.     new cmd[256];
  76.     new idx;
  77.     cmd = strtok(cmdtext, idx);
  78.     if(strcmp(cmd, "/lspddoor", true) == 0)
  79.     {
  80.       for(new i = 0; i < DOORS; i++)
  81.       {
  82.         if(IsPlayerInRangeOfPoint(playerid,1.0,EnterDoorsLocation[i][0],EnterDoorsLocation[i][1],EnterDoorsLocation[i][2]) || IsPlayerInRangeOfPoint(playerid,1.0,EnterDoorsLocation[i][3],EnterDoorsLocation[i][4],EnterDoorsLocation[i][2]))
  83.         {
  84.           if(DoorStatus[i])
  85.           {
  86.           DoorStatus[i] = false;
  87.           MoveObject(DoorObjects[i],DoorsObjectsInfo[i][0],DoorsObjectsInfo[i][1],DoorsObjectsInfo[i][2],4);
  88.           }
  89.           else
  90.           {
  91.           DoorStatus[i] = true;
  92.           MoveObject(DoorObjects[i],DoorsObjectsInfoMove[i][0],DoorsObjectsInfoMove[i][1],DoorsObjectsInfo[i][2],4);
  93.           }
  94.           return 1;
  95.         }
  96.       }
  97.     }
  98.     else if(strcmp(cmd, "/lspdldoor", true) == 0)
  99.     {
  100.       for(new i = 0; i < LOBBYDOORSFOR; i++)
  101.       {
  102.         if(IsPlayerInRangeOfPoint(playerid,2.0,EnterLDoorsLocation[i][0],EnterLDoorsLocation[i][1],EnterLDoorsLocation[i][2]) || IsPlayerInRangeOfPoint(playerid,2.0,EnterLDoorsLocation[i][3],EnterLDoorsLocation[i][4],EnterLDoorsLocation[i][2]))
  103.         {
  104.           if(LDoorsStatus[i])
  105.           {
  106.           LDoorsStatus[i] = false;
  107.           i = i*2;
  108.           MoveObject(LDoorObjects[i],LDoorsObjectsInfo[i][0],LDoorsObjectsInfo[i][1],LDoorsObjectsInfo[i][2],4);
  109.           MoveObject(LDoorObjects[i+1],LDoorsObjectsInfo[i+1][0],LDoorsObjectsInfo[i+1][1],LDoorsObjectsInfo[i+1][2],4);
  110.           }
  111.           else
  112.           {
  113.           LDoorsStatus[i] = true;
  114.           i = i*2;
  115.           MoveObject(LDoorObjects[i],LDoorsObjectsInfoMove[i][0],LDoorsObjectsInfoMove[i][1],LDoorsObjectsInfo[i][2],4);
  116.           MoveObject(LDoorObjects[i+1],LDoorsObjectsInfoMove[i+1][0],LDoorsObjectsInfoMove[i+1][1],LDoorsObjectsInfo[i+1][2],4);
  117.           }
  118.           return 1;
  119.         }
  120.       }
  121.     }
  122.     else if(strcmp(cmd, "/lspd0", true) == 0)
  123.     {
  124.     SetPlayerPos(playerid,1551.74938965,-1680.14990234,1724.10498047);
  125.     SetPlayerInterior(playerid,0);
  126.     }
  127.     return 1;
  128. }
  129.  
  130. public OnFilterScriptInit()
  131. {
  132. print("LSPD Interior (JackBauer) was loaded.");
  133. CreateObject(14847,1560.67871094,-1684.51171875,1725.49560547,0.00000000,0.00000000,90.00000000); //object(sfpd) (1)
  134. CreateObject(14848,1563.08154297,-1682.91552734,1723.49731445,0.00000000,0.00000000,90.00000000); //object(sfpd) (2)
  135. CreateObject(14852,1549.56201172,-1684.63476562,1727.57714844,0.00000000,0.00000000,90.00000000); //object(sfpd) (3)
  136. CreateObject(14892,1571.11718750,-1688.10839844,1728.37902832,0.00000000,0.00000000,90.00000000); //object(sfpd) (4)
  137. CreateObject(14851,1561.02246094,-1684.53417969,1726.22973633,0.00000000,0.00000000,90.00000000); //object(sfpd) (5)
  138. CreateObject(1892,1559.80236816,-1655.60021973,1717.90185547,0.00000000,0.00000000,270.00000000); //object(security_gatsh) (1)
  139. CreateObject(2924,1554.80688477,-1713.90820312,1724.69702148,0.00000000,0.00000000,90.00000000); //object(kmb_crash3door) (1)
  140. CreateObject(2924,1555.51464844,-1713.90820312,1724.69702148,0.00000000,0.00000000,90.00000000); //object(kmb_crash3door) (2)
  141. CreateObject(2173,1553.15002441,-1714.74145508,1723.50341797,0.00000000,0.00000000,180.00000000); //object(med_office_desk_3) (1)
  142. CreateObject(2196,1552.28955078,-1714.36547852,1724.30505371,0.00000000,0.00000000,0.00000000); //object(work_lamp1) (1)
  143. CreateObject(2894,1552.48925781,-1714.76562500,1724.30505371,0.00000000,0.00000000,0.00000000); //object(kmb_rhymesbook) (1)
  144. CreateObject(1671,1552.49035645,-1713.79919434,1723.96362305,0.00000000,0.00000000,0.00000000); //object(swivelchair_a) (1)
  145. CreateObject(2885,1562.73828125,-1683.44140625,1727.90612793,0.00000000,0.00000000,90.00000000); //object(xref_garagedoor) (1)
  146. CreateObject(2885,1562.80480957,-1683.32482910,1727.90612793,0.00000000,0.00000000,270.00000000); //object(xref_garagedoor) (2)
  147. CreateObject(2885,1562.80468750,-1685.83300781,1727.90612793,0.00000000,0.00000000,270.00000000); //object(xref_garagedoor) (3)
  148. CreateObject(2885,1562.73852539,-1685.95922852,1727.90612793,0.00000000,0.00000000,90.00000000); //object(xref_garagedoor) (4)
  149. CreateObject(16500,1552.78637695,-1712.39318848,1722.56091309,0.00000000,0.00000000,90.00000000); //object(cn2_savgardr1_) (6)
  150. CreateObject(16500,1547.79394531,-1712.39257812,1722.56091309,0.00000000,0.00000000,90.00000000); //object(cn2_savgardr1_) (7)
  151. CreateObject(3051,1550.47070312,-1712.48535156,1725.67419434,0.00000000,0.00000000,315.99975586); //object(lift_dr) (12)
  152. CreateObject(3051,1550.47070312,-1712.29602051,1725.67419434,0.00000000,0.00000000,315.99426270); //object(lift_dr) (13)
  153. CreateObject(3051,1554.68652344,-1712.48535156,1725.67419434,0.00000000,0.00000000,315.99426270); //object(lift_dr) (15)
  154. CreateObject(3051,1554.68652344,-1712.29602051,1725.67419434,0.00000000,0.00000000,316.00000000); //object(lift_dr) (16)
  155. CreateObject(14901,1548.45605469,-1685.41992188,1723.69995117,0.00000000,0.00000000,270.00000000); //object(police3-exit02) (1)
  156. CreateObject(1535,1549.74938965,-1683.14990234,1722.10498047,0.00000000,0.00000000,270.00000000); //object(gen_doorext14) (1)
  157. CreateObject(1535,1549.79003906,-1686.17773438,1722.10498047,0.00000000,0.00000000,90.00000000); //object(gen_doorext14) (2)
  158. CreateObject(2886,1558.98632812,-1678.10546875,1723.92883301,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
  159. CreateObject(2886,1553.51757812,-1691.21289062,1723.92883301,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (2)
  160. CreateObject(8167,1563.69824219,-1691.55566406,1724.78186035,0.00000000,0.00000000,90.00000000); //object(apgate1_vegs01) (2)
  161. CreateObject(8167,1552.33715820,-1677.83020020,1724.77709961,0.00000000,0.00000000,270.00000000); //object(apgate1_vegs01) (3)
  162. CreateObject(11631,1554.01733398,-1671.23608398,1723.35778809,0.00000000,0.00000000,0.00000000); //object(ranch_desk) (1)
  163. CreateObject(1806,1554.51452637,-1672.38842773,1722.11193848,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (1)
  164. CreateObject(1827,1563.28576660,-1696.20178223,1722.10498047,0.00000000,0.00000000,0.00000000); //object(man_sdr_tables) (4)
  165. CreateObject(1827,1563.28515625,-1696.20117188,1722.30712891,0.00000000,0.00000000,0.00000000); //object(man_sdr_tables) (5)
  166. CreateObject(18001,1550.60839844,-1712.28515625,1725.11694336,0.00000000,0.00000000,180.00000000); //object(int_barbera07) (1)
  167. CreateObject(18001,1550.60839844,-1712.28515625,1726.53198242,0.00000000,0.00000000,180.00000000); //object(int_barbera07) (3)
  168. CreateObject(3089,1555.40820312,-1710.71386719,1724.83239746,0.00000000,0.00000000,90.00000000); //object(ab_casdorlok) (3)
  169. CreateObject(962,1557.77856445,-1678.10644531,1723.11572266,90.00000000,0.00000000,0.00000000); //object(cj_t_ticket_ped) (1)
  170. CreateObject(1719,1553.14062500,-1714.83398438,1724.35949707,0.00000000,0.00000000,270.00000000); //object(low_console) (1)
  171. CreateObject(2310,1552.54101562,-1716.03710938,1724.00268555,0.00000000,0.00000000,270.00000000); //object(mike_din_chair) (1)
  172. CreateObject(1714,1552.46667480,-1657.15039062,1729.09802246,0.00000000,0.00000000,0.00000000); //object(kb_swivelchair1) (1)
  173. CreateObject(2357,1552.44140625,-1661.65625000,1729.49316406,0.00000000,0.00000000,90.00000000); //object(dunc_dinning) (1)
  174. CreateObject(2112,1552.44140625,-1658.82519531,1729.49023438,0.00000000,0.00000000,0.00000000); //object(med_dinning_4) (1)
  175. CreateObject(1715,1554.10449219,-1660.26550293,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (1)
  176. CreateObject(1714,1554.05102539,-1658.82861328,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair1) (2)
  177. CreateObject(1714,1550.73632812,-1658.89758301,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair1) (3)
  178. CreateObject(1715,1554.10449219,-1661.27514648,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (2)
  179. CreateObject(1715,1554.10449219,-1662.38574219,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (3)
  180. CreateObject(1715,1554.10449219,-1663.39648438,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (4)
  181. CreateObject(1715,1550.66894531,-1660.20129395,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (5)
  182. CreateObject(1715,1550.64208984,-1661.21069336,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (6)
  183. CreateObject(1715,1550.61132812,-1662.32031250,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (7)
  184. CreateObject(1715,1550.58398438,-1663.32910156,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (8)
  185. CreateObject(1808,1553.73730469,-1667.38574219,1729.10498047,0.00000000,0.00000000,180.00000000); //object(cj_watercooler2) (1)
  186. CreateObject(3089,1550.02539062,-1667.73339844,1730.43395996,0.00000000,0.00000000,0.00000000); //object(ab_casdorlok) (6)
  187. CreateObject(2886,1551.25598145,-1667.78076172,1730.70080566,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
  188. CreateObject(2886,1551.21276855,-1667.70092773,1730.70080566,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (1)
  189. CreateObject(3089,1553.88964844,-1671.16992188,1730.43395996,0.00000000,0.00000000,179.99450684); //object(ab_casdorlok) (7)
  190. CreateObject(2886,1552.67163086,-1671.14135742,1730.70080566,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (1)
  191. CreateObject(2886,1552.62487793,-1671.22131348,1730.70080566,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
  192. CreateObject(3089,1562.37890625,-1667.47070312,1730.43395996,0.00000000,0.00000000,270.00000000); //object(ab_casdorlok) (7)
  193. CreateObject(2886,1562.32910156,-1668.71777344,1730.70080566,0.00000000,0.00000000,270.00000000); //object(sec_keypad) (1)
  194. CreateObject(2886,1562.41857910,-1668.67895508,1730.70080566,0.00000000,0.00000000,90.00000000); //object(sec_keypad) (1)
  195. CreateObject(3384,1570.54931641,-1660.98706055,1730.54760742,0.00000000,0.00000000,0.00000000); //object(a51_halbox_) (1)
  196. CreateObject(3386,1568.42443848,-1659.57543945,1729.10498047,0.00000000,0.00000000,90.00000000); //object(a51_srack2_) (1)
  197. CreateObject(3386,1565.91552734,-1659.50573730,1729.10498047,0.00000000,0.00000000,90.00000000); //object(a51_srack2_) (2)
  198. CreateObject(3389,1568.41113281,-1662.43457031,1729.10498047,0.00000000,0.00000000,270.00000000); //object(a51_srack1_) (1)
  199. CreateObject(3389,1565.91699219,-1662.49755859,1729.10498047,0.00000000,0.00000000,270.00000000); //object(a51_srack1_) (2)
  200. CreateObject(2886,1562.24145508,-1660.00793457,1730.70080566,0.00000000,0.00000000,270.00000000); //object(sec_keypad) (1)
  201. CreateObject(2886,1562.54003906,-1659.91796875,1730.70080566,0.00000000,0.00000000,90.00000000); //object(sec_keypad) (1)
  202. CreateObject(2167,1549.90002441,-1675.51330566,1729.10498047,0.00000000,0.00000000,90.00000000); //object(med_office_unit_7) (1)
  203. CreateObject(2184,1553.90136719,-1674.74536133,1729.10498047,0.00000000,0.00000000,180.00000000); //object(med_office6_desk_2) (1)
  204. CreateObject(1715,1552.78625488,-1676.96118164,1729.10498047,0.00000000,0.00000000,180.00000000); //object(kb_swivelchair2) (10)
  205. CreateObject(1663,1553.47058105,-1673.55725098,1729.56518555,0.00000000,0.00000000,340.00000000); //object(swivelchair_b) (1)
  206. CreateObject(1663,1552.19787598,-1673.54150391,1729.56518555,0.00000000,0.00000000,20.00000000); //object(swivelchair_b) (2)
  207. CreateObject(2190,1552.39355469,-1675.08691406,1729.88073730,0.00000000,0.00000000,0.00000000); //object(pc_1) (1)
  208. CreateObject(2297,1562.82421875,-1666.79382324,1729.10498047,0.00000000,0.00000000,46.00000000); //object(tv_unit_2) (1)
  209. CreateObject(2603,1552.25500488,-1655.02832031,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (1)
  210. CreateObject(2603,1552.25500488,-1658.98681641,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (2)
  211. CreateObject(2603,1552.25500488,-1662.92346191,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (3)
  212. CreateObject(2603,1552.25500488,-1667.06469727,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (4)
  213. CreateObject(2700,1553.65832520,-1671.61474609,1732.13171387,0.00000000,0.00000000,272.00000000); //object(cj_sex_tv2) (1)
  214. CreateObject(2817,1564.47656250,-1690.32873535,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_bedrug01) (1)
  215. CreateObject(2818,1564.67028809,-1682.17150879,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_bedrug02) (1)
  216. CreateObject(2835,1564.00378418,-1686.10168457,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_livingrug04) (1)
  217. CreateObject(2841,1564.22680664,-1678.01013184,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_bedrug03) (1)
  218. CreateObject(1721,1556.53173828,-1671.75317383,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (1)
  219. CreateObject(1721,1556.53173828,-1672.43078613,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (2)
  220. CreateObject(1721,1556.53173828,-1673.10839844,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (3)
  221. CreateObject(1721,1556.53173828,-1673.78601074,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (4)
  222. CreateObject(1808,1555.76293945,-1674.85546875,1729.10498047,0.00000000,0.00000000,270.00000000); //object(cj_watercooler2) (2)
  223. CreateObject(1721,1562.08105469,-1666.96472168,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (5)
  224. CreateObject(1721,1562.08105469,-1666.30578613,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (6)
  225. CreateObject(1721,1562.08105469,-1665.64685059,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (7)
  226. CreateObject(1721,1562.08105469,-1664.98791504,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (8)
  227. CreateObject(2257,1571.29980469,-1664.78222656,1730.90466309,0.00000000,0.00000000,270.00000000); //object(frame_clip_4) (1)
  228. CreateObject(2256,1571.31762695,-1669.54663086,1731.16650391,0.00000000,0.00000000,270.00000000); //object(frame_clip_3) (1)
  229. CreateObject(2000,1555.49035645,-1676.11413574,1729.10498047,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu) (1)
  230. CreateObject(949,1549.52465820,-1673.64074707,1730.34765625,0.00000000,0.00000000,0.00000000); //object(plant_pot_4) (1)
  231. CreateObject(2251,1571.62353516,-1667.30151367,1730.55432129,0.00000000,0.00000000,0.00000000); //object(plant_pot_20) (1)
  232. CreateObject(1808,1564.11694336,-1663.53491211,1729.10498047,0.00000000,0.00000000,0.00000000); //object(cj_watercooler2) (3)
  233. CreateObject(2184,1567.99133301,-1666.17102051,1729.10498047,0.00000000,0.00000000,270.00000000); //object(med_office6_desk_2) (2)
  234. CreateObject(1714,1570.14758301,-1667.25878906,1729.10498047,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair1) (4)
  235. CreateObject(2190,1568.19165039,-1667.77246094,1729.88073730,0.00000000,0.00000000,90.00000000); //object(pc_1) (2)
  236. CreateObject(2824,1568.33007812,-1667.22973633,1729.88073730,0.00000000,0.00000000,90.00000000); //object(gb_novels02) (1)
  237. CreateObject(1715,1566.40124512,-1666.55822754,1729.10498047,0.00000000,0.00000000,75.00000000); //object(kb_swivelchair2) (11)
  238. CreateObject(1715,1566.41040039,-1667.98327637,1729.10498047,0.00000000,0.00000000,110.00000000); //object(kb_swivelchair2) (12)
  239. CreateObject(2200,1565.59106445,-1663.47351074,1729.10498047,0.00000000,0.00000000,0.00000000); //object(med_office5_unit_1) (1)
  240. CreateObject(2885,1556.00781250,-1658.21887207,1736.19421387,0.00000000,0.00000000,270.00000000); //object(xref_garagedoor) (2)
  241. CreateObject(2885,1555.90234375,-1658.39062500,1736.19421387,0.00000000,0.00000000,90.00000000); //object(xref_garagedoor) (2)
  242. CreateObject(2885,1567.83386230,-1671.07019043,1735.48669434,0.00000000,0.00000000,180.00000000); //object(xref_garagedoor) (2)
  243. CreateObject(2885,1567.81823730,-1670.98706055,1735.48669434,0.00000000,0.00000000,0.00000000); //object(xref_garagedoor) (2)
  244. CreateObject(2886,1555.43066406,-1709.46289062,1725.24279785,0.00000000,0.00000000,90.00000000); //object(sec_keypad) (1)
  245. CreateObject(2886,1555.37561035,-1709.46911621,1725.24279785,0.00000000,0.00000000,270.00000000); //object(sec_keypad) (1)
  246. CreateObject(2632,1553.70031738,-1700.73779297,1723.54980469,0.00000000,0.00000000,270.00000000); //object(gym_mat02) (1)
  247. CreateObject(2630,1550.83874512,-1704.52331543,1723.50341797,0.00000000,0.00000000,90.00000000); //object(gym_bike) (1)
  248. CreateObject(2627,1551.92639160,-1699.95617676,1723.50341797,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (1)
  249. CreateObject(2627,1550.60864258,-1699.95617676,1723.50341797,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (2)
  250. CreateObject(2628,1554.08422852,-1705.55932617,1723.50341797,0.00000000,0.00000000,180.00000000); //object(gym_bench2) (1)
  251. CreateObject(2630,1550.83874512,-1702.98815918,1723.50341797,0.00000000,0.00000000,88.00000000); //object(gym_bike) (2)
  252. CreateObject(2629,1552.46496582,-1705.62561035,1723.50341797,0.00000000,0.00000000,178.00000000); //object(gym_bench1) (1)
  253. CreateObject(2964,1560.83593750,-1705.22851562,1723.50341797,0.00000000,0.00000000,270.00000000); //object(k_pooltablesm) (2)
  254. CreateObject(1724,1563.44226074,-1708.23388672,1723.50341797,0.00000000,0.00000000,180.00000000); //object(mrk_seating1b) (1)
  255. CreateObject(1723,1561.58520508,-1708.21264648,1723.50341797,0.00000000,0.00000000,180.00000000); //object(mrk_seating1) (1)
  256. CreateObject(1724,1559.09094238,-1702.58728027,1723.50341797,0.00000000,0.00000000,0.00000000); //object(mrk_seating1b) (2)
  257. CreateObject(1723,1560.88977051,-1702.58276367,1723.50341797,0.00000000,0.00000000,0.00000000); //object(mrk_seating1) (2)
  258. CreateObject(3003,1560.84667969,-1704.82128906,1724.43383789,0.00000000,0.00000000,0.00000000); //object(k_poolballcue) (1)
  259. CreateObject(3004,1560.46118164,-1705.93640137,1724.39538574,0.00000000,0.00000000,0.00000000); //object(k_poolq2) (1)
  260. CreateObject(3004,1561.16760254,-1705.94580078,1724.39538574,0.00000000,0.00000000,0.00000000); //object(k_poolq2) (2)
  261. CreateObject(1721,1554.21789551,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (9)
  262. CreateObject(1721,1554.92248535,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (10)
  263. CreateObject(1721,1555.62707520,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (11)
  264. CreateObject(1721,1556.33166504,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (12)
  265. CreateObject(1721,1557.03625488,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (13)
  266. CreateObject(1721,1557.74084473,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (14)
  267. CreateObject(1721,1553.94409180,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (15)
  268. CreateObject(1721,1553.23950195,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (16)
  269. CreateObject(1721,1552.53491211,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (17)
  270. CreateObject(1721,1551.83032227,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (18)
  271. CreateObject(2222,1563.28967285,-1696.23547363,1722.78918457,0.00000000,0.00000000,119.99813843); //object(rustyhigh) (3)
  272. CreateObject(1720,1561.67736816,-1697.38964844,1722.10498047,0.00000000,0.00000000,128.00000000); //object(rest_chair) (1)
  273. CreateObject(1720,1561.54614258,-1696.07861328,1722.10498047,0.00000000,0.00000000,77.99621582); //object(rest_chair) (2)
  274. CreateObject(1720,1564.96582031,-1697.37622070,1722.10498047,0.00000000,0.00000000,223.99195862); //object(rest_chair) (3)
  275. CreateObject(1720,1564.94604492,-1695.55664062,1722.10498047,0.00000000,0.00000000,293.98925781); //object(rest_chair) (4)
  276. CreateObject(3089,1559.20605469,-1706.66113281,1728.91784668,0.00000000,0.00000000,180.00000000); //object(ab_casdorlok) (7)
  277. CreateObject(2886,1558.00878906,-1706.68457031,1729.18823242,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (3)
  278. CreateObject(2886,1557.95312500,-1706.63378906,1729.18823242,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (4)
  279. CreateObject(1502,1555.56237793,-1703.38684082,1727.70654297,0.00000000,0.00000000,180.00000000); //object(gen_doorint04) (1)
  280. CreateObject(1721,1551.09704590,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (19)
  281. CreateObject(1721,1552.02819824,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (20)
  282. CreateObject(1721,1552.95935059,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (21)
  283. CreateObject(1721,1553.89050293,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (22)
  284. CreateObject(1721,1554.82165527,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (23)
  285. CreateObject(1721,1551.09704590,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (25)
  286. CreateObject(1721,1551.09704590,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (26)
  287. CreateObject(1721,1552.02819824,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (27)
  288. CreateObject(1721,1552.95935059,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (28)
  289. CreateObject(1721,1553.89050293,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (29)
  290. CreateObject(1721,1554.82165527,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (30)
  291. CreateObject(1721,1552.01184082,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (31)
  292. CreateObject(1721,1552.91369629,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (32)
  293. CreateObject(1721,1553.85461426,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (33)
  294. CreateObject(1721,1554.80700684,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (34)
  295. CreateObject(1999,1558.81494141,-1710.68615723,1727.72570801,0.00000000,0.00000000,0.00000000); //object(officedesk2) (1)
  296. CreateObject(1999,1559.82641602,-1709.67822266,1727.72570801,0.00000000,0.00000000,180.00000000); //object(officedesk2) (2)
  297. CreateObject(1957,1558.89172363,-1710.63037109,1728.62817383,0.00000000,0.00000000,0.00000000); //object(turn_tablel) (1)
  298. CreateObject(1957,1559.70385742,-1709.80883789,1728.62817383,0.00000000,0.00000000,0.00000000); //object(turn_tablel) (2)
  299. CreateObject(2008,1558.86535645,-1714.37780762,1727.69921875,0.00000000,0.00000000,0.00000000); //object(officedesk1) (1)
  300. CreateObject(2008,1559.88085938,-1713.35485840,1727.69921875,0.00000000,0.00000000,180.00000000); //object(officedesk1) (2)
  301. CreateObject(1719,1559.74975586,-1713.63220215,1728.55371094,0.00000000,0.00000000,0.00000000); //object(low_console) (2)
  302. CreateObject(1719,1559.13940430,-1714.31591797,1728.55371094,0.00000000,0.00000000,182.00000000); //object(low_console) (3)
  303. CreateObject(1663,1559.01013184,-1708.35021973,1728.16674805,0.00000000,0.00000000,0.00000000); //object(swivelchair_b) (3)
  304. CreateObject(1663,1559.00976562,-1712.20214844,1728.16674805,0.00000000,0.00000000,0.00000000); //object(swivelchair_b) (5)
  305. CreateObject(1663,1559.89294434,-1711.88171387,1728.16674805,0.00000000,0.00000000,180.00000000); //object(swivelchair_b) (6)
  306. CreateObject(1663,1559.89294434,-1715.51074219,1728.16674805,0.00000000,0.00000000,180.00000000); //object(swivelchair_b) (7)
  307. CreateObject(14532,1550.55200195,-1702.15393066,1728.90014648,0.00000000,0.00000000,0.00000000); //object(tv_stand_driv) (1)
  308. CreateObject(2198,1557.56054688,-1696.47412109,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office2_desk_3) (5)
  309. CreateObject(1806,1557.24121094,-1694.88769531,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (3)
  310. CreateObject(1806,1556.37817383,-1694.88806152,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (4)
  311. CreateObject(2191,1559.04687500,-1698.02734375,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office2_cab) (1)
  312. CreateObject(2191,1557.22558594,-1698.02819824,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office2_cab) (2)
  313. CreateObject(2172,1556.52722168,-1692.30725098,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office2_desk_1) (2)
  314. CreateObject(2198,1558.88488770,-1693.92224121,1727.69921875,0.00000000,0.00000000,0.00000000); //object(med_office2_desk_3) (6)
  315. CreateObject(1806,1559.80175781,-1695.70605469,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (6)
  316. CreateObject(1806,1558.99414062,-1695.70690918,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (7)
  317. CreateObject(2356,1557.01452637,-1693.47875977,1727.70654297,0.00000000,0.00000000,0.00000000); //object(police_off_chair) (1)
  318. CreateObject(1502,1560.51989746,-1696.82812500,1727.70654297,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (2)
  319. CreateObject(1502,1560.51965332,-1699.01000977,1727.70654297,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (3)
  320. CreateObject(2205,1556.44238281,-1701.60498047,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office8_desk_1) (1)
  321. CreateObject(2205,1557.80004883,-1700.58251953,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office8_desk_1) (2)
  322. CreateObject(1671,1557.09423828,-1702.85571289,1728.15942383,0.00000000,0.00000000,180.00000000); //object(swivelchair_a) (2)
  323. CreateObject(2190,1556.81738281,-1701.32226562,1728.62207031,0.00000000,0.00000000,0.00000000); //object(pc_1) (3)
  324. CreateObject(2201,1558.17187500,-1701.39941406,1728.64306641,0.00000000,0.00000000,0.00000000); //object(printer_1) (1)
  325. CreateObject(14532,1559.96728516,-1701.01232910,1728.68188477,0.00000000,0.00000000,90.00000000); //object(tv_stand_driv) (2)
  326. CreateObject(2854,1557.40283203,-1700.78625488,1728.82421875,0.00000000,0.00000000,0.00000000); //object(gb_bedmags04) (1)
  327. CreateObject(2164,1560.37548828,-1702.00122070,1727.70654297,0.00000000,0.00000000,270.00000000); //object(med_office_unit_5) (1)
  328. CreateObject(14782,1566.07714844,-1670.93994141,1723.12097168,0.00000000,0.00000000,0.00000000); //object(int3int_boxing30) (1)
  329. CreateObject(14782,1566.23303223,-1673.43151855,1723.12097168,0.00000000,0.00000000,180.00000000); //object(int3int_boxing30) (2)
  330. CreateObject(1502,1562.14941406,-1672.91113281,1722.10498047,0.00000000,0.00000000,90.00000000); //object(gen_doorint04) (4)
  331. CreateObject(1502,1562.17163086,-1676.61279297,1722.10498047,0.00000000,0.00000000,90.00000000); //object(gen_doorint04) (5)
  332. CreateObject(1806,1556.59399414,-1699.10717773,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (3)
  333. CreateObject(1806,1557.70556641,-1699.10717773,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (3)
  334. CreateObject(1337,1553.31347656,-1788.25488281,1691.96240234,0.00000000,0.00000000,0.00000000); //object(binnt07_la) (4)
  335. CreateObject(2921,1561.95996094,-1690.80346680,1726.33288574,0.00000000,0.00000000,0.00000000); //object(kmb_cam) (1)
  336. CreateObject(2921,1563.37878418,-1691.18786621,1726.35595703,0.00000000,0.00000000,270.00000000); //object(kmb_cam) (2)
  337. CreateObject(2921,1558.77795410,-1651.90881348,1720.93408203,0.00000000,0.00000000,90.00000000); //object(kmb_cam) (3)
  338. CreateObject(2921,1559.52758789,-1652.37634277,1721.13623047,0.00000000,0.00000000,180.00000000); //object(kmb_cam) (4)
  339. CreateObject(2921,1570.85229492,-1671.30017090,1732.16455078,0.00000000,0.00000000,88.00000000); //object(kmb_cam) (5)
  340. CreateObject(2921,1556.69494629,-1677.58532715,1732.26562500,0.00000000,0.00000000,270.00000000); //object(kmb_cam) (6)
  341. CreateObject(2921,1563.11999512,-1709.06311035,1726.13134766,0.00000000,0.00000000,94.00000000); //object(kmb_cam) (7)
  342. CreateObject(1502,1558.85852051,-1663.34301758,1722.10498047,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (4)
  343. CreateObject(2174,1566.30053711,-1691.22094727,1729.10498047,0.00000000,0.00000000,180.00000000); //object(med_office4_desk_2) (1)
  344. CreateObject(2171,1563.73400879,-1691.14648438,1729.10498047,0.00000000,0.00000000,180.00000000); //object(med_office4_desk_1) (1)
  345. CreateObject(2161,1565.44726562,-1687.77062988,1729.11706543,0.00000000,0.00000000,0.00000000); //object(med_office_unit_4) (1)
  346. CreateObject(2162,1563.05249023,-1687.76892090,1729.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_unit_1) (1)
  347. CreateObject(2165,1565.22155762,-1689.37512207,1729.10498047,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (1)
  348. CreateObject(1671,1563.93786621,-1689.79919434,1729.61035156,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (3)
  349. CreateObject(1663,1566.73889160,-1689.08374023,1729.61035156,0.00000000,0.00000000,300.00000000); //object(swivelchair_b) (4)
  350. CreateObject(1663,1566.76611328,-1690.18054199,1729.61035156,0.00000000,0.00000000,240.00000000); //object(swivelchair_b) (8)
  351. CreateObject(2161,1565.46435547,-1687.51940918,1729.11706543,0.00000000,0.00000000,180.00000000); //object(med_office_unit_4) (3)
  352. CreateObject(2166,1563.80944824,-1687.02160645,1729.10498047,0.00000000,0.00000000,90.00000000); //object(med_office_desk_2) (1)
  353. CreateObject(2174,1564.89343262,-1684.32934570,1729.15502930,0.00000000,0.00000000,0.00000000); //object(med_office4_desk_2) (2)
  354. CreateObject(14532,1563.17456055,-1684.57739258,1730.11572266,0.00000000,0.00000000,215.00000000); //object(tv_stand_driv) (3)
  355. CreateObject(2165,1565.34667969,-1685.17590332,1729.15478516,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (2)
  356. CreateObject(1671,1564.20605469,-1685.72753906,1729.61035156,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (4)
  357. CreateObject(1663,1566.61486816,-1685.55395508,1729.61035156,0.00000000,0.00000000,270.00000000); //object(swivelchair_b) (9)
  358. CreateObject(2186,1565.69592285,-1677.11560059,1729.09509277,0.00000000,0.00000000,270.00000000); //object(photocopier_1) (3)
  359. CreateObject(2186,1563.54333496,-1678.27795410,1729.09509277,0.00000000,0.00000000,90.00000000); //object(photocopier_1) (5)
  360. CreateObject(2197,1568.72607422,-1664.72607422,1729.10498047,0.00000000,0.00000000,0.00000000); //object(filling_cabinet) (1)
  361. CreateObject(2007,1564.67858887,-1676.23291016,1729.00390625,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (1)
  362. CreateObject(2007,1565.69421387,-1679.10168457,1729.00390625,0.00000000,0.00000000,180.00000000); //object(filing_cab_nu01) (1)
  363. CreateObject(2007,1563.36865234,-1679.10168457,1729.00390625,0.00000000,0.00000000,180.00000000); //object(filing_cab_nu01) (1)
  364. CreateObject(2008,1552.15344238,-1668.14440918,1722.10498047,0.00000000,0.00000000,0.00000000); //object(officedesk1) (3)
  365. CreateObject(2008,1555.19653320,-1668.14440918,1722.10498047,0.00000000,0.00000000,0.00000000); //object(officedesk1) (4)
  366. CreateObject(2008,1552.96813965,-1664.46997070,1722.10498047,0.00000000,0.00000000,180.00000000); //object(officedesk1) (5)
  367. CreateObject(2008,1556.25537109,-1664.46997070,1722.10498047,0.00000000,0.00000000,180.00000000); //object(officedesk1) (6)
  368. CreateObject(1806,1556.27856445,-1669.21301270,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (2)
  369. CreateObject(1806,1553.14367676,-1669.21301270,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (5)
  370. CreateObject(1806,1555.33593750,-1663.33398438,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
  371. CreateObject(1806,1551.99780273,-1663.32373047,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (10)
  372. CreateObject(2310,1555.25109863,-1666.83703613,1722.71142578,0.00000000,0.00000000,90.00000000); //object(mike_din_chair) (2)
  373. CreateObject(2310,1552.11328125,-1666.83703613,1722.71142578,0.00000000,0.00000000,90.00000000); //object(mike_din_chair) (3)
  374. CreateObject(2310,1552.75549316,-1665.69445801,1722.71142578,0.00000000,0.00000000,270.00000000); //object(mike_din_chair) (4)
  375. CreateObject(2310,1555.99475098,-1665.69445801,1722.71142578,0.00000000,0.00000000,270.00000000); //object(mike_din_chair) (5)
  376. CreateObject(11631,1552.77868652,-1676.85302734,1723.35778809,0.00000000,0.00000000,180.00000000); //object(ranch_desk) (1)
  377. CreateObject(1806,1552.12463379,-1675.85559082,1722.11193848,0.00000000,0.00000000,178.00000000); //object(med_office_chair) (1)
  378. CreateObject(11631,1557.91186523,-1672.41625977,1723.35778809,0.00000000,0.00000000,270.00000000); //object(ranch_desk) (1)
  379. CreateObject(1806,1556.80505371,-1673.08679199,1722.11193848,0.00000000,0.00000000,270.00000000); //object(med_office_chair) (1)
  380. CreateObject(931,1560.20507812,-1710.06445312,1724.51416016,0.00000000,0.00000000,0.00000000); //object(rack3) (1)
  381. CreateObject(931,1562.64257812,-1712.62792969,1724.51416016,0.00000000,0.00000000,270.00000000); //object(rack3) (2)
  382. CreateObject(1271,1562.61511230,-1710.03332520,1723.85656738,0.00000000,0.00000000,0.00000000); //object(gunbox) (1)
  383. CreateObject(3089,1562.24316406,-1714.04785156,1724.83239746,0.00000000,0.00000000,180.00000000); //object(ab_casdorlok) (4)
  384. CreateObject(2886,1560.97790527,-1714.12109375,1725.24279785,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
  385. CreateObject(2886,1560.94592285,-1713.98901367,1725.24279785,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (1)
  386. CreateObject(1502,1565.73889160,-1714.00488281,1723.50341797,0.00000000,0.00000000,180.00000000); //object(gen_doorint04) (6)
  387. CreateObject(2191,1558.14672852,-1656.89648438,1722.10498047,0.00000000,0.00000000,270.00000000); //object(med_office2_cab) (3)
  388. CreateObject(2191,1557.18811035,-1661.62756348,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office2_cab) (4)
  389. CreateObject(2191,1550.59179688,-1657.45019531,1722.10498047,0.00000000,0.00000000,90.00000000); //object(med_office2_cab) (5)
  390. CreateObject(2191,1552.55883789,-1652.45312500,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office2_cab) (6)
  391. CreateObject(2198,1552.57580566,-1659.56811523,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office2_desk_3) (1)
  392. CreateObject(1806,1553.57202148,-1658.10363770,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
  393. CreateObject(1806,1552.63977051,-1658.05871582,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
  394. CreateObject(1806,1553.21130371,-1661.07482910,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (8)
  395. CreateObject(2198,1554.92443848,-1655.05273438,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office2_desk_3) (2)
  396. CreateObject(1806,1554.71972656,-1656.46240234,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (8)
  397. CreateObject(1806,1553.91113281,-1656.46875000,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (8)
  398. CreateObject(1806,1554.21862793,-1653.47058105,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
  399. CreateObject(2008,1564.51647949,-1663.24877930,1717.90747070,0.00000000,0.00000000,0.00000000); //object(officedesk1) (7)
  400. CreateObject(2008,1561.32775879,-1663.24877930,1717.90747070,0.00000000,0.00000000,0.00000000); //object(officedesk1) (9)
  401. CreateObject(1811,1564.85510254,-1661.63452148,1718.56225586,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (1)
  402. CreateObject(1811,1561.70935059,-1661.63452148,1718.56225586,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
  403. CreateObject(1806,1565.67126465,-1664.52770996,1717.94628906,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (16)
  404. CreateObject(1806,1562.53649902,-1664.52770996,1717.94628906,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (17)
  405. CreateObject(2921,1559.92126465,-1665.72412109,1720.67553711,0.00000000,0.00000000,258.00000000); //object(kmb_cam) (8)
  406. CreateObject(2891,1560.73437500,-1710.38964844,1724.64868164,0.00000000,0.00000000,0.00000000); //object(kmb_packet) (1)
  407. CreateObject(2901,1562.38977051,-1712.76269531,1723.90124512,0.00000000,0.00000000,270.00000000); //object(kmb_marijuana) (1)
  408. CreateObject(2915,1555.06225586,-1700.99914551,1723.60351562,0.00000000,0.00000000,270.00000000); //object(kmb_dumbbell2) (1)
  409. CreateObject(1550,1560.09948730,-1709.87280273,1725.97082520,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (1)
  410. CreateObject(2035,1559.82836914,-1710.27172852,1724.71862793,0.00000000,0.00000000,0.00000000); //object(cj_m16) (1)
  411. CreateObject(2061,1562.53686523,-1712.60485840,1724.93127441,0.00000000,0.00000000,268.00000000); //object(cj_shells1) (1)
  412. CreateObject(1210,1560.26184082,-1710.08776855,1723.77087402,0.00000000,0.00000000,0.00000000); //object(briefcase) (1)
  413. CreateObject(2201,1553.80053711,-1675.03710938,1729.88073730,0.00000000,0.00000000,0.00000000); //object(printer_1) (3)
  414. CreateObject(2201,1568.22265625,-1666.09301758,1729.88073730,0.00000000,0.00000000,70.00000000); //object(printer_1) (5)
  415. CreateObject(14744,1552.19384766,-1717.90905762,1725.06945801,0.00000000,0.00000000,0.00000000); //object(rybathroom) (1)
  416. CreateObject(14744,1552.19335938,-1717.80822754,1725.28747559,0.00000000,0.00000000,0.00000000); //object(rybathroom) (2)
  417. CreateObject(14744,1554.27587891,-1714.96997070,1725.08532715,0.00000000,0.00000000,90.00000000); //object(rybathroom) (3)
  418. CreateObject(2602,1552.75439453,-1664.32360840,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (1)
  419. CreateObject(2602,1552.79748535,-1660.47827148,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (2)
  420. CreateObject(2602,1552.53686523,-1656.51318359,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (3)
  421. CreateObject(2602,1552.79370117,-1652.37243652,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (4)
  422. for(new i = 0; i < DOORS; i++)
  423. {
  424. DoorObjects[i] = CreateObject(3089,DoorsObjectsInfo[i][0],DoorsObjectsInfo[i][1],DoorsObjectsInfo[i][2],DoorsObjectsInfo[i][3],DoorsObjectsInfo[i][4],DoorsObjectsInfo[i][5]);
  425. }
  426. for(new i = 0; i < LOBBYDOORS; i++)
  427. {
  428. LDoorObjects[i] = CreateObject(1495,LDoorsObjectsInfo[i][0],LDoorsObjectsInfo[i][1],LDoorsObjectsInfo[i][2],LDoorsObjectsInfo[i][3],LDoorsObjectsInfo[i][4],LDoorsObjectsInfo[i][5]);
  429. }
  430. return 1;
  431. }
  432.  
  433. public OnFilterScriptExit()
  434. {
  435.   return 1;
  436. }
  437.  
  438. strtok(const string[],&index)
  439. {
  440.   new length = strlen(string);
  441.   while ((index < length) && (string[index] <= ' '))
  442.   {
  443.   index++;
  444.   }
  445.   new offset = index;
  446.   new result[256];
  447.   while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  448.   {
  449.   result[index - offset] = string[index];
  450.   index++;
  451.   }
  452.   result[index - offset] = EOS;
  453.   return result;
  454. }
  455.  
  456. public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
  457. {
  458.   if(PRESSED(KEY_SECONDARY_ATTACK))
  459.   {
  460.     for(new i = 0; i < DOORS; i++)
  461.     {
  462.       if(IsPlayerInRangeOfPoint(playerid,1.0,EnterDoorsLocation[i][0],EnterDoorsLocation[i][1],EnterDoorsLocation[i][2]) || IsPlayerInRangeOfPoint(playerid,1.0,EnterDoorsLocation[i][3],EnterDoorsLocation[i][4],EnterDoorsLocation[i][2]))
  463.       {
  464.         if(DoorStatus[i])
  465.         {
  466.         DoorStatus[i] = false;
  467.         MoveObject(DoorObjects[i],DoorsObjectsInfo[i][0],DoorsObjectsInfo[i][1],DoorsObjectsInfo[i][2],4);
  468.         }
  469.         else
  470.         {
  471.         DoorStatus[i] = true;
  472.         MoveObject(DoorObjects[i],DoorsObjectsInfoMove[i][0],DoorsObjectsInfoMove[i][1],DoorsObjectsInfo[i][2],4);
  473.         }
  474.         return 1;
  475.       }
  476.     }
  477.     if(IsPlayerInRangeOfPoint(playerid,1.0,Room[0][0],Room[0][1],Room[0][2]))
  478.     {
  479.     SetPlayerPos(playerid,Room[1][0],Room[1][1],Room[1][2]);
  480.     }
  481.     else if(IsPlayerInRangeOfPoint(playerid,1.0,Room[1][0],Room[1][1],Room[1][2]))
  482.     {
  483.     SetPlayerPos(playerid,Room[0][0],Room[0][1],Room[0][2]);
  484.     }
  485.   }
  486.   return 1;
  487. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement