PDA

View Full Version : How to fix CreateDynamicObject Load Slow


minionshx
25/03/2017, 09:17 AM
how to fix ?
Please help me :(

https://www.img.in.th/image/CM3o

https://www.img.in.th/image/CM3o

jasperschellekens
25/03/2017, 09:38 AM
I don't know how you go there, but why don't you add a timer to load the objects?


new Text:LoadInt;

public OnGameModeInit()
{

LoadInt = TextDrawCreate(200.200141, 190.159973, "Loading interior");
TextDrawLetterSize(LoadInt, 0.951197, 3.645868);
TextDrawAlignment(LoadInt, 1);
TextDrawColor(LoadInt, -1);
TextDrawSetShadow(LoadInt, 0);
TextDrawSetOutline(LoadInt, 1);
TextDrawBackgroundColor(LoadInt, 51);
TextDrawFont(LoadInt, 3);
TextDrawSetProportional(LoadInt, 1);
return 1;
}

CMD:gotoint1(playerid,params[])
{
SetPlayerPos(playerid,261.082702,1284.689941,1080. 257812);
SetPlayerInterior(playerid,4);
FreezeThenAutoUnfreeze(playerid, 3000); // sets the timer for 3 seconds
}else return 0;
return 1;
}

stock FreezeThenAutoUnfreeze(playerid, time)
{
TogglePlayerControllable(playerid, 0);
SetTimerEx("UnfreezeBastard", time, false, "i", playerid);
TextDrawShowForPlayer(playerid,LoadInt);
}
forward UnfreezeBastard(playerid);
public UnfreezeBastard(playerid)
{
TextDrawHideForPlayer(playerid,LoadInt);
TogglePlayerControllable(playerid, 1);
}

stock CreateTextdraws()
{
ssecond=0;sminute=0;
Textdraw1=TextDrawCreate(609.5,377," ");
TextDrawLetterSize(Textdraw1,0.3,1.3);
TextDrawSetOutline(Textdraw1,1);
TextDrawAlignment(Textdraw1,3);
Textdraw2=TextDrawCreate(609.5,387," ");
TextDrawLetterSize(Textdraw2,0.3,1.3);
TextDrawSetOutline(Textdraw2,1);
TextDrawAlignment(Textdraw2,3);
Textdraw3=TextDrawCreate(609.5,397," ");
TextDrawLetterSize(Textdraw3,0.3,1.3);
TextDrawSetOutline(Textdraw3,1);
TextDrawAlignment(Textdraw3,3);
Textdraw4=TextDrawCreate(609.5,407," ");
TextDrawLetterSize(Textdraw4,0.3,1.3);
TextDrawSetOutline(Textdraw4,1);
TextDrawAlignment(Textdraw4,3);
Textdraw5=TextDrawCreate(609.5,417," ");
TextDrawLetterSize(Textdraw5,0.3,1.3);
TextDrawSetOutline(Textdraw5,1);
TextDrawAlignment(Textdraw5,3);
for(new i=0; i<MAX_PLAYERS; i++)
{
Zones[i]=TextDrawCreate(87,424," ");
//td_fuel[i]=TextDrawCreate(498,140," ");
td_fuel[i]=TextDrawCreate(609.5,357," ");
//sdisplay[i]=TextDrawCreate(498,123," ");
sdisplay[i]=TextDrawCreate(609.5,346," ");
}
return 1;
}

minionshx
25/03/2017, 09:43 AM
I do not .
public OnGameModeInit()
{
LSMAP();
return 1;
}

stock LSMAP()
{
/* Prisoner */
//Light
CreateDynamicObject(1278, 229.90096, 1368.96594, 23.32740, 0.00000, 0.00000, 220.00000);
CreateDynamicObject(1278, 200.74687, 1368.64319, 23.32740, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(1278, 165.18126, 1376.34033, 23.32740, 0.00000, 0.00000, 150.00000);
CreateDynamicObject(1278, 177.82100, 1440.04126, 23.32740, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(1278, 224.96089, 1439.91064, 23.32740, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(1278, 274.66998, 1421.92847, 23.32740, 0.00000, 0.00000, 300.00000);
CreateDynamicObject(1278, 122.27402, 1401.62268, 23.32740, 0.00000, 0.00000, 120.00000);
CreateDynamicObject(1278, 121.71516, 1440.38428, 23.32740, 0.00000, 0.00000, 40.00000);

//Helipad
CreateDynamicObject(3934, 263.38199, 1382.63379, 23.58800, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3109, 250.77750, 1383.13220, 24.77640, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(19124, 274.09549, 1371.32324, 24.19493, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19124, 253.04935, 1371.26794, 24.19493, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19124, 252.99965, 1392.70959, 24.19493, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19124, 274.11551, 1392.69324, 24.19493, 0.00000, 0.00000, 0.00000);

CreateDynamicObject(3636, 401.63470, 1430.83179, 13.91010, -2.44900, 0.79400, 0.00000);
CreateDynamicObject(2774, 288.42181, 1420.14966, 8.99200, 0.00000, 180.00000, 0.00000);
CreateDynamicObject(19313, 280.73251, 1420.65112, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 273.66440, 1427.60815, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 273.66440, 1441.59253, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 232.71010, 1439.51099, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 218.71750, 1439.51099, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 184.82860, 1439.51099, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 170.84010, 1439.51099, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 136.91161, 1439.51099, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 127.59380, 1439.50647, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 120.60090, 1432.50391, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1418.53784, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1404.55750, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1390.57666, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1376.60352, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1362.59875, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(2774, 288.42181, 1400.35864, 8.99200, 0.00000, 180.00000, 0.00000);
CreateDynamicObject(2774, 273.68338, 1413.10034, 8.40500, 44.32500, 90.00000, 90.00000);
CreateDynamicObject(19313, 273.66440, 1413.58960, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 273.66241, 1399.62964, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3998, 250.5902, 1383.93469, 15.86240, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 231.12820, 1348.60974, 11.45120, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 231.12820, 1373.50317, 11.45119, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 266.45618, 1392.07166, 12.91330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 264.77591, 1392.09949, 12.91330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 120.61320, 1362.59875, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1376.60352, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1390.57666, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1404.55750, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.61320, 1418.53784, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 120.60090, 1432.50391, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 127.59380, 1439.50647, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 136.91161, 1439.51099, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 170.84010, 1439.51099, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 184.82860, 1439.51099, 0.00000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 184.82860, 1439.51099, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 218.71750, 1439.51099, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 232.71010, 1439.51099, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 273.66440, 1441.59253, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 273.66440, 1427.60815, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 273.66440, 1413.58960, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 273.66241, 1399.62964, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 280.73251, 1420.65112, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 127.63920, 1402.47144, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 141.68280, 1402.47485, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 127.63920, 1402.47144, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 141.68280, 1402.47485, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 152.80748, 1402.46436, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 152.80750, 1402.46436, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 224.08275, 1341.65161, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 210.08070, 1341.64966, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 196.03830, 1341.64966, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 189.04291, 1348.67053, 8.86000, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 181.95216, 1369.68909, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 167.93201, 1369.68713, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 167.93201, 1369.68713, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 181.95219, 1369.68909, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 189.04289, 1348.67053, 15.43390, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 196.03830, 1341.64966, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 210.08070, 1341.64966, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 224.08270, 1341.65161, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 266.65228, 1448.68750, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 266.65231, 1448.68750, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 253.24706, 1448.69482, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 253.24710, 1448.69482, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 166.33110, 1369.70410, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 166.33110, 1369.70410, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 231.15221, 1378.30518, 11.45120, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 231.12820, 1348.60974, 18.01870, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 231.18027, 1362.62976, 18.01870, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 231.12820, 1376.63184, 18.01870, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 231.15221, 1378.30518, 18.01870, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 249.09987, 1395.66016, 10.81643, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 144.01550, 1433.23865, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 144.01550, 1423.60559, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 144.01550, 1413.97095, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 144.01550, 1407.29395, 7.84530, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(946, 133.94099, 1405.53662, 11.74820, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(946, 133.94099, 1436.98035, 11.75420, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(946, 192.15331, 1394.54370, 11.75420, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(946, 192.15327, 1415.97351, 11.75420, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(16101, 124.67510, 1430.52795, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 121.50750, 1430.53333, 2.04530, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 124.69012, 1411.44495, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 121.52267, 1411.42480, 2.01386, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 124.80370, 1422.46643, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 124.80370, 1425.06714, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 124.80370, 1417.00623, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 124.80370, 1419.72461, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 124.80369, 1414.12524, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 124.80370, 1427.62610, 2.66450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(1368, 121.81980, 1429.13477, 10.24290, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(1368, 121.81980, 1426.59399, 10.24290, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(1368, 121.81980, 1424.05383, 10.24290, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(1368, 121.81980, 1421.51306, 10.24290, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(1368, 121.81980, 1418.97241, 10.24290, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(1368, 121.81980, 1416.43298, 10.24290, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(1368, 121.81980, 1413.89294, 10.24290, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(1368, 121.81980, 1412.79272, 10.24090, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3819, 148.02538, 1430.57410, 10.56690, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3819, 148.02541, 1412.24792, 10.56690, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 133.75110, 1421.10522, 7.84730, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 256.09412, 1416.68701, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 256.09021, 1402.67493, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 259.53851, 1416.68701, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 259.53851, 1402.67493, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 259.53851, 1388.71472, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 259.53134, 1385.30688, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19304, 257.82379, 1423.68518, 12.65040, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19303, 258.70190, 1423.68518, 10.82450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19302, 256.96381, 1423.68518, 10.82450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19304, 257.82181, 1423.68604, 13.45540, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19087, 243.86713, 1409.75989, 11.82390, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(16101, 241.42200, 1409.74902, 1.03310, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 243.83760, 1409.74902, 1.55447, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19087, 241.42929, 1412.25928, 11.51171, 0.00000, 90.00000, 90.00000);
CreateDynamicObject(16101, 241.41301, 1412.28894, 0.71990, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 238.44328, 1409.49829, 4.53515, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 233.55949, 1409.49829, 4.53520, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(19087, 238.47841, 1409.50061, 15.41054, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19087, 236.02180, 1409.49976, 15.41050, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19087, 235.13200, 1409.49976, 15.41050, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19088, 235.13200, 1409.49976, 12.56050, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19087, 235.13300, 1409.49988, 14.97250, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19087, 236.88100, 1409.49976, 15.41050, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19087, 236.88200, 1409.49988, 14.97250, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19088, 236.88100, 1409.49976, 12.56050, 0.00000, 0.00000, 100.00000);
CreateDynamicObject(2629, 232.45370, 1396.74707, 9.56030, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(2629, 235.83270, 1396.74707, 9.56030, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(2628, 239.51656, 1396.91650, 9.56030, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(2628, 242.37840, 1396.91650, 9.56030, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(2628, 246.40311, 1396.91650, 9.56030, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(19087, 243.85231, 1409.78259, 12.43094, 0.00000, 90.00000, 90.00000);
CreateDynamicObject(16101, 243.83659, 1407.32373, 1.55450, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(14791, 221.89018, 1409.56616, 10.71730, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3819, 222.00067, 1416.85522, 10.56690, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3819, 222.00070, 1401.17529, 10.56690, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(14401, 158.21140, 1389.36743, 9.85860, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(14401, 158.21140, 1382.26062, 9.85860, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(14401, 199.27879, 1451.74060, 9.85860, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(19313, 196.08022, 1369.65076, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 210.08054, 1369.65601, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 224.14120, 1369.71680, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 196.08020, 1369.65076, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 210.08051, 1369.65601, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 224.14120, 1369.71680, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 259.54727, 1430.67126, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 259.54489, 1444.65137, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 259.52869, 1444.99170, 10.81640, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3279, 225.11710, 1453.37585, 9.57495, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3279, 177.97411, 1453.37585, 9.57490, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3279, 131.18930, 1453.37585, 9.57490, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3279, 196.86661, 1362.67029, 9.57490, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3819, 192.97433, 1384.39124, 10.56690, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(3279, 277.74667, 1462.05188, 9.57495, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(3881, 290.71954, 1403.95178, 7.91466, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(3881, 290.71951, 1403.95178, 11.62820, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(966, 287.82001, 1406.73767, 9.38020, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(995, 288.36459, 1414.8303, 10.02890, 90.00000, 0.00000, 90.00000);
CreateDynamicObject(19357, 230.36552, 1344.86133, 7.83630, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19357, 227.24139, 1344.86133, 7.83630, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19357, 224.30040, 1344.86133, 7.83630, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19357, 221.12010, 1344.86133, 7.83630, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19357, 217.97820, 1344.86133, 7.83630, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19357, 214.87869, 1344.86133, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 211.89880, 1344.86133, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 208.79820, 1344.86133, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 205.73801, 1344.86133, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 202.65770, 1344.86133, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 199.62410, 1344.86133, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19445, 205.85971, 1365.02515, 7.84330, 0.00000, 0.00000, 40.00000);
CreateDynamicObject(19445, 210.96640, 1365.02515, 7.84330, 0.00000, 0.00000, 40.00000);
CreateDynamicObject(19445, 216.35660, 1365.02515, 7.84330, 0.00000, 0.00000, 40.00000);
CreateDynamicObject(19445, 194.27516, 1355.55566, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 194.25998, 1351.51111, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19313, 182.06242, 1355.64258, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 168.05917, 1355.65137, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 166.29829, 1355.63013, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 182.06239, 1355.64258, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 168.05920, 1355.65137, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 166.29829, 1355.63013, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(16101, 209.59576, 1416.09485, 2.11692, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 206.47256, 1416.10486, 2.63112, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 206.48151, 1396.98914, 2.63112, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 209.60202, 1396.99182, 2.02408, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 206.36301, 1400.21082, 2.63110, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 206.36301, 1403.31189, 2.63110, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 206.36301, 1406.55176, 2.63110, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 206.36298, 1409.67273, 2.63112, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(16101, 206.36301, 1412.97266, 2.63110, 0.00000, 0.00000, -0.12000);
CreateDynamicObject(1368, 209.32401, 1414.75415, 10.22490, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1368, 209.32401, 1412.21338, 10.22490, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1368, 209.32401, 1409.67358, 10.22490, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1368, 209.32401, 1407.13293, 10.22490, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1368, 209.32401, 1404.59229, 10.22490, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1368, 209.32401, 1402.05164, 10.22490, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1368, 209.32401, 1399.51184, 10.22490, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1368, 209.32600, 1398.23071, 10.22290, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1344, 144.56853, 1379.93787, 10.38110, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1344, 144.56850, 1382.72021, 10.38110, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1344, 144.57619, 1385.46326, 10.38110, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(1448, 143.55380, 1376.95752, 9.65270, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(1448, 143.55380, 1376.95752, 9.79170, 0.00000, 0.00000, 342.68130);
CreateDynamicObject(1448, 143.55380, 1376.95752, 9.93170, 0.00000, 0.00000, 14.36257);
CreateDynamicObject(1438, 143.05623, 1386.77234, 9.58368, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 152.35753, 1402.46692, 8.86000, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19313, 152.35750, 1402.46692, 15.43390, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19357, 249.71919, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 246.57690, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 243.57091, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 240.60989, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 237.58971, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 255.62720, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 258.84741, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 261.94739, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 265.06699, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 268.22720, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19357, 271.58710, 1368.81921, 7.83630, 0.00000, 0.00000, -0.24000);
CreateDynamicObject(19445, 231.60339, 1348.26526, 8.14430, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19381, 236.77890, 1348.25146, 9.81440, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19445, 236.50990, 1352.99475, 8.14430, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 246.13570, 1352.99475, 8.14430, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19381, 247.27850, 1348.25146, 9.81440, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19445, 236.33180, 1343.50916, 8.14330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 245.96671, 1343.50916, 8.14330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19381, 257.77829, 1348.25146, 9.81440, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19381, 268.27979, 1348.25146, 9.81440, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19445, 255.60130, 1343.50916, 8.14330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 265.23401, 1343.50916, 8.14330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 268.72629, 1343.51025, 8.14430, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 273.45529, 1348.26318, 8.14330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 255.76910, 1352.99475, 8.14430, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 265.40240, 1352.99475, 8.14430, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 268.60251, 1352.99585, 8.14530, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 174.64439, 1397.55090, 7.84830, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 174.64540, 1391.74231, 7.84730, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 179.55141, 1387.01550, 7.84730, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 189.18491, 1387.01550, 7.84730, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 198.81950, 1387.01550, 7.84730, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 203.72580, 1391.74316, 7.84730, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 203.72580, 1401.37756, 7.84730, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 203.72580, 1411.01184, 7.84930, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 203.72580, 1414.61157, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 200.05220, 1414.51978, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 200.05220, 1404.88550, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 200.05220, 1395.25098, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 195.14500, 1390.67908, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 185.51089, 1390.67908, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 183.03030, 1390.67810, 7.84230, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 178.32050, 1395.58594, 7.84230, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 178.32150, 1397.62573, 7.84130, 0.00000, 0.00000, 0.00000);

CreateDynamicObject(617, 240.74400, 1347.65723, 9.58400, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(615, 267.28683, 1347.63049, 9.58400, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(8623, 237.49951, 1348.04504, 10.50238, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8623, 248.02049, 1348.10803, 10.50238, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8623, 258.78787, 1347.87732, 10.50238, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8623, 267.66467, 1348.14111, 10.50238, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8990, 265.79184, 1347.00977, 10.40348, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8990, 253.82431, 1346.98291, 10.40348, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8990, 239.91698, 1346.90771, 10.40348, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8990, 239.52455, 1348.38513, 10.40348, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8990, 252.48409, 1348.48730, 10.40348, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8990, 265.10614, 1348.68286, 10.40348, 0.00000, 0.00000, 0.72000);


//Cell blocks & Public building
new cblock = CreateDynamicObject(5738, 250.59111, 1457.35632, 13.04880, 0.00000, 0.00000, 90.65300);
SetDynamicObjectMaterial(cblock, 4, 4079, "civic04_lan", "twintWin1_LAn"); //Windows
SetDynamicObjectMaterial(cblock, 3, 4079, "civic04_lan", "twintWall2_LAn"); //Roof corner
cblock = CreateDynamicObject(5738, 202.69530, 1457.38159, 13.04880, 0.00000, 0.00000, 90.65300);
SetDynamicObjectMaterial(cblock, 4, 4079, "civic04_lan", "twintWin1_LAn" ); //Windows
SetDynamicObjectMaterial(cblock, 3, 4079, "civic04_lan", "twintWall2_LAn"); //Roof corner
cblock = CreateDynamicObject(5738, 154.79713, 1457.36853, 13.04880, 0.00000, 0.00000, 90.65300);
SetDynamicObjectMaterial(cblock, 4, 4079, "civic04_lan", "twintWin1_LAn" ); //Windows
SetDynamicObjectMaterial(cblock, 3, 4079, "civic04_lan", "twintWall2_LAn"); //Roof corner

cblock = CreateDynamicObject(5738, 153.92700, 1364.09631, 13.04880, 0.00000, 0.00000, 0.65300);
SetDynamicObjectMaterial(cblock, 4, 3998, "civic04_lan", "twintWin2_LAn" ); //Windows
SetDynamicObjectMaterial(cblock, 3, 3998, "civic04_lan", "twintconc_LAn"); //Roof corner
cblock = CreateDynamicObject(5738, 156.25397, 1383.78210, 5.84841, 0.00000, 0.00000, 90.65300);
SetDynamicObjectMaterial(cblock, 4, 4079, "civic04_lan", "twintWin1_LAn" ); //Windows
SetDynamicObjectMaterial(cblock, 3, 4079, "civic04_lan", "twintWall2_LAn"); //Roof corner

new grass = CreateObject(8661, 239.54919, 1429.49438, 9.58680, 0.00000, 0.00000, 0.00000);
SetObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateObject(8661, 199.54930, 1429.49438, 9.58680, 0.00000, 0.00000, 0.00000);
SetObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateObject(8661, 163.92641, 1429.49438, 9.58880, 0.00000, 0.00000, 0.00000);
SetObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateObject(8661, 163.92641, 1412.45239, 9.59080, 0.00000, 0.00000, 0.00000);
SetObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateObject(8661, 246.07111, 1419.51489, -10.39270, -0.09000, 90.00000, 270.00000);
SetObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateDynamicObject(19381, 225.75252, 1378.60693, 9.81440, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateDynamicObject(19381, 225.75369, 1388.24182, 9.81440, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateDynamicObject(19381, 215.25240, 1388.24182, 9.81440, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");
grass = CreateDynamicObject(19381, 215.25240, 1378.60693, 9.81440, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(grass, 0, 17877, "landhub", "dirtKB_64HV");

//Roads
new road = CreateDynamicObject(19447, 153.82552, 1433.24878, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 153.82550, 1423.61450, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 153.82550, 1413.98083, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 153.82550, 1404.34619, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 201.88910, 1433.24878, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 249.70700, 1433.24475, 9.50310, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 160.39301, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 170.02370, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 179.65800, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 189.29311, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 198.92720, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 208.56310, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 218.19791, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 227.83200, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 237.46550, 1426.67969, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 246.64120, 1426.67773, 9.50710, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 257.82697, 1396.96594, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 257.82700, 1406.60217, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 257.82700, 1416.23669, 9.50910, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 251.65305, 1422.43433, 9.40710, 0.00000, 90.00000, 51.63934);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 254.75819, 1426.67773, 9.50510, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 257.82700, 1422.33044, 9.50710, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 206.90739, 1436.32495, 9.50710, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 160.39191, 1404.88257, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 249.70700, 1424.24158, 9.50510, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 201.88910, 1424.30957, 9.50710, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 148.91389, 1421.23462, 9.50710, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 201.88910, 1414.67603, 9.50710, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 201.88910, 1405.04333, 9.50710, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 201.88910, 1395.40613, 9.50710, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 198.82060, 1388.83875, 9.50710, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 189.18770, 1388.83875, 9.50710, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 179.55310, 1388.83875, 9.50710, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 176.48511, 1395.40625, 9.50710, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 170.02319, 1404.88257, 9.50910, 0.00000, 90.00000, 90.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");
road = CreateDynamicObject(19447, 176.48309, 1401.81384, 9.50810, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(road, 0, 4079, "civic04_lan", "plaintarmac1");

CreateDynamicObject(19445, 170.10970, 1402.45764, 7.84630, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 179.25240, 1402.45764, 7.84530, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 183.98109, 1407.36255, 7.84530, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 183.97910, 1414.69836, 7.84330, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 188.88429, 1419.42615, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 198.51880, 1419.42615, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 208.15269, 1419.42615, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 217.78529, 1419.42615, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 227.41811, 1419.42615, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 237.05209, 1419.42615, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 246.68600, 1419.42615, 7.84330, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 251.54640, 1419.42712, 7.84130, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(2913, 235.35320, 1396.20483, 10.53980, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(2913, 231.97060, 1396.22119, 10.53980, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(2915, 234.32182, 1400.07874, 9.70230, 0.00000, 0.00000, 5.00000);
CreateDynamicObject(2916, 237.37637, 1399.65674, 9.70230, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(2915, 236.32271, 1400.50977, 9.70230, 0.00000, 0.00000, 10.00000);
CreateDynamicObject(19445, 259.48611, 1433.24548, 7.84330, 0.00000, 0.00000, 0.00000);



//Pit
new pit = CreateDynamicObject(19447, 121.50720, 1416.17822, 11.00700, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 121.50717, 1425.81262, 11.00700, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 123.18810, 1425.81262, 13.31820, 0.00000, -100.00000, 0.00000); //Roof
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "plaintarmac1");
pit = CreateDynamicObject(19447, 123.18810, 1416.17822, 13.31820, 0.00000, -100.00000, 0.00000); //Roof
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "plaintarmac1");
pit = CreateDynamicObject(19447, 257.81140, 1418.93103, 14.04940, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 257.81140, 1409.29639, 14.04940, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 257.81140, 1399.66150, 14.04940, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 257.81140, 1390.02795, 14.04940, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 254.31754, 1390.86194, 14.04940, 0.00000, 90.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 209.63820, 1411.35950, 11.00700, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 209.63820, 1401.72534, 11.00700, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19447, 208.03281, 1401.72534, 13.27660, 0.00000, 100.00000, 0.00000); //Roof
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "plaintarmac1");
pit = CreateDynamicObject(19447, 208.03191, 1411.35950, 13.27660, 0.00000, 100.00000, 0.00000); //Roof
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "plaintarmac1");
pit = CreateDynamicObject(19355, 123.20170, 1411.45129, 11.00700, 0.00000, 0.00000, 90.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19355, 123.20320, 1430.54175, 11.00700, 0.00000, 0.00000, 90.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19355, 207.94400, 1416.08618, 11.00700, 0.00000, 0.00000, 90.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");
pit = CreateDynamicObject(19355, 207.94400, 1396.99658, 11.00700, 0.00000, 0.00000, 90.00000);
SetDynamicObjectMaterial(pit, 0, 4079, "civic04_lan", "twintWall2_LAn");

//Sign
new sign = CreateDynamicObject(19447, 288.09763, 1415.01477, 19.62394, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(sign, 0, 2774, "airp_prop", "cj_white_wall2");
sign = CreateDynamicObject(19447, 288.09830, 1405.38281, 19.62390, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(sign, 0, 2774, "airp_prop", "cj_white_wall2");
sign = CreateDynamicObject(19447, 287.9496, 1415.01477, 19.62394, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(sign, 0, 2774, "airp_prop", "cj_white_wall2");
sign = CreateDynamicObject(19447, 287.9496, 1405.38281, 19.62390, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(sign, 0, 2774, "airp_prop", "cj_white_wall2");

//Gates
PrisonGate[0][0] = CreateDynamicObject(988, 231.21869, 1358.35840, 10.61700, 0.00000, 0.00000, 90.00000);
PrisonGate[1][0] = CreateDynamicObject(988, 231.21870, 1363.84888, 10.61700, 0.00000, 0.00000, 90.00000);
PrisonGate[2][0] = CreateDynamicObject(968, 287.81442, 1406.71497, 10.02230, 0.00000, 90.00000, 90.00000); //Barrier

//Doors
CreateDynamicObject(3109, 154.61871, 1438.06323, 10.77020, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3109, 202.56454, 1438.04517, 10.77020, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3109, 250.45157, 1438.03906, 10.77020, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3109, 153.9786, 1403.04712, 10.77020, 0.00000, 0.00000, 270.00000);
CreateDynamicObject(3109, 173.22977, 1366.2065, 10.77020, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(3109, 139.8456, 1374.94885, 10.77020, 0.00000, 0.00000, 270.00000);

//Grass area
CreateDynamicObject(19445, 216.55380, 1373.85425, 8.14430, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 214.81371, 1373.85315, 8.14530, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 210.06380, 1378.58154, 8.14630, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 210.06380, 1388.20105, 8.14630, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19445, 214.79179, 1393.00476, 8.14530, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 224.42570, 1393.00476, 8.14530, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(19445, 234.05949, 1393.00476, 8.14530, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(3694, 226.09680, 1382.20959, 10.23200, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(617, 211.71286, 1383.07922, 9.58400, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(337, 221.29813, 1387.08557, 10.63570, 180.00000, -20.00000, 180.00000);
CreateDynamicObject(337, 218.26199, 1386.34912, 9.98550, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(617, 226.17700, 1383.07922, 9.58400, 0.00000, 0.00000, 60.00000);
CreateDynamicObject(19445, 226.18690, 1373.85425, 8.14430, 0.00000, 0.00000, 90.00000);


//----------------------------------------------------[CELL BLOCK A - GREY]-------------------------------------------------------------
CreateObject(8661, 121.50000, -22.70001, 1158.84998, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19461, 101.70000, -27.60001, 1161.29797, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 101.70200, -18.00001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 106.50000, -32.40001, 1161.30005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 116.10000, -32.40001, 1161.30005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 106.50000, -13.20001, 1161.30005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 116.10000, -13.20001, 1161.30005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19368, 123.40000, -22.90001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 105.36000, -32.00001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 116.10000, -13.20001, 1157.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 106.50000, -13.20001, 1157.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 101.70000, -18.00001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 101.70000, -27.60001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 106.50000, -32.40001, 1157.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 116.10000, -32.40001, 1157.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 105.36000, -32.00001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 109.00000, -32.00001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 109.00000, -32.00001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateObject(8661, 103.50000, -35.50001, 1162.76794, 0.00000, 0.00000, 0.0000);
CreateDynamicObject(19461, 125.70000, -32.40001, 1161.30005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 125.70000, -32.40001, 1157.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(8661, 103.50000, -35.50001, 1162.59204, 0.00001, 180.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 108.87800, -27.24501, 1162.68005, 0.00000, 90.00000, 90.0000, 1, 1);
CreateDynamicObject(19461, 101.70000, -27.60001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 112.60000, -32.00001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 112.60000, -32.00001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 118.51000, -27.24414, 1162.68005, 0.00000, 90.00000, 90.0000, 1, 1);
CreateObject(8661, 121.50000, -22.70001, 1166.50000, 0.00001, 180.00000, 0.0000);
CreateDynamicObject(19461, 101.70000, -18.00001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 106.50000, -32.40001, 1164.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 116.10000, -32.40001, 1164.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 125.70000, -32.40001, 1164.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 105.36000, -32.00001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 109.00000, -32.00001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 112.60000, -32.00001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 116.20000, -32.00001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 116.20000, -32.00001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 116.20000, -32.00001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 119.80000, -32.00001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 119.80000, -32.00001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 119.80000, -32.00001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 123.40000, -29.30001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 123.40000, -29.30001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 123.40000, -29.30001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 123.40000, -16.50001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 123.40000, -19.66621, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 123.40000, -16.50001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19396, 123.40000, -22.87801, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19460, 99.24300, -27.24414, 1162.68005, 0.00000, 90.00000, 90.0000, 1, 1);
CreateObject(8661, 84.71300, -15.52001, 1162.76794, 0.00000, 0.00000, 0.0000);
CreateDynamicObject(19461, 103.00000, -20.70001, 1162.68005, 0.00000, 90.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 105.36000, -13.30001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 105.36000, -13.30001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 105.36000, -13.30001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateObject(8661, 103.48272, -9.88993, 1162.77002, 0.00000, 0.00000, 0.0000);
CreateObject(8661, 103.50000, -9.89001, 1162.59204, 0.00001, 180.00000, 0.0000);
CreateObject(8661, 84.78000, -15.51001, 1162.58997, 0.00001, 179.99451, 0.0000);
CreateDynamicObject(19461, 109.06600, -18.12701, 1162.68005, 0.00000, 90.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 118.69922, -18.12695, 1162.68005, 0.00000, 90.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 109.00000, -13.30001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 109.00000, -13.30001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 109.00000, -13.30001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 112.60000, -13.30001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 112.60000, -13.30001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 112.60000, -13.30001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 116.20000, -13.30001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 116.20000, -13.30001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 116.20000, -13.30001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 125.70000, -13.20001, 1157.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 125.70000, -13.20001, 1161.30005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 116.10000, -13.20001, 1164.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 125.70000, -13.20001, 1164.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 106.50000, -13.20001, 1164.80005, 0.00000, 0.00000, 270.0000, 1, 1);
CreateDynamicObject(19461, 119.80000, -13.30001, 1157.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 119.80000, -13.30001, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 119.80000, -13.30001, 1164.80005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(0, 99.45460, -21.27921, 1164.34460, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(13011, 110.05310, -20.45651, 1159.40186, 0.00000, 0.00000, 90.0000, 1, 1);
CreateDynamicObject(1801, 120.46387, -16.82508, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(19461, 123.40000, -10.03401, 1161.30005, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 116.84029, -16.82125, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 113.22019, -16.89958, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 109.57664, -16.89888, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 105.96558, -16.85759, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 102.29037, -16.81536, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 120.40511, -33.32615, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 116.84846, -33.37616, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 113.22792, -33.36434, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 109.61518, -33.36949, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 105.97546, -33.35293, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 102.31548, -33.25351, 1158.84985, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 102.31550, -33.25351, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 105.99602, -33.40726, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 109.61719, -33.25282, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 113.19665, -33.33807, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 116.91750, -33.33871, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 120.41782, -33.37441, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 120.41032, -16.77006, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 116.84445, -16.80131, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 113.24335, -16.84022, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 109.66024, -16.79007, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 105.95893, -16.80323, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1801, 102.29698, -16.79521, 1162.74377, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(14401, 123.19810, -37.03341, 1159.17212, 0.00000, 0.00000, 0.0000, 1, 1);
CreateDynamicObject(1886, 102.24440, -26.56001, 1166.78284, 10.00000, 0.00001, 140.0000, 1, 1);
CreateDynamicObject(1886, 122.75810, -18.88881, 1166.78284, 10.00000, 0.00000, 320.0000, 1, 1);
CreateDynamicObject(1886, 102.66816, -19.59019, 1166.58191, 30.00000, 0.00000, 61.29155, 1, 1);
CreateDynamicObject(3109, 123.34820, -23.62201, 1160.00610, 0.00000, 0.00000, 0.0000, 1, 1);

//Celldoors
/* CelldoorA[0] = CreateDynamicObject(19303, 104.40000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[0], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[1] = CreateDynamicObject(19303, 108.05000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[1], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[2] = CreateDynamicObject(19303, 111.65000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[2], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[3] = CreateDynamicObject(19303, 115.25000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[3], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[4] = CreateDynamicObject(19303, 118.85000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[4], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[5] = CreateDynamicObject(19303, 122.45000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[5], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[6] = CreateDynamicObject(19303, 104.40000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[6], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[7] = CreateDynamicObject(19303, 108.05000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[7], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[8] = CreateDynamicObject(19303, 111.68000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[8], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[9] = CreateDynamicObject(19303, 115.30000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[9], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[10] = CreateDynamicObject(19303, 118.88000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[10], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[11] = CreateDynamicObject(19303, 122.50000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[11], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[12] = CreateDynamicObject(19303, 104.40000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[12], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[13] = CreateDynamicObject(19303, 108.03400, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[13], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[14] = CreateDynamicObject(19303, 111.65000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[14], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[15] = CreateDynamicObject(19303, 115.25000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[15], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[16] = CreateDynamicObject(19303, 118.85000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[16], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[17] = CreateDynamicObject(19303, 122.45000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[17], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[18] = CreateDynamicObject(19303, 104.41000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[18], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[19] = CreateDynamicObject(19303, 108.04000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[19], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[20] = CreateDynamicObject(19303, 111.65000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[20], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[21] = CreateDynamicObject(19303, 115.25000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[21], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[22] = CreateDynamicObject(19303, 118.85000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[22], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorA[23] = CreateDynamicObject(19303, 122.45000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(CelldoorA[23], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);
*/
//Celldoor2
new celld2 = CreateDynamicObject(19302, 102.66000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.66000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.56000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.75000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.65000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.66000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.95000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);


//Fences/windows/cells
new fence = CreateDynamicObject(19304, 103.54000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 107.17000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 103.54000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 110.81000, -27.30000, 1161.96997, 0.00000, 0.00000, 180.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 114.44000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 118.02000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.62000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.20000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.80000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.40000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.00000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.60000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 103.52000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.17000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.82000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.39000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.00000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.60000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 103.52000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.82000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.42000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.02000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.62000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.18000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 104.66660, -23.75690, 1163.40002, 0.00000, 0.00000, 90.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 108.57810, -19.84980, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 112.05910, -19.84840, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 115.54070, -19.84840, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 119.04020, -19.84840, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 122.54000, -19.84840, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 106.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 109.90000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 113.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 116.90000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 120.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 123.88200, -25.53200, 1163.40002, 0.00000, 0.00000, 0.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 104.66820, -21.53120, 1163.39795, 0.00000, 0.00000, 90.0000, 1, 1);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

//-----------------------------------------------[CELL BLOCK - BLUE]----------------------------------------------------
CreateObject(8661, 121.50000, -22.70000, 1158.84998, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19459, 101.70000, -27.60000, 1161.29797, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 101.70200, -18.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 106.50000, -32.40000, 1161.30005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 116.10000, -32.40000, 1161.30005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 106.50000, -13.20000, 1161.30005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 116.10000, -13.20000, 1161.30005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19367, 123.40000, -22.90000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 105.36000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 116.10000, -13.20000, 1157.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 106.50000, -13.20000, 1157.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 101.70000, -18.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 101.70000, -27.60000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 106.50000, -32.40000, 1157.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 116.10000, -32.40000, 1157.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 105.36000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 109.00000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 109.00000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateObject(8661, 103.50000, -35.50000, 1162.76794, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19459, 125.70000, -32.40000, 1161.30005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 125.70000, -32.40000, 1157.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateObject(8661, 103.50000, -35.50000, 1162.59204, 0.00000, 180.00000, 0.00000);
CreateDynamicObject(19459, 108.87800, -27.24500, 1162.68005, 0.00000, 90.00000, 90.00000, 2, 2);
CreateDynamicObject(19459, 101.70000, -27.60000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 112.60000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 112.60000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 118.51000, -27.24414, 1162.68005, 0.00000, 90.00000, 90.00000, 2, 2);
CreateObject(8661, 121.50000, -22.70000, 1166.50000, 0.00000, 180.00000, 0.00000);
CreateDynamicObject(19459, 101.70000, -18.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 106.50000, -32.40000, 1164.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 116.10000, -32.40000, 1164.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 125.70000, -32.40000, 1164.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 105.36000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 109.00000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 112.60000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 116.20000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 116.20000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 116.20000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 119.80000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 119.80000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 119.80000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 123.40000, -29.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 123.40000, -29.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 123.40000, -29.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 123.40000, -16.50000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 123.40000, -19.66620, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 123.40000, -16.50000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19395, 123.40000, -22.87800, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 99.24300, -27.24414, 1162.68005, 0.00000, 90.00000, 90.00000, 2, 2);
CreateObject(8661, 84.71300, -15.52000, 1162.76794, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19459, 103.00000, -20.70000, 1162.68005, 0.00000, 90.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 105.36000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 105.36000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 105.36000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateObject(8661, 103.48272, -9.88993, 1162.77002, 0.00000, 0.00000, 0.00000);
CreateObject(8661, 103.50000, -9.89000, 1162.59204, 0.00000, 180.00000, 0.00000);
CreateObject(8661, 84.78000, -15.51000, 1162.58997, 0.00000, 179.99451, 0.00000);
CreateDynamicObject(19459, 109.06600, -18.12700, 1162.68005, 0.00000, 90.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 118.69922, -18.12695, 1162.68005, 0.00000, 90.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 109.00000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 109.00000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 109.00000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 112.60000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 112.60000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 112.60000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 116.20000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 116.20000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 116.20000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 125.70000, -13.20000, 1157.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 125.70000, -13.20000, 1161.30005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 116.10000, -13.20000, 1164.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 125.70000, -13.20000, 1164.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 106.50000, -13.20000, 1164.80005, 0.00000, 0.00000, 270.00000, 2, 2);
CreateDynamicObject(19459, 119.80000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 119.80000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 119.80000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(13011, 110.05310, -20.45650, 1159.40186, 0.00000, 0.00000, 90.00000, 2, 2);
CreateDynamicObject(1800, 120.46387, -16.82508, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(19459, 123.40000, -10.03400, 1161.30005, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 116.84029, -16.82125, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 113.22019, -16.89958, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 109.57664, -16.89888, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 105.96558, -16.85759, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 102.29037, -16.81536, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 120.40511, -33.32615, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 116.84846, -33.37616, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 113.22792, -33.36434, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 109.61518, -33.36949, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 105.97546, -33.35293, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 102.31548, -33.25350, 1158.84985, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 102.31550, -33.25350, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 105.99602, -33.40726, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 109.61719, -33.25282, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 113.19665, -33.33807, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 116.91750, -33.33870, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 120.41782, -33.37440, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 120.41032, -16.77006, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 116.84445, -16.80130, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 113.24335, -16.84022, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 109.66024, -16.79007, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 105.95893, -16.80323, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1800, 102.29698, -16.79520, 1162.74377, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(14401, 123.19810, -37.03340, 1159.17212, 0.00000, 0.00000, 0.00000, 2, 2);
CreateDynamicObject(1886, 102.24440, -26.56000, 1166.78284, 10.00000, 0.00000, 140.00000, 2, 2);
CreateDynamicObject(1886, 122.75810, -18.88880, 1166.78284, 10.00000, 0.00000, 320.00000, 2, 2);
CreateDynamicObject(1886, 102.66816, -19.59019, 1166.58191, 30.00000, 0.00000, 61.29155, 2, 2);
CreateDynamicObject(3109, 123.34820, -23.62200, 1160.00610, 0.00000, 0.00000, 0.00000, 2, 2);

//Celldoors
/* CelldoorB[0] = CreateDynamicObject(19303, 104.40000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[0], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[1] = CreateDynamicObject(19303, 108.05000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[1], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[2] = CreateDynamicObject(19303, 111.65000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[2], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[3] = CreateDynamicObject(19303, 115.25000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[3], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[4] = CreateDynamicObject(19303, 118.85000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[4], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[5] = CreateDynamicObject(19303, 122.45000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[5], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[6] = CreateDynamicObject(19303, 104.40000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[6], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[7] = CreateDynamicObject(19303, 108.05000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[7], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[8] = CreateDynamicObject(19303, 111.68000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[8], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[9] = CreateDynamicObject(19303, 115.30000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[9], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[10] = CreateDynamicObject(19303, 118.88000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[10], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[11] = CreateDynamicObject(19303, 122.50000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[11], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[12] = CreateDynamicObject(19303, 104.40000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[12], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[13] = CreateDynamicObject(19303, 108.03400, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[13], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[14] = CreateDynamicObject(19303, 111.65000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[14], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[15] = CreateDynamicObject(19303, 115.25000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[15], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[16] = CreateDynamicObject(19303, 118.85000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[16], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[17] = CreateDynamicObject(19303, 122.45000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[17], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[18] = CreateDynamicObject(19303, 104.41000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[18], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[19] = CreateDynamicObject(19303, 108.04000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[19], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[20] = CreateDynamicObject(19303, 111.65000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[20], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[21] = CreateDynamicObject(19303, 115.25000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[21], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[22] = CreateDynamicObject(19303, 118.85000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[22], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorB[23] = CreateDynamicObject(19303, 122.45000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(CelldoorB[23], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);
*/
//Celldoor2
celld2 = CreateDynamicObject(19302, 102.66000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.66000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.56000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.75000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.65000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.66000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.95000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);


//Fences/windows/cells
fence = CreateDynamicObject(19304, 103.54000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 107.17000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 103.54000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 110.81000, -27.30000, 1161.96997, 0.00000, 0.00000, 180.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 114.44000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 118.02000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.62000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.20000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.80000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.40000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.00000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.60000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 103.52000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.17000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.82000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.39000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.00000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.60000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 103.52000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.82000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.42000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.02000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.62000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.18000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 104.66660, -23.75690, 1163.40002, 0.00000, 0.00000, 90.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 108.57810, -19.84980, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 112.05910, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 115.54070, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 119.04020, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 122.54000, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 106.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 109.90000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 113.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 116.90000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 120.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 123.88200, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 104.66820, -21.53120, 1163.39795, 0.00000, 0.00000, 90.00000, 2, 2);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

//------------------------------------------------[CELL BLOCK - WHITE]------------------------------------------
CreateObject(8661, 121.50000, -22.70000, 1158.84998, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19461, 101.70000, -27.60000, 1161.29797, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 101.70200, -18.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 106.50000, -32.40000, 1161.30005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 116.10000, -32.40000, 1161.30005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 106.50000, -13.20000, 1161.30005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 116.10000, -13.20000, 1161.30005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19369, 123.40000, -22.90000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 105.36000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 116.10000, -13.20000, 1157.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 106.50000, -13.20000, 1157.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 101.70000, -18.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 101.70000, -27.60000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 106.50000, -32.40000, 1157.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 116.10000, -32.40000, 1157.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 105.36000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 109.00000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 109.00000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateObject(8661, 103.50000, -35.50000, 1162.76794, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19461, 125.70000, -32.40000, 1161.30005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 125.70000, -32.40000, 1157.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateObject(8661, 103.50000, -35.50000, 1162.59204, 0.00000, 180.00000, 0.00000);
CreateDynamicObject(19461, 108.87800, -27.24500, 1162.68005, 0.00000, 90.00000, 90.00000, 3, 3);
CreateDynamicObject(19461, 101.70000, -27.60000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 112.60000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 112.60000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 118.51000, -27.24414, 1162.68005, 0.00000, 90.00000, 90.00000, 3, 3);
CreateObject(8661, 121.50000, -22.70000, 1166.50000, 0.00000, 180.00000, 0.00000);
CreateDynamicObject(19461, 101.70000, -18.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 106.50000, -32.40000, 1164.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 116.10000, -32.40000, 1164.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 125.70000, -32.40000, 1164.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 105.36000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 109.00000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 112.60000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 116.20000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 116.20000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 116.20000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 119.80000, -32.00000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 119.80000, -32.00000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 119.80000, -32.00000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 123.40000, -29.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 123.40000, -29.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 123.40000, -29.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 123.40000, -16.50000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 123.40000, -19.66620, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 123.40000, -16.50000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19397, 123.40000, -22.87800, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 99.24300, -27.24414, 1162.68005, 0.00000, 90.00000, 90.00000, 3, 3);
CreateObject(8661, 84.71300, -15.52000, 1162.76794, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19461, 103.00000, -20.70000, 1162.68005, 0.00000, 90.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 105.36000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 105.36000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 105.36000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateObject(8661, 103.48272, -9.88993, 1162.77002, 0.00000, 0.00000, 0.00000);
CreateObject(8661, 103.50000, -9.89000, 1162.59204, 0.00000, 180.00000, 0.00000);
CreateObject(8661, 84.78000, -15.51000, 1162.58997, 0.00000, 179.99451, 0.00000);
CreateDynamicObject(19461, 109.06600, -18.12700, 1162.68005, 0.00000, 90.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 118.69922, -18.12695, 1162.68005, 0.00000, 90.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 109.00000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 109.00000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 109.00000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 112.60000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 112.60000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 112.60000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 116.20000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 116.20000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 116.20000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 125.70000, -13.20000, 1157.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 125.70000, -13.20000, 1161.30005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 116.10000, -13.20000, 1164.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 125.70000, -13.20000, 1164.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 106.50000, -13.20000, 1164.80005, 0.00000, 0.00000, 270.00000, 3, 3);
CreateDynamicObject(19461, 119.80000, -13.30000, 1157.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 119.80000, -13.30000, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 119.80000, -13.30000, 1164.80005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(13011, 110.05310, -20.45650, 1159.40186, 0.00000, 0.00000, 90.00000, 3, 3);
CreateDynamicObject(1800, 120.46387, -16.82508, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(19461, 123.40000, -10.03400, 1161.30005, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 116.84029, -16.82125, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 113.22019, -16.89958, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 109.57664, -16.89888, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 105.96558, -16.85759, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 102.29037, -16.81536, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 120.40511, -33.32615, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 116.84846, -33.37616, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 113.22792, -33.36434, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 109.61518, -33.36949, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 105.97546, -33.35293, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 102.31548, -33.25350, 1158.84985, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 102.31550, -33.25350, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 105.99602, -33.40726, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 109.61719, -33.25282, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 113.19665, -33.33807, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 116.91750, -33.33870, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 120.41782, -33.37440, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 120.41032, -16.77006, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 116.84445, -16.80130, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 113.24335, -16.84022, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 109.66024, -16.79007, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 105.95893, -16.80323, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1800, 102.29698, -16.79520, 1162.74377, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(14401, 123.19810, -37.03340, 1159.17212, 0.00000, 0.00000, 0.00000, 3, 3);
CreateDynamicObject(1886, 102.24440, -26.56000, 1166.78284, 10.00000, 0.00000, 140.00000, 3, 3);
CreateDynamicObject(1886, 122.75810, -18.88880, 1166.78284, 10.00000, 0.00000, 320.00000, 3, 3);
CreateDynamicObject(1886, 102.66816, -19.59019, 1166.58191, 30.00000, 0.00000, 61.29155, 3, 3);
CreateDynamicObject(3109, 123.34820, -23.62200, 1160.00610, 0.00000, 0.00000, 0.00000, 3, 3);

//Celldoors
/* CelldoorC[0] = CreateDynamicObject(19303, 104.40000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[0], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[1] = CreateDynamicObject(19303, 108.05000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[1], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[2] = CreateDynamicObject(19303, 111.65000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[2], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[3] = CreateDynamicObject(19303, 115.25000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[3], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[4] = CreateDynamicObject(19303, 118.85000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[4], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[5] = CreateDynamicObject(19303, 122.45000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[5], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[6] = CreateDynamicObject(19303, 104.40000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[6], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[7] = CreateDynamicObject(19303, 108.05000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[7], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[8] = CreateDynamicObject(19303, 111.68000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[8], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[9] = CreateDynamicObject(19303, 115.30000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[9], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[10] = CreateDynamicObject(19303, 118.88000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[10], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[11] = CreateDynamicObject(19303, 122.50000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[11], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[12] = CreateDynamicObject(19303, 104.40000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[12], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[13] = CreateDynamicObject(19303, 108.03400, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[13], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[14] = CreateDynamicObject(19303, 111.65000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[14], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[15] = CreateDynamicObject(19303, 115.25000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[15], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[16] = CreateDynamicObject(19303, 118.85000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[16], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[17] = CreateDynamicObject(19303, 122.45000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[17], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[18] = CreateDynamicObject(19303, 104.41000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[18], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[19] = CreateDynamicObject(19303, 108.04000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[19], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[20] = CreateDynamicObject(19303, 111.65000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[20], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[21] = CreateDynamicObject(19303, 115.25000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[21], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[22] = CreateDynamicObject(19303, 118.85000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[22], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);

CelldoorC[23] = CreateDynamicObject(19303, 122.45000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(CelldoorC[23], 0, 19303, "pd_jail_door02", "pd_jail_door02", 0xFFFFFFFF);
*/
//Celldoor2
celld2 = CreateDynamicObject(19302, 102.66000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.66000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -27.30000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.56000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.75000, -27.30000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.65000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.94000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -18.00000, 1160.09998, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 102.66000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 106.30000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 109.95000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 113.54000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 117.14000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);

celld2 = CreateDynamicObject(19302, 120.74000, -18.00000, 1164.00000, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(celld2, 0, 19302, "pd_jail_door01", "pd_jail_door01", 0xFFFFFFFF);


//Fences/windows/cells
fence = CreateDynamicObject(19304, 103.54000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 107.17000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 103.54000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 110.81000, -27.30000, 1161.96997, 0.00000, 0.00000, 180.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 114.44000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);

fence = CreateDynamicObject(19304, 118.02000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.62000, -27.30000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.20000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.80000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.40000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.00000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.60000, -27.30000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 103.52000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.17000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.82000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.39000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.00000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.60000, -18.00000, 1161.96997, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 103.52000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 110.82000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 114.42000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 118.02000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 121.62000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 107.18000, -18.00000, 1165.87000, 0.00000, 0.00000, 179.99451, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 104.66660, -23.75690, 1163.40002, 0.00000, 0.00000, 90.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 108.57810, -19.84980, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 112.05910, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 115.54070, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 119.04020, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 122.54000, -19.84840, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 106.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 109.90000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 113.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 116.90000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 120.40000, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 123.88200, -25.53200, 1163.40002, 0.00000, 0.00000, 0.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
fence = CreateDynamicObject(19304, 104.66820, -21.53120, 1163.39795, 0.00000, 0.00000, 90.00000, 3, 3);
SetDynamicObjectMaterial(fence, 0, 19304, "pd_jail_door_top01", "pd_jail_door_top01", 0xFFFFFFFF);
// END PRISON
}

jasperschellekens
25/03/2017, 10:01 AM
Your only option would be to add a timer when its a teleport.
Or to use CreateObject Instead of CreateDynamicObject

minionshx
25/03/2017, 10:13 AM
Try it but it does not.

henkas
25/03/2017, 10:58 AM
Your only option would be to add a timer when its a teleport.
Or to use CreateObject Instead of CreateDynamicObject
CreateObject seriously? This function have limits dawg. If he will have over 1k objects it will stop loading.

minionshx
25/03/2017, 11:24 AM
how to fix ?
please helpme :(

OneDay
25/03/2017, 02:45 PM
draw a text draw image over the whole screen to make a loading screen while TogglePlayerControlable(playerid, false) then remove it for TogglePlayerControlable(playerid, true). the objects are still slow but hidden

minionshx
25/03/2017, 04:30 PM
draw a text draw image over the whole screen to make a loading screen while TogglePlayerControlable(playerid, false) then remove it for TogglePlayerControlable(playerid, true). the objects are still slow but hidden

What do i have to use ?