Advertisement
Guest User

Prison Gamemode by Flashbrot

a guest
May 1st, 2013
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 51.05 KB | None | 0 0
  1. #include <a_samp>
  2. #include <ocmd>
  3. #include <sscanf2>
  4.  
  5. #pragma tabsize 0
  6.  
  7. new gTeam[MAX_PLAYERS];
  8. new tor; //Das Tor zwischen dem Gefängnishof und der Außenwelt
  9. new prisonenter; //Hier können Gefangene rein
  10. new prisonenter2; //Hier können Cops rein
  11. new prisonexit; //Hier können Gefangene raus
  12. new prisonexit2; //Hier können Cops raus
  13.  
  14. //Textdraws
  15. new Text:Textdraw0;
  16. new Text:Textdraw1;
  17. new Text:Textdraw2; //infobox
  18.  
  19. #define TEAM_COPS 0
  20. #define TEAM_PRISONERS 1
  21. #define TEAM_MAFIA 2
  22.  
  23. //Farben
  24. #define BLAU 0x0000FFFF
  25. #define WEISS 0xFFFFFFFF
  26. #define GRAU 0xAFAFAFAA
  27. #define GREEN 0x008000FF
  28. #define ORANGE 0xFF880000
  29. #define GELB 0xFFFF00FF
  30. #define ROT 0xFF6347AA
  31. #define ROT2 0xAA3333AA
  32.  
  33. main()
  34. {
  35.     print("\n-----------------------------------------");
  36.     print(" Gamemode erfolgreich geladen");
  37.     print("-----------------------------------------\n");
  38. }
  39.  
  40.  
  41. ocmd:veh(playerid,params[])
  42. {
  43.     new ModelID, color[2],Float:VehPos[4], vehicleid;
  44.     if(GetPlayerState(playerid)!=PLAYER_STATE_ONFOOT) return SendClientMessage(playerid,0xB0AFB0FF,"Du bist nicht zu Fuss");
  45.     if(sscanf(params, "ddd",ModelID,color[0],color[1])) return SendClientMessage(playerid,0xB0AFB0FF, "/veh [vehicleid] [color1] [color2]");
  46.     if(ModelID < 400 || ModelID > 611) return SendClientMessage(playerid,0xB0AFB0FF, "Die Fahrzeug Id muss von 400 bis 611 sein");
  47.     if(color[0] < 0 || color[0] > 126 || color[1] < 0 || color[1] > 126) return SendClientMessage(playerid,0xB0AFB0FF, "the colorid must be between  0 - 126");
  48.         GetPlayerPos(playerid, VehPos[0],VehPos[1],VehPos[2]);
  49.         GetPlayerFacingAngle(playerid, VehPos[3]);
  50.         vehicleid = CreateVehicle(ModelID,VehPos[0],VehPos[1],VehPos[2],VehPos[3],color[0],color[1],-1);
  51.         LinkVehicleToInterior(vehicleid,GetPlayerInterior(playerid));
  52.         SetVehicleVirtualWorld(vehicleid,GetPlayerVirtualWorld(playerid));
  53.         PutPlayerInVehicle(playerid, vehicleid, 0);
  54.     return 1;
  55. }
  56.  
  57. public OnGameModeInit()
  58. {
  59.     UsePlayerPedAnims();
  60.     SetGameModeText("Prison Roleplay by LPR");
  61.     AddPlayerClass(283, 183.4820,3774.8311,9.7522,96.5006, 0, 0, 0, 0, 0, 0); //Cops
  62.     AddPlayerClass(29, 221.3998,3857.4988,9.8322,358.3903, 0, 0, 0, 0, 0, 0); //Gefangene
  63.     AddPlayerClass(296, 341.2556,3503.4758,7.6428,264.3873, 0, 0, 0, 0, 0, 0); //Mafia
  64.  
  65. //Textdraws
  66.     Textdraw0 = TextDrawCreate(208.000000, 28.000000, "Willkommen auf");
  67.     TextDrawBackgroundColor(Textdraw0, 255);
  68.     TextDrawFont(Textdraw0, 2);
  69.     TextDrawLetterSize(Textdraw0, 0.450000, 3.400000);
  70.     TextDrawColor(Textdraw0, 16777215);
  71.     TextDrawSetOutline(Textdraw0, 0);
  72.     TextDrawSetProportional(Textdraw0, 1);
  73.     TextDrawSetShadow(Textdraw0, 1);
  74.  
  75.     Textdraw1 = TextDrawCreate(257.000000, 53.000000, "Server Name");
  76.     TextDrawBackgroundColor(Textdraw1, 255);
  77.     TextDrawFont(Textdraw1, 0);
  78.     TextDrawLetterSize(Textdraw1, 0.800000, 3.999999);
  79.     TextDrawColor(Textdraw1, 16711935);
  80.     TextDrawSetOutline(Textdraw1, 0);
  81.     TextDrawSetProportional(Textdraw1, 1);
  82.     TextDrawSetShadow(Textdraw1, 1);
  83.    
  84.     Textdraw2 = TextDrawCreate(2.000000, 432.000000, "Befehle: /help                                                        Version: 0.3");
  85.     TextDrawBackgroundColor(Textdraw2, 255);
  86.     TextDrawFont(Textdraw2, 1);
  87.     TextDrawLetterSize(Textdraw2, 0.500000, 1.400000);
  88.     TextDrawColor(Textdraw2, -1);
  89.     TextDrawSetOutline(Textdraw2, 0);
  90.     TextDrawSetProportional(Textdraw2, 1);
  91.     TextDrawSetShadow(Textdraw2, 1);
  92.     TextDrawUseBox(Textdraw2, 1);
  93.     TextDrawBoxColor(Textdraw2, 255);
  94.     TextDrawTextSize(Textdraw2, 678.000000, 6.000000);
  95.  
  96. //Pickups
  97. prisonenter = CreatePickup(1318, 2, 221.4755,3855.4817,9.8322, -1);
  98. prisonenter2 = CreatePickup(1318, 2, 186.0004,3774.9424,9.7522, -1);
  99. prisonexit = CreatePickup(1318, 2, 1780.2256,-1576.6533,1734.9430, -1);//prisonexit für gefangene
  100. prisonexit2 = CreatePickup(1318, 2, 1765.2118,-1568.8854,1742.4929, -1);//prisonexit für cops
  101.  
  102. //Map
  103. CreateObject(7996, 222.36, 3889.34, 6.84,   0.00, 0.00, 0.00);
  104. CreateObject(7996, 212.72, 3750.75, 6.76,   0.00, 0.00, 0.00);
  105. CreateObject(16258, 284.88, 3775.39, -11.28,   0.00, 0.00, 280.43);
  106. CreateObject(16258, 288.45, 3822.35, -11.42,   0.00, 0.00, 283.24);
  107. CreateObject(16258, 284.99, 3795.61, -21.79,   0.00, 0.00, 292.28);
  108. CreateObject(16258, 293.24, 3853.09, -4.21,   0.00, 0.00, 283.24);
  109. CreateObject(16258, 219.28, 3975.01, -9.50,   0.00, 0.00, 6.12);
  110. CreateObject(18751, 323.49, 3707.89, 6.13,   0.00, 0.00, 355.24);
  111. CreateObject(16258, 347.15, 3857.35, -27.17,   0.00, 0.00, 270.34);
  112. CreateObject(16258, 351.82, 3805.19, -24.00,   0.00, 0.00, 106.78);
  113. CreateObject(16258, 348.02, 3892.45, -13.25,   0.00, 0.00, 283.24);
  114. CreateObject(16258, 177.92, 3972.47, -10.37,   0.00, 0.00, 13.36);
  115. CreateObject(16258, 82.08, 3903.91, -8.58,   0.00, 0.00, 272.92);
  116. CreateObject(16258, 256.49, 3974.40, -38.29,   0.00, 0.00, 357.98);
  117. CreateObject(16258, 62.79, 3822.87, -32.09,   0.00, 0.00, 277.59);
  118. CreateObject(16258, 82.46, 3867.51, -25.40,   0.00, 0.00, 278.84);
  119. CreateObject(16258, 62.07, 3787.90, -12.51,   0.00, 0.00, 288.61);
  120. CreateObject(16258, 298.15, 3850.13, 3.32,   0.00, 0.00, 283.24);
  121. CreateObject(16121, 294.15, 3811.57, 27.12,   0.00, 0.00, 353.47);
  122. CreateObject(0, 293.65, 3807.99, 31.16,   0.00, 0.00, 222.67);
  123. CreateObject(16118, 83.85, 3871.00, 8.16,   0.00, 0.00, 339.84);
  124. CreateObject(16118, 54.67, 3898.65, -7.89,   0.00, 0.00, 258.95);
  125. CreateObject(16118, 222.15, 4002.66, -7.73,   0.00, 0.00, 230.00);
  126. CreateObject(16118, 342.51, 3963.50, 6.19,   0.00, 0.00, 63.02);
  127. CreateObject(6886, 173.05, 3618.05, 8.66,   0.00, 0.00, 179.83);
  128. CreateObject(16121, 257.43, 3679.20, -0.67,   0.00, 0.00, 226.90);
  129. CreateObject(16258, 373.48, 3643.03, -22.66,   0.00, 0.00, 193.32);
  130. CreateObject(16258, 396.01, 3644.68, -22.76,   0.00, 0.00, 193.99);
  131. CreateObject(16258, 428.77, 3640.30, -14.74,   0.00, 0.00, 193.58);
  132. CreateObject(16121, 240.11, 3604.36, -0.94,   0.00, 0.00, 167.09);
  133. CreateObject(16121, 289.89, 3645.89, 7.86,   0.00, 0.00, 284.31);
  134. CreateObject(16121, 283.06, 3647.22, 7.20,   0.00, 0.00, 307.48);
  135. CreateObject(16258, 326.03, 3585.90, -22.05,   0.00, 0.00, 39.78);
  136. CreateObject(16258, 327.44, 3529.10, -27.20,   0.00, 0.00, 42.74);
  137. CreateObject(16118, 368.57, 3585.08, 5.95,   0.00, 0.00, 179.59);
  138. CreateObject(16118, 368.16, 3558.00, 4.39,   0.00, 0.00, 178.22);
  139. CreateObject(16118, 337.91, 3549.15, -2.45,   0.00, 0.00, 350.57);
  140. CreateObject(16118, 328.23, 3550.29, -5.34,   0.00, 0.00, 351.70);
  141. CreateObject(16118, 336.73, 3567.15, 3.17,   0.00, 0.00, 350.76);
  142. CreateObject(16118, 326.83, 3573.67, -1.62,   0.00, 0.00, 349.46);
  143. CreateObject(16258, 367.50, 3605.30, -19.95,   0.00, 0.00, 233.62);
  144. CreateObject(16258, 142.63, 3591.29, -24.80,   0.00, 0.00, 44.32);
  145. CreateObject(16258, 195.70, 3607.39, -38.38,   0.00, 0.00, 345.77);
  146. CreateObject(16121, 285.68, 3660.56, 2.94,   0.00, 0.00, 219.18);
  147. CreateObject(16121, 234.35, 3633.44, -1.17,   0.00, 0.00, 144.54);
  148. CreateObject(16121, 236.54, 3627.42, -2.19,   0.00, 0.00, 151.72);
  149. CreateObject(16258, 221.22, 3608.13, -33.72,   0.00, 0.00, 345.06);
  150. CreateObject(16258, 116.01, 3591.92, -20.18,   0.00, 0.00, 44.32);
  151. CreateObject(16258, 62.92, 3589.37, -27.51,   0.00, 0.00, 46.39);
  152. CreateObject(16258, 88.83, 3592.48, -24.80,   0.00, 0.00, 44.32);
  153. CreateObject(16258, 42.27, 3673.48, -16.01,   0.00, 0.00, 325.19);
  154. CreateObject(16118, 103.63, 3648.79, 6.47,   0.00, 0.00, 98.13);
  155. CreateObject(16118, 112.09, 3651.89, 7.57,   0.00, 0.00, 87.85);
  156. CreateObject(16258, 24.78, 3656.40, -28.85,   0.00, 0.00, 328.35);
  157. CreateObject(16258, 12.78, 3643.40, -18.85,   0.00, 0.00, 324.24);
  158. CreateObject(16258, -22.58, 3633.55, -16.61,   0.00, 0.00, 315.18);
  159. CreateObject(16258, 63.17, 3764.15, -35.93,   0.00, 0.00, 271.74);
  160. CreateObject(16258, 35.16, 3737.72, -20.62,   0.00, 0.00, 271.76);
  161. CreateObject(16118, 28.55, 3661.10, 7.84,   0.00, 0.00, 125.12);
  162. CreateObject(0, 1667.48, 723.09, 28.81,   0.00, 0.00, 0.00);
  163. CreateObject(16118, 422.62, 3595.40, -0.95,   0.00, 0.00, 177.25);
  164. CreateObject(18778, 352.76, 3526.96, 7.58,   -7.00, 0.00, 359.31);
  165. CreateObject(8071, 365.32, 3566.06, 7.76,   0.00, 0.00, 268.43);
  166. CreateObject(8071, 362.93, 3478.55, -84.13,   0.00, 90.00, 88.23);
  167. CreateObject(6417, 432.52, 3482.89, -9.08,   0.00, 0.00, 358.39);
  168. CreateObject(6417, 446.33, 3482.42, -12.05,   0.00, 0.00, 358.39);
  169. CreateObject(16258, 419.48, 3625.48, -33.58,   0.00, 0.00, 298.76);
  170. CreateObject(3406, 455.17, 3508.93, -1.67,   0.00, 0.00, 267.60);
  171. CreateObject(3406, 454.79, 3500.16, -1.67,   0.00, 0.00, 267.60);
  172. CreateObject(3406, 454.18, 3474.08, -1.67,   0.00, 0.00, 270.53);
  173. CreateObject(3406, 454.43, 3491.41, -1.67,   0.00, 0.00, 267.60);
  174. CreateObject(3406, 454.21, 3482.81, -1.67,   0.00, 0.00, 269.03);
  175. CreateObject(3406, 454.23, 3465.35, -1.67,   0.00, 0.00, 270.23);
  176. CreateObject(3399, 440.09, 3506.77, 5.72,   0.00, 0.00, 268.55);
  177. CreateObject(3399, 442.19, 3506.71, 5.72,   0.00, 0.00, 268.55);
  178. CreateObject(3399, 452.95, 3463.79, 2.75,   0.00, 0.00, 264.77);
  179. CreateObject(6295, 429.60, 3440.17, 31.03,   0.00, 0.00, 357.17);
  180. CreateObject(8071, -37.01, 3606.97, 8.37,   0.00, 0.00, 88.41);
  181. CreateObject(16258, 59.57, 3556.32, -17.57,   0.00, 0.00, 44.32);
  182. CreateObject(16118, -7.85, 3623.39, 3.20,   0.00, 0.00, 268.45);
  183. CreateObject(16118, -8.18, 3593.76, 0.62,   0.00, 0.00, 79.67);
  184. CreateObject(18778, -20.96, 3608.44, 7.01,   0.00, 0.00, 269.67);
  185. CreateObject(16118, -0.52, 3592.56, -2.05,   0.00, 0.00, 79.67);
  186. CreateObject(16258, -36.64, 3701.95, -34.20,   0.00, 0.00, 34.59);
  187. CreateObject(8071, -95.20, 3579.89, -83.46,   0.00, 90.00, 358.33);
  188. CreateObject(16258, -118.67, 3556.54, -34.86,   0.00, 0.00, 105.68);
  189. CreateObject(16118, -97.74, 3580.72, -3.61,   0.00, 0.00, 352.91);
  190. CreateObject(16118, -17.03, 3516.49, -4.01,   0.00, 0.00, 79.50);
  191. CreateObject(16118, -60.12, 3518.16, -1.97,   0.00, 0.00, 79.50);
  192. CreateObject(16118, -38.97, 3511.84, -5.66,   0.00, 0.00, 77.43);
  193. CreateObject(8071, -239.03, 3559.87, 6.05,   180.00, 0.00, 90.00);
  194. CreateObject(10767, -327.59, 3726.20, -6.17,   0.00, 0.00, 44.88);
  195. CreateObject(10767, -327.91, 3556.05, -6.19,   0.00, 0.00, 44.88);
  196. CreateObject(16118, -305.11, 3638.16, -10.66,   0.00, 0.00, 343.56);
  197. CreateObject(16118, -296.82, 3648.55, -10.66,   0.00, 0.00, 343.69);
  198. CreateObject(10766, -327.12, 3853.51, 6.47,   0.00, 0.00, 359.74);
  199. CreateObject(10766, -327.94, 3428.63, 6.47,   0.08, -0.10, 179.87);
  200. CreateObject(16118, -285.33, 3463.32, -8.56,   0.18, -0.12, 55.12);
  201. CreateObject(16118, -352.63, 3468.08, -10.26,   0.18, -0.12, 2.11);
  202. CreateObject(16118, -260.59, 3464.84, -7.84,   0.18, -0.12, 77.24);
  203. CreateObject(16118, -194.54, 3469.89, -7.84,   0.18, -0.12, 77.24);
  204. CreateObject(16118, -250.48, 3465.02, -7.84,   0.18, -0.12, 77.24);
  205. CreateObject(16118, -240.44, 3465.32, -7.84,   0.18, -0.12, 77.24);
  206. CreateObject(16118, -230.40, 3464.57, -7.84,   0.18, -0.12, 77.24);
  207. CreateObject(16118, -219.96, 3463.79, -7.84,   0.18, -0.12, 77.24);
  208. CreateObject(16118, -209.98, 3466.18, -7.84,   0.18, -0.12, 77.24);
  209. CreateObject(16118, -199.40, 3468.72, -7.84,   0.18, -0.12, 77.24);
  210. CreateObject(16118, -180.54, 3632.81, -6.09,   0.18, -0.12, 168.19);
  211. CreateObject(16118, -178.69, 3492.29, -8.29,   0.18, -0.12, 161.97);
  212. CreateObject(16118, -178.68, 3502.56, -3.94,   0.18, -0.12, 162.79);
  213. CreateObject(16118, -179.67, 3588.80, -8.29,   0.18, -0.12, 164.43);
  214. CreateObject(16118, -180.35, 3600.21, -6.09,   0.18, -0.12, 168.19);
  215. CreateObject(16118, -179.06, 3625.46, -6.09,   0.18, -0.12, 168.19);
  216. CreateObject(16118, -177.33, 3502.88, -6.36,   0.18, -0.12, 162.79);
  217. CreateObject(16118, -177.33, 3502.88, -6.57,   0.18, -0.12, 162.79);
  218. CreateObject(16118, -287.45, 3650.53, -7.97,   0.18, -0.12, 257.23);
  219. CreateObject(16118, -204.41, 3650.13, -7.97,   0.18, -0.12, 263.53);
  220. CreateObject(16118, -230.37, 3651.24, -7.97,   0.18, -0.12, 257.23);
  221. CreateObject(16118, -236.72, 3651.14, -7.97,   0.18, -0.12, 257.23);
  222. CreateObject(16118, -244.24, 3650.41, -7.97,   0.18, -0.12, 257.23);
  223. CreateObject(16118, -251.13, 3650.84, -7.97,   0.18, -0.12, 257.23);
  224. CreateObject(16118, -259.38, 3650.79, -7.97,   0.18, -0.12, 257.23);
  225. CreateObject(16118, -267.99, 3650.78, -7.97,   0.18, -0.12, 257.23);
  226. CreateObject(16118, -275.82, 3651.69, -7.97,   0.18, -0.12, 257.23);
  227. CreateObject(19300, -179.49, 3517.67, 32.05,   0.00, 0.00, 0.00);
  228. CreateObject(18802, -135.13, 3542.37, 8.85,   0.00, 0.00, 360.12);
  229. CreateObject(18802, -155.14, 3542.27, 8.87,   0.00, 0.00, 180.37);
  230. CreateObject(18802, -175.05, 3542.26, 8.86,   0.00, 0.00, 359.74);
  231. CreateObject(18802, -115.14, 3542.41, 8.85,   0.00, 0.00, 180.18);
  232. CreateObject(18802, -95.26, 3542.52, 4.71,   0.00, 0.00, 180.43);
  233. CreateObject(16118, -98.62, 3570.13, -2.87,   0.00, 0.00, 351.84);
  234. CreateObject(16118, -175.27, 3559.04, -2.58,   0.00, 0.00, 261.00);
  235. CreateObject(16118, -122.96, 3557.91, -2.58,   0.00, 0.00, 261.00);
  236. CreateObject(16118, -132.10, 3557.59, -2.58,   0.00, 0.00, 261.00);
  237. CreateObject(16118, -141.03, 3557.69, -2.58,   0.00, 0.00, 261.00);
  238. CreateObject(16118, -163.48, 3558.14, -2.58,   0.00, 0.00, 261.00);
  239. CreateObject(16118, -166.87, 3556.80, -2.58,   0.00, 0.00, 261.00);
  240. CreateObject(16118, -159.38, 3528.09, -3.41,   0.00, 0.00, 83.38);
  241. CreateObject(16118, -114.28, 3528.91, -2.18,   0.00, 0.00, 87.94);
  242. CreateObject(16118, -167.83, 3527.73, -3.41,   0.00, 0.00, 84.99);
  243. CreateObject(16118, -151.47, 3527.86, -3.41,   0.00, 0.00, 84.99);
  244. CreateObject(16118, -144.73, 3528.92, -3.41,   0.00, 0.00, 87.94);
  245. CreateObject(16118, -124.35, 3527.93, -3.41,   0.00, 0.00, 87.94);
  246. CreateObject(16118, -176.85, 3505.78, -2.42,   0.18, -0.12, 162.79);
  247. CreateObject(3816, -225.44, 3612.26, 15.71,   0.00, 0.00, 0.14);
  248. CreateObject(10763, -217.28, 3499.15, 39.74,   0.00, 0.00, 45.51);
  249. CreateObject(10810, -272.17, 3488.84, 11.85,   0.00, 0.00, 20.09);
  250. CreateObject(1682, -276.61, 3490.82, 23.15,   0.00, 0.00, 359.59);
  251. CreateObject(1278, -250.43, 3575.49, 17.30,   0.00, 0.00, 0.00);
  252. CreateObject(1278, -276.92, 3505.59, 19.81,   0.00, 0.00, 0.00);
  253. CreateObject(1278, -248.88, 3504.56, 18.69,   0.00, 0.00, 0.00);
  254. CreateObject(1278, -200.67, 3574.61, 17.30,   0.00, 0.00, 0.00);
  255. CreateObject(4508, 361.27, 3608.55, 11.63,   0.00, 0.00, 180.88);
  256. CreateObject(10835, 201.88, 3668.12, 11.42,   0.00, 0.00, 307.46);
  257. CreateObject(10835, 82.41, 3744.88, 11.65,   0.00, 0.00, 209.91);
  258. CreateObject(10835, 104.67, 3869.32, 11.65,   0.00, 0.00, 210.22);
  259. CreateObject(10835, 210.54, 3948.76, 11.65,   0.00, 0.00, 105.75);
  260. CreateObject(9901, 219.75, 3774.82, 34.37,   0.00, 0.00, 359.77);
  261. CreateObject(10835, 197.15, 3838.52, 11.75,   0.00, 0.00, 301.98);
  262. CreateObject(1278, 176.38, 3785.60, 17.84,   0.00, 0.00, 0.00);
  263. CreateObject(1278, 126.58, 3871.00, 15.03,   0.00, 0.00, 0.51);
  264. CreateObject(1278, 175.22, 3709.71, 17.84,   0.00, 0.00, 0.00);
  265. CreateObject(1278, 175.35, 3764.62, 17.84,   0.00, 0.00, 0.00);
  266. CreateObject(1278, 175.86, 3831.85, 17.84,   0.00, 0.00, 0.00);
  267. CreateObject(1278, 178.48, 3863.95, 17.43,   0.00, 0.00, 0.00);
  268. CreateObject(1278, 234.81, 3860.42, 17.43,   0.00, 0.00, 0.00);
  269. CreateObject(1278, 248.87, 3912.87, 15.33,   0.00, 0.00, 0.51);
  270. CreateObject(1278, 200.03, 3932.88, 15.03,   0.00, 0.00, 0.51);
  271. CreateObject(1278, 147.37, 3937.82, 15.03,   0.00, 0.00, 0.51);
  272. CreateObject(1278, 399.65, 3499.15, 6.60,   0.00, 0.00, 0.00);
  273. CreateObject(1278, 366.43, 3501.15, 6.60,   0.00, 0.00, 0.00);
  274. CreateObject(1231, 431.11, 3512.49, 9.89,   0.00, 0.00, 359.28);
  275. CreateObject(1231, 445.93, 3512.25, 6.40,   0.00, 0.00, 359.18);
  276. CreateObject(1231, 430.01, 3467.62, 9.89,   0.00, 0.00, 359.28);
  277. CreateObject(1231, 430.28, 3476.54, 9.89,   0.00, 0.00, 359.28);
  278. CreateObject(1231, 430.46, 3485.70, 9.89,   0.00, 0.00, 359.28);
  279. CreateObject(1231, 430.82, 3494.53, 9.89,   0.00, 0.00, 359.28);
  280. CreateObject(1231, 431.07, 3503.57, 9.89,   0.00, 0.00, 359.28);
  281. CreateObject(1231, 429.77, 3458.52, 9.89,   0.00, 0.00, 359.28);
  282. CreateObject(1231, 444.50, 3458.18, 6.40,   0.00, 0.00, 359.18);
  283. CreateObject(1231, 444.65, 3467.09, 6.40,   0.00, 0.00, 359.18);
  284. CreateObject(1231, 444.83, 3476.09, 6.40,   0.00, 0.00, 359.18);
  285. CreateObject(1231, 445.10, 3485.15, 6.40,   0.00, 0.00, 359.18);
  286. CreateObject(1231, 445.33, 3494.18, 6.40,   0.00, 0.00, 359.18);
  287. CreateObject(1231, 445.76, 3503.37, 6.40,   0.00, 0.00, 359.18);
  288. CreateObject(1278, -57.19, 3623.53, 17.25,   0.00, 0.00, 0.00);
  289. CreateObject(1278, -60.30, 3542.76, 18.17,   0.00, 0.00, 0.00);
  290. CreateObject(1278, -56.76, 3581.39, 18.17,   0.00, 0.00, 0.00);
  291. CreateObject(645, 344.34, 3531.67, 6.92,   0.00, 0.00, 358.84);
  292. CreateObject(645, 361.09, 3530.98, 7.52,   0.00, 0.00, 358.84);
  293. CreateObject(645, 289.50, 3479.99, 19.77,   0.00, 0.00, 3.84);
  294. CreateObject(645, 266.87, 3557.07, 23.61,   0.00, 0.00, 0.00);
  295. CreateObject(645, 107.07, 3552.42, 24.15,   0.00, 0.00, 0.00);
  296. CreateObject(645, 254.93, 3593.74, 10.79,   0.00, 0.00, 0.00);
  297. CreateObject(645, 214.78, 3622.29, 24.79,   0.00, 0.00, 0.00);
  298. CreateObject(645, 136.83, 3653.26, 20.67,   0.00, 0.00, 0.00);
  299. CreateObject(645, 5.62, 3661.33, -253.53,   0.00, 0.00, 0.00);
  300. CreateObject(645, 134.44, 3606.91, 31.80,   0.00, 0.00, 0.00);
  301. CreateObject(645, 67.40, 3580.45, 30.78,   0.00, 0.00, 0.00);
  302. CreateObject(645, 9.96, 3526.70, 28.09,   0.00, 0.00, 0.00);
  303. CreateObject(645, -109.71, 3640.69, 15.76,   0.00, 0.00, 0.00);
  304. CreateObject(645, -7.75, 3570.74, 30.92,   0.00, 0.00, 0.00);
  305. CreateObject(645, 86.37, 3702.12, 35.85,   0.00, 0.00, 3.80);
  306. CreateObject(645, -64.81, 3665.04, 31.86,   0.00, 0.00, 0.00);
  307. CreateObject(645, -4.74, 3692.60, 30.52,   0.00, 0.00, 0.00);
  308. CreateObject(645, 83.38, 3788.16, 22.71,   0.00, 0.00, 13.18);
  309. CreateObject(645, 50.61, 3713.42, 37.81,   0.00, 0.00, 3.80);
  310. CreateObject(645, 210.70, 3986.15, 11.00,   0.00, 0.00, 8.16);
  311. CreateObject(645, 77.43, 3752.50, 14.26,   0.00, 0.00, 3.80);
  312. CreateObject(645, 29.60, 3756.70, 15.76,   0.00, 0.00, 3.80);
  313. CreateObject(645, 67.05, 3818.50, 42.09,   0.00, 0.00, 6.40);
  314. CreateObject(645, 53.31, 3853.30, 38.70,   0.00, 0.00, 6.40);
  315. CreateObject(645, 71.62, 3869.06, 16.25,   0.00, 0.00, 6.40);
  316. CreateObject(645, 70.73, 3908.24, 22.36,   0.00, 0.00, 6.40);
  317. CreateObject(645, 82.76, 3934.74, 36.20,   0.00, 0.00, 6.40);
  318. CreateObject(645, 93.64, 3963.78, 36.20,   0.00, 0.00, 6.40);
  319. CreateObject(645, 120.49, 3959.92, 36.20,   0.00, 0.00, 6.40);
  320. CreateObject(647, 218.90, 3990.66, 12.15,   0.00, 0.00, 0.00);
  321. CreateObject(647, 207.47, 3990.75, 11.03,   0.00, 0.00, 0.00);
  322. CreateObject(647, 198.75, 3993.30, 11.03,   0.00, 0.00, 0.00);
  323. CreateObject(647, 202.60, 4001.53, 9.09,   0.00, 0.00, 0.00);
  324. CreateObject(645, 284.25, 3908.98, 46.33,   0.00, 0.00, 6.40);
  325. CreateObject(645, 176.94, 3957.50, 35.69,   0.00, 0.00, 6.40);
  326. CreateObject(645, 227.62, 3973.86, 35.69,   0.00, 0.00, 6.40);
  327. CreateObject(645, 285.86, 3956.49, 38.52,   0.00, 0.00, 6.40);
  328. CreateObject(645, 351.02, 3881.25, 25.59,   0.00, 0.00, 8.16);
  329. CreateObject(645, 307.88, 3969.50, 38.52,   0.00, 0.00, 6.40);
  330. CreateObject(645, 289.96, 3705.43, 45.51,   0.00, 0.00, 11.24);
  331. CreateObject(645, 343.53, 3923.76, 31.09,   0.00, 0.00, 8.16);
  332. CreateObject(645, 305.59, 3900.92, 47.90,   0.00, 0.00, 8.16);
  333. CreateObject(645, 282.45, 3832.92, 44.15,   0.00, 0.00, 8.16);
  334. CreateObject(645, 299.53, 3777.19, 51.59,   0.00, 0.00, 11.24);
  335. CreateObject(645, 341.01, 3807.64, 36.80,   0.00, 0.00, 11.24);
  336. CreateObject(645, 363.75, 3752.97, 21.90,   0.00, 0.00, 11.24);
  337. CreateObject(645, 479.14, 3649.93, 33.99,   0.00, 0.00, 0.00);
  338. CreateObject(645, 281.91, 3595.79, 14.20,   0.00, 0.00, 0.00);
  339. CreateObject(645, 348.79, 3648.57, 32.63,   0.00, 0.00, 0.00);
  340. CreateObject(645, 409.00, 3657.28, 23.37,   0.00, 0.00, 0.00);
  341. CreateObject(645, 401.99, 3566.16, 22.76,   0.00, 0.00, 0.00);
  342. CreateObject(707, 104.75, 3750.81, 6.46,   0.00, 0.00, 358.10);
  343. CreateObject(707, 103.27, 3692.43, 8.21,   0.00, 0.00, 0.55);
  344. CreateObject(707, 113.40, 3809.86, 6.46,   0.00, 0.00, 358.10);
  345. CreateObject(707, -103.50, 3618.17, 15.31,   0.00, 0.00, 29.86);
  346. CreateObject(707, -89.74, 3521.88, 11.29,   0.00, 0.00, 356.32);
  347. CreateObject(707, 452.18, 3525.08, 13.83,   0.00, 0.00, 358.25);
  348. CreateObject(707, 424.90, 3525.39, 14.41,   0.00, 0.00, 0.00);
  349. CreateObject(707, 312.05, 3505.83, 18.35,   0.00, 0.00, 359.76);
  350. CreateObject(669, 137.57, 3684.90, 8.19,   0.00, 0.00, 0.00);
  351. CreateObject(669, 216.90, 3684.35, 8.19,   0.00, 0.00, 0.00);
  352. CreateObject(669, 186.42, 3683.29, 8.19,   0.00, 0.00, 0.00);
  353. CreateObject(669, 158.87, 3683.77, 8.19,   0.00, 0.00, 0.00);
  354. CreateObject(620, -184.27, 3552.07, 4.58,   0.00, 0.00, 3.27);
  355. CreateObject(620, -97.63, 3549.31, 3.97,   0.00, 0.00, 3.27);
  356. CreateObject(620, -184.30, 3534.68, 4.58,   0.00, 0.00, 3.27);
  357. CreateObject(620, -98.11, 3535.91, 3.97,   0.00, 0.00, 3.27);
  358. CreateObject(10838, -86.73, 3546.09, 22.83,   0.00, 0.00, 177.19);
  359. CreateObject(10757, -87.26, 3548.09, 26.22,   0.00, 0.00, 58.41);
  360. CreateObject(1294, -176.53, 3547.90, 13.96,   0.00, 0.00, 90.00);
  361. CreateObject(1294, -109.38, 3548.78, 12.53,   0.00, 0.00, 90.00);
  362. CreateObject(1294, -156.37, 3547.70, 14.42,   0.00, 0.00, 90.00);
  363. CreateObject(1294, -133.43, 3548.03, 14.73,   0.00, 0.00, 90.00);
  364. CreateObject(1294, -11.34, 3613.34, 12.73,   0.00, 0.00, 90.00);
  365. CreateObject(1294, 357.38, 3543.98, 12.84,   0.00, 0.00, 0.00);
  366. CreateObject(1294, 2.95, 3613.27, 12.73,   0.00, 0.00, 90.00);
  367. CreateObject(1294, 16.26, 3613.45, 12.73,   0.00, 0.00, 90.00);
  368. CreateObject(1294, 27.77, 3623.64, 12.84,   0.00, 0.00, 135.00);
  369. CreateObject(1294, 38.20, 3633.86, 12.84,   0.00, 0.00, 135.00);
  370. CreateObject(1294, 49.13, 3644.98, 12.84,   0.00, 0.00, 135.00);
  371. CreateObject(1294, 61.79, 3657.14, 12.84,   0.00, 0.00, 135.00);
  372. CreateObject(1294, 72.38, 3667.78, 12.84,   0.00, 0.00, 135.00);
  373. CreateObject(1294, 84.16, 3672.85, 12.84,   0.00, 0.00, 90.00);
  374. CreateObject(1294, 103.90, 3672.74, 12.84,   0.00, 0.00, 90.00);
  375. CreateObject(1294, 122.07, 3672.75, 12.84,   0.00, 0.00, 90.00);
  376. CreateObject(1294, 140.12, 3672.73, 12.84,   0.00, 0.00, 90.00);
  377. CreateObject(1294, 158.96, 3672.54, 12.84,   0.00, 0.00, 90.00);
  378. CreateObject(1294, 176.03, 3672.53, 12.84,   0.00, 0.00, 90.00);
  379. CreateObject(1294, 195.53, 3672.38, 12.84,   0.00, 0.00, 90.00);
  380. CreateObject(1294, 215.65, 3672.18, 12.84,   0.00, 0.00, 90.00);
  381. CreateObject(1294, 232.61, 3672.36, 12.84,   0.00, 0.00, 90.00);
  382. CreateObject(1294, 248.46, 3671.10, 12.84,   0.00, 0.00, 90.00);
  383. CreateObject(1294, 257.44, 3658.00, 12.84,   0.00, 0.00, 0.00);
  384. CreateObject(1294, 257.45, 3638.68, 12.84,   0.00, 0.00, 0.00);
  385. CreateObject(1294, 257.86, 3621.09, 12.84,   0.00, 0.00, 0.00);
  386. CreateObject(1294, 266.35, 3612.46, 12.94,   0.00, 0.00, 90.00);
  387. CreateObject(1294, 281.93, 3612.18, 12.94,   0.00, 0.00, 90.00);
  388. CreateObject(1294, 298.68, 3612.43, 12.94,   0.00, 0.00, 90.00);
  389. CreateObject(1294, 331.52, 3612.55, 12.94,   0.00, 0.00, 90.00);
  390. CreateObject(1294, 312.01, 3612.44, 12.94,   0.00, 0.00, 90.00);
  391. CreateObject(1294, 357.61, 3596.26, 12.84,   0.00, 0.00, 0.00);
  392. CreateObject(1294, 357.72, 3577.97, 12.84,   0.00, 0.00, 0.00);
  393. CreateObject(1294, 357.31, 3562.19, 12.84,   0.00, 0.00, 0.00);
  394. CreateObject(8354, 331.94, 3600.03, 8.57,   0.00, 0.00, 268.86);
  395. CreateObject(669, 417.09, 3478.45, 6.49,   0.00, 0.00, 3.89);
  396. CreateObject(669, 346.26, 3481.02, 6.58,   0.00, 0.00, 3.48);
  397. CreateObject(669, 371.65, 3480.76, 6.58,   0.00, 0.00, 3.59);
  398. CreateObject(669, 396.15, 3479.66, 6.58,   0.00, 0.00, 3.89);
  399. CreateObject(669, -80.74, 3643.29, 6.75,   0.00, 0.00, 353.58);
  400. CreateObject(669, -22.07, 3528.15, 6.95,   0.00, 0.00, 353.58);
  401. CreateObject(669, -82.20, 3599.40, 6.95,   0.00, 0.00, 353.58);
  402. CreateObject(669, -81.36, 3624.07, 6.95,   0.00, 0.00, 353.58);
  403. CreateObject(669, -83.35, 3576.00, 6.95,   0.00, 0.00, 353.58);
  404. CreateObject(669, -75.19, 3530.25, 6.95,   0.00, 0.00, 353.58);
  405. CreateObject(669, -47.05, 3529.23, 6.95,   0.00, 0.00, 353.58);
  406. CreateObject(645, 10.10, 3659.76, 30.52,   0.00, 0.00, 0.00);
  407. CreateObject(8535, 331.16, 3504.06, 12.91,   -0.08, 0.00, 178.02);
  408. CreateObject(16118, 335.70, 3556.10, 0.99,   0.00, 0.00, 347.72);
  409. CreateObject(16118, 339.07, 3549.21, -2.45,   0.00, 0.00, 348.93);
  410. CreateObject(16118, 338.19, 3548.13, -4.92,   0.00, 0.00, 7.80);
  411. CreateObject(9035, 325.90, 3514.74, 6.02,   0.00, 0.00, 7.66);
  412. CreateObject(9035, 327.95, 3506.09, 6.63,   0.00, 0.00, 0.00);
  413. CreateObject(9035, 327.85, 3506.33, 6.63,   0.00, 0.00, 0.00);
  414. CreateObject(1231, 340.15, 3519.27, 9.28,   0.00, 0.00, 90.00);
  415. CreateObject(1231, 338.60, 3488.15, 9.28,   0.00, 0.00, 90.00);
  416. CreateObject(1231, 346.07, 3497.84, 9.28,   0.00, 0.00, 90.00);
  417. CreateObject(1231, 346.42, 3509.77, 9.28,   0.00, 0.00, 90.00);
  418. CreateObject(3279, 110.27, 3880.74, 8.58,   0.00, 0.00, 0.30);
  419. CreateObject(3279, 253.60, 3926.20, 8.58,   0.00, 0.00, 235.06);
  420. CreateObject(3279, 116.77, 3930.33, 8.58,   0.00, 0.00, 350.00);
  421. CreateObject(3279, 207.04, 3947.85, 8.58,   0.00, 0.00, 252.44);
  422. CreateObject(3864, 110.34, 3880.68, 25.07,   0.00, 0.00, 180.07);
  423. CreateObject(3864, 253.51, 3926.08, 25.18,   0.00, 0.00, 55.61);
  424. CreateObject(3864, 116.87, 3930.27, 25.18,   0.00, 0.00, 168.43);
  425. CreateObject(3864, 206.98, 3947.69, 25.18,   0.00, 0.00, 72.58);
  426. CreateObject(3872, 249.57, 3920.61, 25.96,   0.00, 0.00, 54.03);
  427. CreateObject(3872, 117.21, 3880.84, 25.82,   0.00, 0.00, 180.79);
  428. CreateObject(3872, 123.51, 3929.13, 26.00,   0.00, 0.00, 170.50);
  429. CreateObject(3872, 204.90, 3941.31, 25.96,   0.00, 0.00, 71.81);
  430. tor = CreateObject(980, 121.78, 3860.41, 11.10,   0.00, 0.00, -190.80);
  431. CreateObject(946, 179.75, 3919.73, 11.00,   0.00, 0.00, 90.96);
  432. CreateObject(946, 146.82, 3922.40, 11.00,   0.00, 0.00, -88.56);
  433. CreateObject(1946, 168.41, 3923.77, 8.99,   0.00, 0.00, 0.00);
  434. CreateObject(3496, 239.98, 3896.61, 8.87,   0.00, 0.00, 95.88);
  435. CreateObject(1946, 236.17, 3897.27, 8.99,   0.00, 0.00, 0.00);
  436.  
  437. //Gefängnis Interior
  438. CreateObject(7191, 1759.3388671875, -1602.4755859375, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
  439. CreateObject(14856, 1757.1634521484, -1588.1893310547, 1735.8120117188, 0, 0, 182);
  440. CreateObject(8661, 1775.4768066406, -1555.7030029297, 1733.9429931641, 0, 0, 0);
  441. CreateObject(8661, 1775.5107421875, -1575.599609375, 1733.9429931641, 0, 0, 0);
  442. CreateObject(8661, 1773.916015625, -1585.5395507813, 1743.4429931641, 271.99951171875, 179.99450683594, 179.99450683594);
  443. CreateObject(8661, 1769.3701171875, -1560.263671875, 1743.8931884766, 90, 179.99450683594, 179.99450683594);
  444. CreateObject(8661, 1755.54296875, -1565.8349609375, 1743.8681640625, 90, 164.49871826172, 285.49029541016);
  445. CreateObject(8661, 1780.4873046875, -1566.796875, 1743.9184570313, 271.99401855469, 179.99450683594, 270.74157714844);
  446. CreateObject(7191, 1763.6158447266, -1602.3254394531, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
  447. CreateObject(7191, 1767.837890625, -1602.2255859375, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
  448. CreateObject(14856, 1779.0579833984, -1587.5596923828, 1735.8120117188, 0, 0, 1.24951171875);
  449. CreateObject(7191, 1772.0864257813, -1602.0699462891, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
  450. CreateObject(7191, 1776.3354492188, -1601.9881591797, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
  451. CreateObject(7191, 1780.6092529297, -1601.9577636719, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
  452. CreateObject(7191, 1780.6083984375, -1601.95703125, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
  453. CreateObject(7191, 1776.3553466797, -1601.9653320313, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
  454. CreateObject(7191, 1772.1040039063, -1602.0228271484, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
  455. CreateObject(7191, 1767.8559570313, -1602.2055664063, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
  456. CreateObject(7191, 1763.6304931641, -1602.2875976563, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
  457. CreateObject(7191, 1759.3823242188, -1602.4952392578, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
  458. CreateObject(8661, 1774.9119873047, -1585.8381347656, 1737.7172851563, 0, 0, 0);
  459. CreateObject(8661, 1774.90625, -1586.212890625, 1737.7172851563, 0, 179.99993896484, 0);
  460. CreateObject(14856, 1757.1630859375, -1588.1884765625, 1739.5620117188, 0, 0, 181.99951171875);
  461. CreateObject(14856, 1779.0576171875, -1587.5595703125, 1739.5625, 0, 0, 1.2469482421875);
  462. CreateObject(14856, 1756.6878662109, -1558.7972412109, 1735.8120117188, 0, 0, 181.49700927734);
  463. CreateObject(7191, 1759.470703125, -1544.4438476563, 1734.9488525391, 0, 359.24743652344, 359.99450683594);
  464. CreateObject(7191, 1763.7202148438, -1544.3764648438, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
  465. CreateObject(7191, 1767.9682617188, -1544.2838134766, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
  466. CreateObject(14856, 1778.7756347656, -1558.3518066406, 1735.8120117188, 0, 0, 1.2469482421875);
  467. CreateObject(7191, 1772.2685546875, -1544.3099365234, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
  468. CreateObject(7191, 1776.5231933594, -1544.2121582031, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
  469. CreateObject(7191, 1780.5192871094, -1544.1015625, 1734.9488525391, 0, 359.24194335938, 0.489013671875);
  470. CreateObject(8661, 1775.4921875, -1559.5787353516, 1737.6934814453, 0, 0, 0);
  471. CreateObject(7191, 1780.4685058594, -1544.1010742188, 1738.875, 0, 359.24194335938, 0.4888916015625);
  472. CreateObject(7191, 1776.2663574219, -1544.2237548828, 1738.875, 0, 359.24194335938, 0.4888916015625);
  473. CreateObject(7191, 1772.0139160156, -1544.3225097656, 1738.875, 0, 359.24194335938, 0.4888916015625);
  474. CreateObject(7191, 1767.7136230469, -1544.3187255859, 1738.875, 0, 359.24194335938, 0.4888916015625);
  475. CreateObject(7191, 1763.4619140625, -1544.3909912109, 1738.875, 0, 359.24194335938, 0.4888916015625);
  476. CreateObject(7191, 1759.2349853516, -1544.4659423828, 1738.875, 0, 359.24194335938, 0.4888916015625);
  477. CreateObject(14856, 1756.6875, -1558.796875, 1739.5617675781, 0, 0, 181.494140625);
  478. CreateObject(14856, 1778.775390625, -1558.3515625, 1739.5620117188, 0, 0, 1.2469482421875);
  479. CreateObject(8661, 1775.4921875, -1559.578125, 1737.6934814453, 0, 179.99450683594, 0);
  480. CreateObject(8661, 1758.60546875, -1576.8515625, 1741.3966064453, 0, 180.24719238281, 0);
  481. CreateObject(8661, 1796.8046875, -1573.798828125, 1737.6929931641, 0, 0, 0);
  482. CreateObject(8661, 1796.8046875, -1573.798828125, 1737.6929931641, 0, 180, 0);
  483. CreateObject(8614, 1759.4495849609, -1570.4389648438, 1736.4675292969, 0, 0, 0);
  484. CreateObject(970, 1774.7596435547, -1569.5825195313, 1738.2449951172, 0, 0, 0);
  485. CreateObject(970, 1770.6550292969, -1569.5819091797, 1738.2449951172, 0, 0, 0);
  486. CreateObject(970, 1766.5239257813, -1569.5954589844, 1738.2449951172, 0, 0, 0);
  487. CreateObject(970, 1764.4404296875, -1569.5966796875, 1738.2449951172, 0, 0, 0);
  488. CreateObject(970, 1760.3516845703, -1569.6000976563, 1738.2449951172, 0, 0, 0);
  489. CreateObject(970, 1776.8194580078, -1571.7288818359, 1738.26953125, 0, 0, 90.5);
  490. CreateObject(970, 1776.8634033203, -1573.791015625, 1738.2449951172, 0, 0, 90.499877929688);
  491. CreateObject(970, 1774.8477783203, -1575.8577880859, 1738.2449951172, 0, 0, 180.49987792969);
  492. CreateObject(970, 1770.7470703125, -1575.8815917969, 1738.2449951172, 0, 0, 180.49987792969);
  493. CreateObject(970, 1766.6242675781, -1575.9301757813, 1738.2449951172, 0, 0, 180.49987792969);
  494. CreateObject(970, 1762.4991455078, -1575.9755859375, 1738.2449951172, 0, 0, 180.49987792969);
  495. CreateObject(970, 1758.3935546875, -1576.0017089844, 1738.2449951172, 0, 0, 180.49987792969);
  496. CreateObject(970, 1754.2669677734, -1576.0084228516, 1738.2449951172, 0, 0, 180.49987792969);
  497. CreateObject(970, 1753.4927978516, -1576.0433349609, 1738.2449951172, 0, 0, 180.49987792969);
  498. CreateObject(8661, 1757.4633789063, -1557.0551757813, 1741.3966064453, 0, 180.24719238281, 0);
  499. CreateObject(8661, 1761.17578125, -1557.2333984375, 1741.4466552734, 0, 359.74182128906, 0);
  500. CreateObject(8661, 1760.8068847656, -1557.2219238281, 1741.3715820313, 0, 180.24169921875, 0);
  501. CreateObject(8661, 1758.5277099609, -1574.4494628906, 1741.5217285156, 0, 0.2471923828125, 0);
  502. CreateObject(8661, 1763.0654296875, -1589.0302734375, 1741.5217285156, 0, 0.2471923828125, 0);
  503. CreateObject(8661, 1761.8243408203, -1589.0578613281, 1741.3966064453, 0, 180.24719238281, 0);
  504. CreateObject(14387, 1780.9128417969, -1577.6300048828, 1740.5070800781, 0, 0, 92);
  505. CreateObject(14387, 1780.7963867188, -1574.7548828125, 1738.7320556641, 0, 0, 91.99951171875);
  506. CreateObject(14387, 1780.697265625, -1574.7872314453, 1738.7320556641, 0, 113.99996948242, 269.99963378906);
  507. CreateObject(14387, 1780.6909179688, -1577.2197265625, 1740.2563476563, 0, 113.99963378906, 269.99450683594);
  508. CreateObject(970, 1778.5164794922, -1577.0081787109, 1742.0205078125, 0, 0, 90.494384765625);
  509. CreateObject(8661, 1775.048828125, -1576.234375, 1744.9672851563, 0, 179.99450683594, 0);
  510. CreateObject(8661, 1775.404296875, -1562.490234375, 1746.9672851563, 0, 179.99450683594, 0);
  511. CreateObject(8614, 1754.3951416016, -1570.4387207031, 1732.7175292969, 0, 179.25, 0);
  512. CreateObject(2205, 1778.9362792969, -1571.5363769531, 1733.9429931641, 0, 0, 0);
  513. CreateObject(2205, 1778.0222167969, -1572.8785400391, 1733.9429931641, 0, 0, 89.5);
  514. CreateObject(2205, 1779.3442382813, -1573.8327636719, 1733.9429931641, 0, 0, 178.99462890625);
  515. CreateObject(2190, 1779.5219726563, -1571.4400634766, 1734.8795166016, 0, 0, 0);
  516. CreateObject(2190, 1777.921875, -1572.6606445313, 1734.8795166016, 0, 0, 89.25);
  517. CreateObject(2776, 1779.9310302734, -1572.2644042969, 1734.4404296875, 0, 0, 232);
  518. CreateObject(14819, 1780.7757568359, -1575.8271484375, 1735.0928955078, 358.25003051758, 0.2501220703125, 91.257659912109);
  519. CreateObject(14401, 1767.8037109375, -1573.5908203125, 1734.2686767578, 0, 0, 91.994018554688);
  520. CreateObject(3858, 1760.9343261719, -1571.0079345703, 1744.4094238281, 0, 0, 260);
  521. CreateObject(8661, 1778.7847900391, -1553.5157470703, 1751.2926025391, 90, 180.00549316406, 269.23352050781);
  522. CreateObject(8661, 1778.3208007813, -1567.1134033203, 1751.2425537109, 89.249816894531, 269.99981689453, 89.236633300781);
  523. CreateObject(970, 1778.4766845703, -1572.8826904297, 1742.0205078125, 0, 0, 90.994384765625);
  524. CreateObject(3858, 1760.93359375, -1571.0078125, 1744.4094238281, 0, 0, 79.996948242188);
  525. CreateObject(3089, 1764.1071777344, -1568.7672119141, 1742.8266601563, 0, 0, 34);
  526. CreateObject(2173, 1758.0897216797, -1572.2486572266, 1741.5235595703, 0, 0, 216);
  527. CreateObject(2173, 1760.3353271484, -1570.6602783203, 1741.5235595703, 0, 0, 215.99670410156);
  528. CreateObject(2173, 1762.6174316406, -1569.1575927734, 1741.5235595703, 0, 0, 215.24670410156);
  529. CreateObject(2173, 1762.4538574219, -1570.6696777344, 1741.5235595703, 0, 0, 35.494140625);
  530. CreateObject(2173, 1760.2321777344, -1572.2497558594, 1741.5235595703, 0, 0, 35.491333007813);
  531. CreateObject(2173, 1757.98828125, -1573.8432617188, 1741.5235595703, 0, 0, 35.491333007813);
  532. CreateObject(1671, 1763.5197753906, -1571.3277587891, 1741.9614257813, 0, 0, 218);
  533. CreateObject(1671, 1761.2962646484, -1572.9020996094, 1741.9614257813, 0, 0, 215.4962310791);
  534. CreateObject(1671, 1759.0114746094, -1574.51953125, 1741.9614257813, 0, 0, 215.49133300781);
  535. CreateObject(1671, 1757.0166015625, -1571.6016845703, 1741.9614257813, 0, 0, 31.491333007813);
  536. CreateObject(1671, 1759.2440185547, -1569.9787597656, 1741.9614257813, 0, 0, 35.48681640625);
  537. CreateObject(1671, 1761.5261230469, -1568.5364990234, 1741.9614257813, 0, 0, 35.48583984375);
  538. CreateObject(2187, 1760.5855712891, -1570.3542480469, 1741.5122070313, 0, 0, 214);
  539. CreateObject(2187, 1760.5849609375, -1570.353515625, 1742.2379150391, 0, 0, 213.99719238281);
  540. CreateObject(2187, 1760.8128662109, -1569.0754394531, 1742.2379150391, 0, 0, 36.497161865234);
  541. CreateObject(2187, 1760.8125, -1569.0751953125, 1741.4381103516, 0, 0, 36.49658203125);
  542. CreateObject(2187, 1758.2767333984, -1571.8021240234, 1742.2379150391, 0, 0, 213.99719238281);
  543. CreateObject(2187, 1758.2763671875, -1571.8017578125, 1741.412109375, 0, 0, 213.99719238281);
  544. CreateObject(2187, 1758.5090332031, -1570.4970703125, 1741.412109375, 0, 0, 34.247161865234);
  545. CreateObject(2187, 1758.5087890625, -1570.4970703125, 1742.2366943359, 0, 0, 34.244384765625);
  546. CreateObject(2187, 1762.1694335938, -1571.0229492188, 1741.5061035156, 0, 0, 34);
  547. CreateObject(2187, 1762.1689453125, -1571.0224609375, 1742.2318115234, 0, 0, 33.997192382813);
  548. CreateObject(2187, 1759.9272460938, -1572.5755615234, 1742.2318115234, 0, 0, 33.997192382813);
  549. CreateObject(2187, 1759.9267578125, -1572.5751953125, 1741.4060058594, 0, 0, 33.997192382813);
  550. CreateObject(2187, 1759.6702880859, -1573.84765625, 1742.2379150391, 0, 0, 213.99719238281);
  551. CreateObject(2187, 1759.669921875, -1573.84765625, 1741.4621582031, 0, 0, 213.99719238281);
  552. CreateObject(2187, 1761.9296875, -1572.3258056641, 1742.2379150391, 0, 0, 213.99719238281);
  553. CreateObject(2187, 1761.9296875, -1572.3251953125, 1741.412109375, 0, 0, 213.99719238281);
  554. CreateObject(8661, 1766.4588623047, -1559.2015380859, 1751.267578125, 271.26885986328, 168.62805175781, 259.37780761719);
  555. CreateObject(8661, 1766.9233398438, -1559.1123046875, 1751.267578125, 271.26345825195, 168.62365722656, 78.876129150391);
  556. CreateObject(2136, 1767.3325195313, -1569.9263916016, 1741.4822998047, 0, 0, 90);
  557. CreateObject(2135, 1767.3481445313, -1570.8608398438, 1741.4837646484, 0, 0, 90);
  558. CreateObject(2828, 1778.9792480469, -1573.7318115234, 1734.8795166016, 0, 0, 326);
  559. CreateObject(2139, 1767.3896484375, -1571.8475341797, 1741.4835205078, 0, 0, 90);
  560. CreateObject(2139, 1767.3603515625, -1567.9683837891, 1741.4835205078, 0, 0, 90);
  561. CreateObject(2140, 1767.4088134766, -1572.8157958984, 1741.4838867188, 0, 0, 87);
  562. CreateObject(2164, 1776.0461425781, -1567.0831298828, 1741.4696044922, 0, 0, 359.25);
  563. CreateObject(2163, 1774.255859375, -1567.1708984375, 1741.5002441406, 0, 0, 0);
  564. CreateObject(2208, 1767.0778808594, -1585.1064453125, 1741.5029296875, 0, 0, 91.5);
  565. CreateObject(2208, 1767.0032958984, -1582.4022216797, 1741.5029296875, 0, 0, 153.49963378906);
  566. CreateObject(2208, 1764.4655761719, -1581.1422119141, 1741.5029296875, 0, 0, 153.49548339844);
  567. CreateObject(2208, 1762.1202392578, -1579.9860839844, 1741.5029296875, 0, 0, 183.49548339844);
  568. CreateObject(2208, 1759.5886230469, -1580.1437988281, 1741.5029296875, 0, 0, 183.49365234375);
  569. CreateObject(2637, 1770.8051757813, -1570.4884033203, 1741.8735351563, 0, 0, 90);
  570. CreateObject(2637, 1770.8111572266, -1572.3884277344, 1741.8735351563, 0, 0, 90);
  571. CreateObject(2776, 1771.9637451172, -1572.65625, 1741.9592285156, 0, 0, 272);
  572. CreateObject(2776, 1771.9259033203, -1571.4854736328, 1741.9592285156, 0, 0, 271.99951171875);
  573. CreateObject(2776, 1771.9973144531, -1570.2535400391, 1741.9592285156, 0, 0, 271.99951171875);
  574. CreateObject(2776, 1770.2476806641, -1572.9060058594, 1741.9592285156, 0, 0, 91.99951171875);
  575. CreateObject(2776, 1769.6883544922, -1571.5091552734, 1741.9592285156, 0, 0, 91.994018554688);
  576. CreateObject(2776, 1769.7230224609, -1570.2498779297, 1741.9592285156, 0, 0, 91.994018554688);
  577. CreateObject(2776, 1770.0451660156, -1567.3060302734, 1741.9592285156, 0, 0, 1.7440185546875);
  578. CreateObject(2776, 1770.044921875, -1567.3056640625, 1742.109375, 0, 0, 1.7413330078125);
  579. CreateObject(2776, 1770.044921875, -1567.3056640625, 1742.2845458984, 0, 0, 1.7413330078125);
  580. CreateObject(1713, 1777.7474365234, -1571.4503173828, 1741.4388427734, 0, 0, 272);
  581. CreateObject(1713, 1776.7827148438, -1574.2749023438, 1741.4388427734, 0, 0, 178.99951171875);
  582. CreateObject(3962, 1775.3117675781, -1571.7060546875, 1741.5023193359, 0.03924560546875, 90.49853515625, 359.7497253418);
  583. CreateObject(8661, 1778.1085205078, -1554.0021972656, 1751.2926025391, 90, 179.99450683594, 90.991943359375);
  584. CreateObject(1429, 1774.6732177734, -1567.4151611328, 1742.6916503906, 0, 0, 0);
  585. CreateObject(2964, 1773.1020507813, -1578.4581298828, 1741.46484375, 0, 0, 180);
  586. CreateObject(2008, 1756.0985107422, -1583.4029541016, 1741.5482177734, 0, 0, 0);
  587. CreateObject(2008, 1759.1009521484, -1583.3901367188, 1741.5482177734, 0, 0, 0);
  588. CreateObject(2008, 1762.0266113281, -1583.3752441406, 1741.5482177734, 0, 0, 0);
  589. CreateObject(2190, 1760.8291015625, -1580.0938720703, 1742.3681640625, 0, 0, 342);
  590. CreateObject(2190, 1767.2740478516, -1584.0732421875, 1742.3681640625, 0, 0, 259.99890136719);
  591. CreateObject(2776, 1762.8975830078, -1584.4860839844, 1742.0198974609, 0, 0, 184);
  592. CreateObject(2776, 1759.9997558594, -1584.62109375, 1742.0198974609, 0, 0, 183.9990234375);
  593. CreateObject(2776, 1756.9647216797, -1584.6823730469, 1742.0198974609, 0, 0, 183.9990234375);
  594. CreateObject(2776, 1760.1267089844, -1581.2440185547, 1742.0198974609, 0, 0, 135.9990234375);
  595. CreateObject(2776, 1765.6030273438, -1584.4368896484, 1742.0198974609, 0, 0, 147.99426269531);
  596. CreateObject(2602, 1758.9934082031, -1561.9260253906, 1734.4664306641, 0, 0, 268);
  597. CreateObject(2602, 1763.2186279297, -1561.8996582031, 1734.4664306641, 0, 0, 267.99499511719);
  598. CreateObject(2602, 1767.5178222656, -1561.8721923828, 1734.4664306641, 0, 0, 267.99499511719);
  599. CreateObject(2602, 1771.8062744141, -1561.8575439453, 1734.4664306641, 0, 0, 267.99499511719);
  600. CreateObject(2602, 1776.0793457031, -1561.9962158203, 1734.4664306641, 0, 0, 267.99499511719);
  601. CreateObject(2602, 1780.0523681641, -1561.7204589844, 1734.4664306641, 0, 0, 267.99499511719);
  602. CreateObject(2602, 1780.1115722656, -1582.5888671875, 1734.4664306641, 0, 0, 267.99499511719);
  603. CreateObject(2602, 1775.8510742188, -1583.1767578125, 1734.4664306641, 0, 0, 267.99499511719);
  604. CreateObject(2602, 1771.5657958984, -1583.7680664063, 1734.4664306641, 0, 0, 267.99499511719);
  605. CreateObject(2602, 1767.330078125, -1584.3520507813, 1734.4664306641, 0, 0, 267.99499511719);
  606. CreateObject(2602, 1762.9997558594, -1584.0653076172, 1734.4664306641, 0, 0, 267.99499511719);
  607. CreateObject(2602, 1758.8037109375, -1584.3908691406, 1734.4664306641, 0, 0, 267.99499511719);
  608. CreateObject(1800, 1756.0372314453, -1585.6010742188, 1733.9429931641, 0, 0, 0);
  609. CreateObject(1800, 1759.9868164063, -1585.6198730469, 1733.9429931641, 0, 0, 0);
  610. CreateObject(1800, 1764.2355957031, -1585.6398925781, 1733.9429931641, 0, 0, 0);
  611. CreateObject(1800, 1768.4360351563, -1585.66015625, 1733.9429931641, 0, 0, 0);
  612. CreateObject(1800, 1772.6612548828, -1585.6807861328, 1733.9429931641, 0, 0, 0);
  613. CreateObject(1800, 1776.9354248047, -1585.7015380859, 1733.9429931641, 0, 0, 0);
  614. CreateObject(1800, 1777.1528320313, -1565.1075439453, 1733.9429931641, 0, 0, 0);
  615. CreateObject(1800, 1772.9020996094, -1565.1015625, 1733.9429931641, 0, 0, 0);
  616. CreateObject(1800, 1768.6270751953, -1565.1192626953, 1733.9429931641, 0, 0, 0);
  617. CreateObject(1800, 1764.3767089844, -1565.11328125, 1733.9429931641, 0, 0, 0);
  618. CreateObject(1800, 1760.1014404297, -1565.1063232422, 1733.9429931641, 0, 0, 0);
  619. CreateObject(1800, 1756.1010742188, -1565.0988769531, 1733.9429931641, 0, 0, 0);
  620.  
  621.  
  622.  
  623. //Police-Vehs
  624. AddStaticVehicle(599,181.8439,3759.4360,9.9416,89.4569,125,1); // pcar1
  625. AddStaticVehicle(599,182.1502,3753.6511,9.9407,88.7730,125,1); // pcar2
  626. AddStaticVehicle(599,182.1760,3747.5403,9.9435,89.7073,125,1); // pcar3
  627. AddStaticVehicle(599,181.9368,3741.8110,9.9436,90.0635,125,1); // pcar4
  628. AddStaticVehicle(599,181.8517,3735.8660,9.9441,90.2609,125,1); // pcar5
  629.  
  630. //Mafia-Vehs
  631. AddStaticVehicle(492,350.3878,3483.6077,7.4246,358.6552,0,3); // mafiaveh1
  632. AddStaticVehicle(492,354.4047,3483.4880,7.4246,358.7694,0,3); // mafiaveh2
  633. AddStaticVehicle(492,358.7252,3483.5610,7.4246,358.5900,0,3); // mafiaveh3
  634. AddStaticVehicle(492,363.1994,3483.4919,7.4246,358.9998,0,3); // mafiaveh4
  635.     return 1;
  636. }
  637.  
  638. public OnGameModeExit()
  639. {
  640.     TextDrawHideForAll(Textdraw0);
  641.     TextDrawDestroy(Textdraw0);
  642.     TextDrawHideForAll(Textdraw1);
  643.     TextDrawDestroy(Textdraw1);
  644.     TextDrawHideForAll(Textdraw2);
  645.     TextDrawDestroy(Textdraw2);
  646.     return 1;
  647. }
  648.  
  649. public OnPlayerRequestClass(playerid, classid)
  650. {
  651.     TextDrawShowForPlayer(playerid, Textdraw0);
  652.     TextDrawShowForPlayer(playerid, Textdraw1);
  653.    
  654.     SetPlayerPos(playerid, -597.9323,2594.3657,65.8368);
  655.     SetPlayerCameraPos(playerid, -589.8387,2595.0698,66.6064);
  656.     SetPlayerCameraLookAt(playerid, -596.6131,2594.6545,66.1489);
  657.     SetPlayerFacingAngle(playerid, 271.0446);
  658.    
  659.     switch(classid)
  660.     {
  661.         case 0: gTeam[playerid] = TEAM_COPS; // 1. Skin
  662.         case 1: gTeam[playerid] = TEAM_PRISONERS; // 2. Skin
  663.         case 2: gTeam[playerid] = TEAM_MAFIA; // 3. Skin
  664.     }
  665.     switch (classid)
  666.     {
  667.      case 0:
  668.          {
  669.     GameTextForPlayer(playerid, "~b~Polizei", 1200, 3);
  670.         }
  671.         case 1:
  672.          {
  673.     GameTextForPlayer(playerid, "~w~Straefling", 1200, 3);
  674.         }
  675.         case 2:
  676.          {
  677.     GameTextForPlayer(playerid, "~r~Mafia", 1200, 3);
  678.         }
  679.         }
  680.     return 1;
  681. }
  682.  
  683. public OnPlayerConnect(playerid)
  684. {
  685. new string[64], pName[MAX_PLAYER_NAME];
  686.     GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
  687.     format(string,sizeof string,"%s hat den Server betreten",pName);
  688.     SendClientMessageToAll(GELB,string);
  689.     return 1;
  690. }
  691.  
  692. public OnPlayerDisconnect(playerid, reason)
  693. {
  694. new string[64],name[MAX_PLAYER_NAME];
  695.     GetPlayerName(playerid,name,MAX_PLAYER_NAME);
  696.     switch(reason)
  697.     {
  698.         case 0: format(string,sizeof string,"%s hat den Server verlassen. (Timeout)",name);
  699.         case 1: format(string,sizeof string,"%s hat den Server verlassen. (Verlassen)",name);
  700.         case 2: format(string,sizeof string,"%s hat den Server verlassen. (Gekickt/Gebannt)",name);
  701.     }
  702.     SendClientMessageToAll(GELB,string);
  703.     return 1;
  704. }
  705.  
  706. public OnPlayerSpawn(playerid)
  707. {
  708.     TextDrawHideForPlayer(playerid, Textdraw0);
  709.     TextDrawHideForPlayer(playerid, Textdraw1);
  710.     TextDrawShowForPlayer(playerid, Textdraw2);
  711.    
  712. if(gTeam[playerid] == TEAM_COPS)
  713. {
  714.     SetPlayerPos(playerid, 183.4820,3774.8311,9.7522);
  715.     SetPlayerColor(playerid,BLAU);
  716.     GivePlayerWeapon(playerid,3,1);
  717.     GivePlayerWeapon(playerid,23,200);
  718.     GivePlayerWeapon(playerid,25,200);
  719.     GivePlayerWeapon(playerid,29,200);
  720. }
  721. else if(gTeam[playerid] == TEAM_PRISONERS)
  722. {
  723.     SetPlayerPos(playerid, 221.3998,3857.4988,9.8322);
  724.     SetPlayerColor(playerid,WEISS);
  725. }
  726. else if(gTeam[playerid] == TEAM_MAFIA)
  727. {
  728.     SetPlayerPos(playerid, 341.2556,3503.4758,7.6428);
  729.     SetPlayerColor(playerid,ROT2);
  730.     GivePlayerWeapon(playerid,24,200);
  731.     GivePlayerWeapon(playerid,26,200);
  732.     GivePlayerWeapon(playerid,30,200);
  733. }
  734.     return 1;
  735. }
  736.  
  737. public OnPlayerDeath(playerid, killerid, reason)
  738. {
  739.     return 1;
  740. }
  741.  
  742. public OnVehicleSpawn(vehicleid)
  743. {
  744.     return 1;
  745. }
  746.  
  747. public OnVehicleDeath(vehicleid, killerid)
  748. {
  749.     return 1;
  750. }
  751.  
  752. public OnPlayerText(playerid, text[])
  753. {
  754.     return 1;
  755. }
  756.  
  757. public OnPlayerCommandText(playerid, cmdtext[])
  758. {
  759.     if (strcmp("/hilfe", cmdtext, true, 10) == 0)
  760.     {
  761.         SendClientMessage(playerid, GRAU ,"Benutze /help");
  762.         return 1;
  763.     }
  764.    
  765.     if (strcmp("/help", cmdtext, true, 10) == 0)
  766.     {
  767.         SendClientMessage(playerid, ORANGE ,"------------BEFEHLE------------");
  768.         SendClientMessage(playerid, GREEN ,"Allgemein: /worumgehts");
  769.         SendClientMessage(playerid, GREEN ,"Mafia Befehle: /torknacken");
  770.         SendClientMessage(playerid, GREEN ,"Sträfling Befehle:");
  771.         SendClientMessage(playerid, GREEN ,"Cop Befehle: /torzu /torauf");
  772.         SendClientMessage(playerid, ORANGE ,"-------------------------------");
  773.         return 1;
  774.     }
  775.    
  776.     if (strcmp("/worumgehts", cmdtext, true, 10) == 0)
  777.     {
  778.         SendClientMessage(playerid, ORANGE ,"------------Worum gehts ?--------------");
  779.         SendClientMessage(playerid, GREEN ,"Als Mafia Mitglied muss man die Gefangenen befreien und sie beschützen !");
  780.         SendClientMessage(playerid, GREEN ,"Als Cop muss man dafür sorgen das die Mafia nicht zu den Gefangenen kommt");
  781.         SendClientMessage(playerid, GREEN ,"und diese befreit. Falls ein Gefangener befreit wurde, gilt es diesen zu erschiessen");
  782.         SendClientMessage(playerid, GREEN ,"damit er wieder in den Knast kommt !");
  783.         SendClientMessage(playerid, GREEN ,"Das Script wurde am 29.03.2013 angefangen und hat deswegen noch wenige Features !");
  784.         SendClientMessage(playerid, GREEN ,"Bei Verbesserungsvorschlägen etc. wendet euch an Flashbrot im Breadfish Forum !");
  785.         SendClientMessage(playerid, ORANGE ,"---------------------------------------");
  786.         return 1;
  787.     }
  788.    
  789.     if (strcmp("/torknacken", cmdtext, true, 10) == 0)
  790.     {
  791.     if(gTeam[playerid] == TEAM_MAFIA)
  792.         {
  793.     if(IsPlayerInRangeOfPoint(playerid, 4.0, 121.7757, 3860.4106, 10.0169))
  794.     {
  795.         new string[64], pName[MAX_PLAYER_NAME];
  796.         GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
  797.         format(string,sizeof string,"%s hat das Gefangenentor aufgeknackt !",pName);
  798.         SendClientMessageToAll(ROT,string);
  799.         MoveObject(tor, 121.7757, 3860.4106, 6.0169, 4);
  800.         }
  801.         }
  802.         else
  803.         {
  804.         SendClientMessage(playerid,GRAU,"Du bist nicht am Gefangenentor oder du gehörst nicht zur Mafia !");
  805.         }
  806.         return 1;
  807.     }
  808.    
  809.     if (strcmp("/torzu", cmdtext, true, 10) == 0)
  810.     {
  811.     if(gTeam[playerid] == TEAM_COPS)
  812.         {
  813.     if(IsPlayerInRangeOfPoint(playerid, 4.0, 121.7757, 3860.4106, 7.0169))
  814.     {
  815.         MoveObject(tor, 121.7757, 3860.4106, 11.0169, 4);
  816.         }
  817.         }
  818.         else
  819.         {
  820.         SendClientMessage(playerid,GRAU,"Du bist nicht am Gefangenentor oder du bist kein Cop !");
  821.         }
  822.         return 1;
  823.     }
  824.    
  825.     if (strcmp("/torauf", cmdtext, true, 10) == 0)
  826.     {
  827.     if(gTeam[playerid] == TEAM_COPS)
  828.         {
  829.     if(IsPlayerInRangeOfPoint(playerid, 4.0, 121.7757, 3860.4106, 10.0169))
  830.     {
  831.         MoveObject(tor, 121.7757, 3860.4106, 6.0169, 4);
  832.         }
  833.         }
  834.         else
  835.         {
  836.         SendClientMessage(playerid,GRAU,"Du bist nicht am Gefangenentor oder du bist kein Cop !");
  837.         }
  838.         return 1;
  839.     }
  840.     return 0;
  841. }
  842.  
  843. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  844. {
  845.     return 1;
  846. }
  847.  
  848. public OnPlayerExitVehicle(playerid, vehicleid)
  849. {
  850.     return 1;
  851. }
  852.  
  853. public OnPlayerStateChange(playerid, newstate, oldstate)
  854. {
  855.     return 1;
  856. }
  857.  
  858. public OnPlayerEnterCheckpoint(playerid)
  859. {
  860.     return 1;
  861. }
  862.  
  863. public OnPlayerLeaveCheckpoint(playerid)
  864. {
  865.     return 1;
  866. }
  867.  
  868. public OnPlayerEnterRaceCheckpoint(playerid)
  869. {
  870.     return 1;
  871. }
  872.  
  873. public OnPlayerLeaveRaceCheckpoint(playerid)
  874. {
  875.     return 1;
  876. }
  877.  
  878. public OnRconCommand(cmd[])
  879. {
  880.     return 1;
  881. }
  882.  
  883. public OnPlayerRequestSpawn(playerid)
  884. {
  885.     return 1;
  886. }
  887.  
  888. public OnObjectMoved(objectid)
  889. {
  890.     return 1;
  891. }
  892.  
  893. public OnPlayerObjectMoved(playerid, objectid)
  894. {
  895.     return 1;
  896. }
  897.  
  898. public OnPlayerPickUpPickup(playerid, pickupid)
  899. {
  900. if(pickupid==prisonenter)
  901. {
  902. SetPlayerPos(playerid,1777.2688,-1576.6729,1734.9430); //Da wo Verbrecher drin spawnen
  903. }
  904.  
  905. if(pickupid==prisonenter2)
  906. {
  907. SetPlayerPos(playerid,1765.1538,-1572.8994,1742.4932); //Da wo Cops drin Spawnen
  908. }
  909.  
  910. if(pickupid==prisonexit)
  911. {
  912. SetPlayerPos(playerid,221.3998,3857.4988,9.8322); //Da wo Verbrecher draußen spawnen
  913. }
  914.  
  915. if(pickupid==prisonexit2)
  916. {
  917. if(gTeam[playerid] == TEAM_COPS)
  918.         {
  919. SetPlayerPos(playerid,183.4820,3774.8311,9.7522); //Da wo Cops draußen Spawnen
  920. }
  921. else
  922. {
  923. SendClientMessage(playerid, GRAU,"Dieser Ausgang ist nur für Cops !");
  924. }
  925. }
  926.     return 1;
  927. }
  928.  
  929. public OnVehicleMod(playerid, vehicleid, componentid)
  930. {
  931.     return 1;
  932. }
  933.  
  934. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  935. {
  936.     return 1;
  937. }
  938.  
  939. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  940. {
  941.     return 1;
  942. }
  943.  
  944. public OnPlayerSelectedMenuRow(playerid, row)
  945. {
  946.     return 1;
  947. }
  948.  
  949. public OnPlayerExitedMenu(playerid)
  950. {
  951.     return 1;
  952. }
  953.  
  954. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  955. {
  956.     return 1;
  957. }
  958.  
  959. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  960. {
  961.     return 1;
  962. }
  963.  
  964. public OnRconLoginAttempt(ip[], password[], success)
  965. {
  966.     return 1;
  967. }
  968.  
  969. public OnPlayerUpdate(playerid)
  970. {
  971.     return 1;
  972. }
  973.  
  974. public OnPlayerStreamIn(playerid, forplayerid)
  975. {
  976.     return 1;
  977. }
  978.  
  979. public OnPlayerStreamOut(playerid, forplayerid)
  980. {
  981.     return 1;
  982. }
  983.  
  984. public OnVehicleStreamIn(vehicleid, forplayerid)
  985. {
  986.     return 1;
  987. }
  988.  
  989. public OnVehicleStreamOut(vehicleid, forplayerid)
  990. {
  991.     return 1;
  992. }
  993.  
  994. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  995. {
  996.     return 1;
  997. }
  998.  
  999. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1000. {
  1001.     return 1;
  1002. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement