OtaconEvil

[FS-MAP] Mini Game 'The Labyrinth' By OTACON

Oct 9th, 2014
802
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  3.     *
  4.     * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
  5.     * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  6.     *
  7.     * Codigo Creado Por OTACON
  8.     *
  9.     * CREDITOS:
  10.     *     OTACON: Realizacion y Idea de creacion del code.
  11.     *     TÙ: Modificacion libremente respetando lo mencionado ;).
  12.     *
  13.     *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  14.     *
  15.     *                Prohibido TOTALMENTE el Robo de Créditos o la
  16.     *                  Publicación de este FILTERSCRIPT sin Mi Permiso.
  17. */
  18. /*
  19.     * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  20.     *
  21.     * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
  22.     * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
  23.     *
  24.     * Code Created By OTACON
  25.     *
  26.     * CREDITS:
  27.     *     OTACON: Idea Making and code creation.
  28.     *     YOUR: Modification freely respecting the above ;).
  29.     *
  30.     *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  31.     *
  32.     *                        FULLY spaces Theft Credit or
  33.     *                 Publication of this FILTERSCRIPT without my permission.
  34. */
  35.  
  36. #include <a_samp>
  37. #include <streamer>
  38. #include <zcmd>
  39.  
  40. #define COLOR_RED     0x9B0000FF
  41. #define COLOR_GREEN   0x006C00FF
  42. #define COLOR_PINK    0xDE68FFFF
  43.  
  44. #define OBJECT_MAX    (203)
  45. #define USERS_MAX     (5)
  46. #define LABYRINTH_VW  (2)
  47. #define LABYRINTH_IN  (2)
  48.  
  49. new labyrinthOBJ[OBJECT_MAX],
  50. Float:ControlPoint[][]={
  51.     {307.8049,1945.8754,37.1619,2.3721},
  52.     {305.9574,1961.8553,37.1619,218.5507},
  53.     {319.1784,1955.7567,37.1619,143.7911},
  54.     {321.6234,1974.7609,37.1619,218.9685}},
  55. clotheslabyrinth[]={5,39,49,54,64,89},
  56. musiclabyrinth[][]={
  57.     {"https://dl.dropboxusercontent.com/s/31gxjg78u8vq9cx/audio1%20%20By%20OTACON.mp3"},
  58.     {"https://dl.dropboxusercontent.com/s/w1ql2n1g0ns0875/audio2%20%20By%20OTACON.mp3"},
  59.     {"https://dl.dropboxusercontent.com/s/f277d1z59ywwo1i/audio3%20By%20OTACON.mp3"}};
  60.  
  61. enum iifo{
  62.     countertextTimer,
  63.     labyrinthtimer,
  64.     PlayerText:countertext,
  65.     Float:oldposition[4],
  66.     bool:playerlost,
  67.     oldclothes,
  68.     newworld[2], }
  69. new InfoLabyrinth[MAX_PLAYERS][iifo];
  70.  
  71. COMMAND:playgame(playerid, params[]){
  72.     if(InfoLabyrinth[playerid][playerlost])return SendClientMessage(playerid,COLOR_PINK,"INFO: you are already in the labyrinth!.");
  73.    
  74.     new Float:pos[4];
  75.     GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
  76.     GetPlayerFacingAngle(playerid,pos[3]);
  77.     InfoLabyrinth[playerid][oldposition][0]=pos[0];
  78.     InfoLabyrinth[playerid][oldposition][1]=pos[1];
  79.     InfoLabyrinth[playerid][oldposition][2]=pos[2];
  80.     InfoLabyrinth[playerid][oldposition][3]=pos[3];
  81.     InfoLabyrinth[playerid][oldclothes]=GetPlayerSkin(playerid);
  82.     InfoLabyrinth[playerid][newworld][0]=GetPlayerVirtualWorld(playerid);
  83.     InfoLabyrinth[playerid][newworld][1]=GetPlayerInterior(playerid);
  84.  
  85.     new rand = random(sizeof(ControlPoint));
  86.     SetPlayerPos(playerid,ControlPoint[rand][0],ControlPoint[rand][1],ControlPoint[rand][2]);
  87.     SetPlayerFacingAngle(playerid,ControlPoint[rand][3]);
  88.     SetPlayerSkin(playerid,clotheslabyrinth[random(sizeof(clotheslabyrinth))]);
  89.     SetPlayerVirtualWorld(playerid,LABYRINTH_VW);
  90.     SetPlayerInterior(playerid,LABYRINTH_IN);
  91.     SetPlayerTime(playerid,2,30);
  92.     SetPlayerWeather(playerid,8);
  93.     InfoLabyrinth[playerid][playerlost]=true;
  94.     StopAudioStreamForPlayer(playerid);
  95.     PlayAudioStreamForPlayer(playerid,musiclabyrinth[random(sizeof(musiclabyrinth))]);
  96.     for(new msg=0; msg<32; msg++) {SendClientMessage(playerid,-1," ");}
  97.     PlayerTextDrawShow(playerid,InfoLabyrinth[playerid][countertext]);
  98.     InfoLabyrinth[playerid][labyrinthtimer]=gettime()+60;
  99.     KillTimer(InfoLabyrinth[playerid][countertextTimer]);
  100.     InfoLabyrinth[playerid][countertextTimer]=SetTimerEx("updatecounter",1000,true,"d",playerid);
  101.  
  102.     SendClientMessage(playerid,COLOR_GREEN,"INFO: you have entered the labyrinth!.");
  103.     return true;
  104. }
  105.  
  106. COMMAND:stopgame(playerid, params[]){
  107.     if(!InfoLabyrinth[playerid][playerlost])return SendClientMessage(playerid,COLOR_PINK,"INFO: you are not in the labyrinth!.");
  108.     if(!IsPlayerInRangeOfPoint(playerid,2.0,320.4967,1990.6796,37.1619))return SendClientMessage(playerid,COLOR_PINK,"INFO: you not yet in the end of the labyrinth!.");
  109.    
  110.     new weather[5], Hour, Minute, Second;
  111.     gettime(Hour, Minute, Second);
  112.     #pragma unused Second
  113.     GetServerVarAsString("weather", weather, sizeof(weather));
  114.     SetPlayerPos(playerid,InfoLabyrinth[playerid][oldposition][0],InfoLabyrinth[playerid][oldposition][1],InfoLabyrinth[playerid][oldposition][2]);
  115.     SetPlayerFacingAngle(playerid,InfoLabyrinth[playerid][oldposition][3]);
  116.     SetPlayerSkin(playerid,InfoLabyrinth[playerid][oldclothes]);
  117.     SetPlayerTime(playerid,Hour,Minute);
  118.     SetPlayerWeather(playerid,strval(weather));
  119.     SetPlayerVirtualWorld(playerid,InfoLabyrinth[playerid][newworld][0]);
  120.     SetPlayerInterior(playerid,InfoLabyrinth[playerid][newworld][1]);
  121.  
  122.     InfoLabyrinth[playerid][oldposition][0]=0.0;
  123.     InfoLabyrinth[playerid][oldposition][1]=0.0;
  124.     InfoLabyrinth[playerid][oldposition][2]=0.0;
  125.     InfoLabyrinth[playerid][oldposition][3]=0.0;
  126.     InfoLabyrinth[playerid][newworld][0]=-1;
  127.     InfoLabyrinth[playerid][newworld][1]=-1;
  128.     InfoLabyrinth[playerid][playerlost]=false;
  129.     StopAudioStreamForPlayer(playerid);
  130.     for(new msg=0; msg<32; msg++) {SendClientMessage(playerid,-1," ");}
  131.     PlayerTextDrawHide(playerid,InfoLabyrinth[playerid][countertext]);
  132.     KillTimer(InfoLabyrinth[playerid][countertextTimer]);
  133.    
  134.     SendClientMessage(playerid,COLOR_RED,"INFO: you've left the Labyrinth!.");
  135.     GameTextForPlayer(playerid, "~n~~n~~n~~n~~w~YOU ~g~WIN!!.", 4000, 3);
  136.     return true;
  137. }
  138.  
  139. forward updatecounter(playerid);
  140. public updatecounter(playerid){
  141.     new weather[5], Hour, Minute, Second, data[30];
  142.     if(InfoLabyrinth[playerid][labyrinthtimer]>gettime()){
  143.         format(data,sizeof(data), "~w~00:%02d", InfoLabyrinth[playerid][labyrinthtimer]-gettime());
  144.         PlayerTextDrawSetString(playerid,InfoLabyrinth[playerid][countertext], data);
  145.         PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
  146.     }else{
  147.         gettime(Hour, Minute, Second);
  148.         #pragma unused Second
  149.         GetServerVarAsString("weather", weather, sizeof(weather));
  150.         SetPlayerPos(playerid,InfoLabyrinth[playerid][oldposition][0],InfoLabyrinth[playerid][oldposition][1],InfoLabyrinth[playerid][oldposition][2]);
  151.         SetPlayerFacingAngle(playerid,InfoLabyrinth[playerid][oldposition][3]);
  152.         SetPlayerSkin(playerid,InfoLabyrinth[playerid][oldclothes]);
  153.         SetPlayerTime(playerid,Hour,Minute);
  154.         SetPlayerWeather(playerid,strval(weather));
  155.         SetPlayerVirtualWorld(playerid,InfoLabyrinth[playerid][newworld][0]);
  156.         SetPlayerInterior(playerid,InfoLabyrinth[playerid][newworld][1]);
  157.  
  158.         InfoLabyrinth[playerid][oldposition][0]=0.0;
  159.         InfoLabyrinth[playerid][oldposition][1]=0.0;
  160.         InfoLabyrinth[playerid][oldposition][2]=0.0;
  161.         InfoLabyrinth[playerid][oldposition][3]=0.0;
  162.         InfoLabyrinth[playerid][newworld][0]=-1;
  163.         InfoLabyrinth[playerid][newworld][1]=-1;
  164.         InfoLabyrinth[playerid][playerlost]=false;
  165.         StopAudioStreamForPlayer(playerid);
  166.         for(new msg=0; msg<32; msg++) {SendClientMessage(playerid,-1," ");}
  167.         PlayerTextDrawHide(playerid,InfoLabyrinth[playerid][countertext]);
  168.         KillTimer(InfoLabyrinth[playerid][countertextTimer]);
  169.         SendClientMessage(playerid,COLOR_RED,"INFO: you got trapped in the labyrinth!.");
  170.         GameTextForPlayer(playerid, "~n~~n~~n~~n~~w~YOU ~r~LOSER!!.", 4000, 3);
  171.     }
  172. }
  173.  
  174. public OnPlayerConnect(playerid){
  175.     PlayerTextDrawDestroy(playerid,InfoLabyrinth[playerid][countertext]);
  176.     InfoLabyrinth[playerid][countertext]=CreatePlayerTextDraw(playerid,322.000000, 50.000000, "_");
  177.     PlayerTextDrawAlignment(playerid,InfoLabyrinth[playerid][countertext], 2);
  178.     PlayerTextDrawBackgroundColor(playerid,InfoLabyrinth[playerid][countertext], 255);
  179.     PlayerTextDrawFont(playerid,InfoLabyrinth[playerid][countertext], 2);
  180.     PlayerTextDrawLetterSize(playerid,InfoLabyrinth[playerid][countertext], 0.670000, 3.300000);
  181.     PlayerTextDrawColor(playerid,InfoLabyrinth[playerid][countertext], -1);
  182.     PlayerTextDrawSetOutline(playerid,InfoLabyrinth[playerid][countertext], 1);
  183.     PlayerTextDrawSetProportional(playerid,InfoLabyrinth[playerid][countertext], 1);
  184.     PlayerTextDrawUseBox(playerid,InfoLabyrinth[playerid][countertext], 1);
  185.     PlayerTextDrawBoxColor(playerid,InfoLabyrinth[playerid][countertext], 0x0000155);
  186.     PlayerTextDrawTextSize(playerid,InfoLabyrinth[playerid][countertext], 80.000000, 98.000000);
  187.     PlayerTextDrawSetSelectable(playerid,InfoLabyrinth[playerid][countertext], 0);
  188.     return true;
  189. }
  190.  
  191. public OnFilterScriptInit(){
  192. //techo
  193.     labyrinthOBJ[0]=CreateDynamicObject(18981, 314.30420, 1955.64856, 40.11170,   0.00000, 90.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  194.     labyrinthOBJ[1]=CreateDynamicObject(18981, 314.30420, 1980.59070, 40.11170,   0.00000, 90.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  195. //piso
  196.     labyrinthOBJ[2]=CreateDynamicObject(18981, 314.30420, 1955.64856, 35.66190,   0.00000, 90.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  197.     labyrinthOBJ[3]=CreateDynamicObject(18981, 314.30420, 1980.59070, 35.66190,   0.00000, 90.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  198. //paredes
  199.     labyrinthOBJ[4]=CreateDynamicObject(19353, 325.35818, 1968.01404, 37.87025,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  200.     labyrinthOBJ[5]=CreateDynamicObject(19353, 325.35818, 1971.23267, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  201.     labyrinthOBJ[6]=CreateDynamicObject(19353, 325.35818, 1974.43787, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  202.     labyrinthOBJ[7]=CreateDynamicObject(19353, 325.35818, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  203.     labyrinthOBJ[8]=CreateDynamicObject(19353, 325.35818, 1980.80066, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  204.     labyrinthOBJ[9]=CreateDynamicObject(19353, 325.35818, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  205.     labyrinthOBJ[10]=CreateDynamicObject(19353, 325.35818, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  206.     labyrinthOBJ[11]=CreateDynamicObject(19353, 325.35818, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  207.     labyrinthOBJ[12]=CreateDynamicObject(19353, 325.35818, 1964.85657, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  208.     labyrinthOBJ[13]=CreateDynamicObject(19353, 325.35818, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  209.     labyrinthOBJ[14]=CreateDynamicObject(19353, 325.35818, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  210.     labyrinthOBJ[15]=CreateDynamicObject(19353, 325.35818, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  211.     labyrinthOBJ[16]=CreateDynamicObject(19353, 325.35818, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  212.     labyrinthOBJ[17]=CreateDynamicObject(19353, 325.35818, 1948.95374, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  213.     labyrinthOBJ[18]=CreateDynamicObject(19353, 325.35818, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  214.     labyrinthOBJ[19]=CreateDynamicObject(19353, 302.96570, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  215.     labyrinthOBJ[20]=CreateDynamicObject(19353, 302.96570, 1948.95374, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  216.     labyrinthOBJ[21]=CreateDynamicObject(19353, 302.96570, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  217.     labyrinthOBJ[22]=CreateDynamicObject(19353, 302.96570, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  218.     labyrinthOBJ[23]=CreateDynamicObject(19353, 302.96570, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  219.     labyrinthOBJ[24]=CreateDynamicObject(19353, 302.96570, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  220.     labyrinthOBJ[25]=CreateDynamicObject(19353, 302.96570, 1964.85657, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  221.     labyrinthOBJ[26]=CreateDynamicObject(19353, 302.96570, 1968.01404, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  222.     labyrinthOBJ[27]=CreateDynamicObject(19353, 302.96570, 1971.23267, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  223.     labyrinthOBJ[28]=CreateDynamicObject(19353, 302.96570, 1974.43787, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  224.     labyrinthOBJ[29]=CreateDynamicObject(19353, 302.96570, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  225.     labyrinthOBJ[30]=CreateDynamicObject(19353, 302.96570, 1980.80066, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  226.     labyrinthOBJ[31]=CreateDynamicObject(19353, 302.96570, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  227.     labyrinthOBJ[32]=CreateDynamicObject(19353, 302.96570, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  228.     labyrinthOBJ[33]=CreateDynamicObject(19353, 302.96570, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  229.     labyrinthOBJ[34]=CreateDynamicObject(19353, 323.68411, 1992.00366, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  230.     labyrinthOBJ[35]=CreateDynamicObject(19353, 320.48541, 1992.00366, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  231.     labyrinthOBJ[36]=CreateDynamicObject(19353, 317.30701, 1992.00366, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  232.     labyrinthOBJ[37]=CreateDynamicObject(19353, 314.13129, 1992.00366, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  233.     labyrinthOBJ[38]=CreateDynamicObject(19353, 310.95230, 1992.00366, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  234.     labyrinthOBJ[39]=CreateDynamicObject(19353, 307.79578, 1992.00354, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  235.     labyrinthOBJ[40]=CreateDynamicObject(19353, 304.61771, 1992.00366, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  236.     labyrinthOBJ[41]=CreateDynamicObject(19353, 323.68411, 1944.11584, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  237.     labyrinthOBJ[42]=CreateDynamicObject(19353, 320.48541, 1944.11584, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  238.     labyrinthOBJ[43]=CreateDynamicObject(19353, 317.30701, 1944.11584, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  239.     labyrinthOBJ[44]=CreateDynamicObject(19353, 314.13129, 1944.11584, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  240.     labyrinthOBJ[45]=CreateDynamicObject(19353, 310.95230, 1944.11584, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  241.     labyrinthOBJ[46]=CreateDynamicObject(19353, 307.79581, 1944.11584, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  242.     labyrinthOBJ[47]=CreateDynamicObject(19353, 304.61771, 1944.11584, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  243. //Laberinto
  244.     labyrinthOBJ[48]=CreateDynamicObject(19353, 323.68411, 1988.78967, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  245.     labyrinthOBJ[49]=CreateDynamicObject(19353, 323.68439, 1985.53613, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  246.     labyrinthOBJ[50]=CreateDynamicObject(19353, 323.68411, 1982.41309, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  247.     labyrinthOBJ[51]=CreateDynamicObject(19353, 323.68411, 1979.20618, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  248.     labyrinthOBJ[52]=CreateDynamicObject(19353, 323.68411, 1976.04321, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  249.     labyrinthOBJ[53]=CreateDynamicObject(19353, 323.68411, 1969.63086, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  250.     labyrinthOBJ[54]=CreateDynamicObject(19353, 323.68411, 1966.38892, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  251.     labyrinthOBJ[55]=CreateDynamicObject(19353, 323.68411, 1963.25867, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  252.     labyrinthOBJ[56]=CreateDynamicObject(19353, 323.68411, 1947.36792, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  253.     labyrinthOBJ[57]=CreateDynamicObject(19353, 320.48541, 1985.53613, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  254.     labyrinthOBJ[58]=CreateDynamicObject(19353, 320.50552, 1979.18640, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  255.     labyrinthOBJ[59]=CreateDynamicObject(19353, 320.48563, 1976.02319, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  256.     labyrinthOBJ[60]=CreateDynamicObject(19353, 320.48541, 1972.84106, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  257.     labyrinthOBJ[61]=CreateDynamicObject(19353, 320.48541, 1969.63086, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  258.     labyrinthOBJ[62]=CreateDynamicObject(19353, 320.48541, 1966.38892, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  259.     labyrinthOBJ[63]=CreateDynamicObject(19353, 320.48541, 1963.25867, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  260.     labyrinthOBJ[64]=CreateDynamicObject(19353, 320.48541, 1960.07654, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  261.     labyrinthOBJ[65]=CreateDynamicObject(19353, 320.48541, 1956.91199, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  262.     labyrinthOBJ[66]=CreateDynamicObject(19353, 320.48541, 1953.73132, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  263.     labyrinthOBJ[67]=CreateDynamicObject(19353, 320.48541, 1950.53210, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  264.     labyrinthOBJ[68]=CreateDynamicObject(19353, 320.48541, 1947.36792, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  265.     labyrinthOBJ[69]=CreateDynamicObject(19353, 317.30701, 1988.78967, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  266.     labyrinthOBJ[70]=CreateDynamicObject(19353, 317.30701, 1982.41309, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  267.     labyrinthOBJ[71]=CreateDynamicObject(19353, 317.30701, 1979.20618, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  268.     labyrinthOBJ[72]=CreateDynamicObject(19353, 317.30701, 1969.63086, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  269.     labyrinthOBJ[73]=CreateDynamicObject(19353, 317.30701, 1960.07654, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  270.     labyrinthOBJ[74]=CreateDynamicObject(19353, 317.30701, 1956.91199, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  271.     labyrinthOBJ[75]=CreateDynamicObject(19353, 317.30701, 1947.36792, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  272.     labyrinthOBJ[76]=CreateDynamicObject(19353, 314.13129, 1988.78967, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  273.     labyrinthOBJ[77]=CreateDynamicObject(19353, 314.13129, 1985.53613, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  274.     labyrinthOBJ[78]=CreateDynamicObject(19353, 314.13129, 1976.04321, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  275.     labyrinthOBJ[79]=CreateDynamicObject(19353, 314.13129, 1972.84106, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  276.     labyrinthOBJ[80]=CreateDynamicObject(19353, 314.13129, 1966.38892, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  277.     labyrinthOBJ[81]=CreateDynamicObject(19353, 314.13129, 1963.25867, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  278.     labyrinthOBJ[82]=CreateDynamicObject(19353, 314.13129, 1953.73132, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  279.     labyrinthOBJ[83]=CreateDynamicObject(19353, 314.13129, 1950.53210, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  280.     labyrinthOBJ[84]=CreateDynamicObject(19353, 314.13129, 1947.36792, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  281.     labyrinthOBJ[85]=CreateDynamicObject(19353, 310.95230, 1988.78967, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  282.     labyrinthOBJ[86]=CreateDynamicObject(19353, 310.95230, 1982.41309, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  283.     labyrinthOBJ[87]=CreateDynamicObject(19353, 310.95230, 1979.20618, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  284.     labyrinthOBJ[88]=CreateDynamicObject(19353, 310.95230, 1976.04321, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  285.     labyrinthOBJ[89]=CreateDynamicObject(19353, 310.95230, 1969.63086, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  286.     labyrinthOBJ[90]=CreateDynamicObject(19353, 310.95230, 1966.38892, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  287.     labyrinthOBJ[91]=CreateDynamicObject(19353, 310.95230, 1960.07654, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  288.     labyrinthOBJ[92]=CreateDynamicObject(19353, 310.95230, 1956.91199, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  289.     labyrinthOBJ[93]=CreateDynamicObject(19353, 310.95230, 1950.53210, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  290.     labyrinthOBJ[94]=CreateDynamicObject(19353, 310.95230, 1947.36792, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  291.     labyrinthOBJ[95]=CreateDynamicObject(19353, 307.79581, 1988.78967, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  292.     labyrinthOBJ[96]=CreateDynamicObject(19353, 307.79581, 1985.53613, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  293.     labyrinthOBJ[97]=CreateDynamicObject(19353, 307.79581, 1982.41309, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  294.     labyrinthOBJ[98]=CreateDynamicObject(19353, 307.79581, 1976.04321, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  295.     labyrinthOBJ[99]=CreateDynamicObject(19353, 307.79581, 1972.84106, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  296.     labyrinthOBJ[100]=CreateDynamicObject(19353, 307.79581, 1969.63086, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  297.     labyrinthOBJ[101]=CreateDynamicObject(19353, 307.79581, 1963.25867, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  298.     labyrinthOBJ[102]=CreateDynamicObject(19353, 307.79581, 1956.91199, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  299.     labyrinthOBJ[103]=CreateDynamicObject(19353, 304.61771, 1988.78967, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  300.     labyrinthOBJ[104]=CreateDynamicObject(19353, 304.61771, 1985.53613, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  301.     labyrinthOBJ[105]=CreateDynamicObject(19353, 304.61771, 1982.41309, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  302.     labyrinthOBJ[106]=CreateDynamicObject(19353, 304.61771, 1979.20618, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  303.     labyrinthOBJ[107]=CreateDynamicObject(19353, 304.61771, 1969.63086, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  304.     labyrinthOBJ[108]=CreateDynamicObject(19353, 304.61771, 1966.38892, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  305.     labyrinthOBJ[109]=CreateDynamicObject(19353, 304.61771, 1963.25867, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  306.     labyrinthOBJ[110]=CreateDynamicObject(19353, 304.61771, 1960.07654, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  307.     labyrinthOBJ[111]=CreateDynamicObject(19353, 304.61771, 1956.91199, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  308.     labyrinthOBJ[112]=CreateDynamicObject(19353, 304.61771, 1953.73132, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  309.     labyrinthOBJ[113]=CreateDynamicObject(19353, 304.61771, 1950.53210, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  310.     labyrinthOBJ[114]=CreateDynamicObject(19353, 304.61771, 1947.36792, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  311.     labyrinthOBJ[115]=CreateDynamicObject(19353, 304.61740, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  312.     labyrinthOBJ[116]=CreateDynamicObject(19353, 304.61740, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  313.     labyrinthOBJ[117]=CreateDynamicObject(19353, 304.61740, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  314.     labyrinthOBJ[118]=CreateDynamicObject(19353, 304.61740, 1980.80066, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  315.     labyrinthOBJ[119]=CreateDynamicObject(19353, 304.61740, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  316.     labyrinthOBJ[120]=CreateDynamicObject(19353, 304.61740, 1974.43787, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  317.     labyrinthOBJ[121]=CreateDynamicObject(19353, 304.61740, 1971.23267, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  318.     labyrinthOBJ[121]=CreateDynamicObject(19353, 304.59741, 1968.01404, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  319.     labyrinthOBJ[122]=CreateDynamicObject(19353, 304.61740, 1964.85657, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  320.     labyrinthOBJ[123]=CreateDynamicObject(19353, 304.61710, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  321.     labyrinthOBJ[124]=CreateDynamicObject(19353, 304.61740, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  322.     labyrinthOBJ[125]=CreateDynamicObject(19353, 304.61740, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  323.     labyrinthOBJ[126]=CreateDynamicObject(19353, 304.61740, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  324.     labyrinthOBJ[127]=CreateDynamicObject(19353, 304.61740, 1948.95374, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  325.     labyrinthOBJ[128]=CreateDynamicObject(19353, 304.61740, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  326.     labyrinthOBJ[129]=CreateDynamicObject(19353, 307.79581, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  327.     labyrinthOBJ[130]=CreateDynamicObject(19353, 307.79581, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  328.     labyrinthOBJ[131]=CreateDynamicObject(19353, 307.79581, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  329.     labyrinthOBJ[132]=CreateDynamicObject(19353, 307.81580, 1980.80066, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  330.     labyrinthOBJ[133]=CreateDynamicObject(19353, 307.79581, 1974.43787, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  331.     labyrinthOBJ[134]=CreateDynamicObject(19353, 307.79581, 1968.01404, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  332.     labyrinthOBJ[135]=CreateDynamicObject(19353, 307.79581, 1964.85657, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  333.     labyrinthOBJ[136]=CreateDynamicObject(19353, 307.79581, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  334.     labyrinthOBJ[137]=CreateDynamicObject(19353, 307.79581, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  335.     labyrinthOBJ[138]=CreateDynamicObject(19353, 307.79581, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  336.     labyrinthOBJ[139]=CreateDynamicObject(19353, 307.79581, 1948.95374, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  337.     labyrinthOBJ[140]=CreateDynamicObject(19353, 310.95230, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  338.     labyrinthOBJ[141]=CreateDynamicObject(19353, 310.95230, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  339.     labyrinthOBJ[142]=CreateDynamicObject(19353, 310.95230, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  340.     labyrinthOBJ[143]=CreateDynamicObject(19353, 310.95239, 1974.43787, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  341.     labyrinthOBJ[144]=CreateDynamicObject(19353, 323.68411, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  342.     labyrinthOBJ[145]=CreateDynamicObject(19353, 323.68411, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  343.     labyrinthOBJ[146]=CreateDynamicObject(19353, 323.68411, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  344.     labyrinthOBJ[147]=CreateDynamicObject(19353, 323.68411, 1948.95374, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  345.     labyrinthOBJ[148]=CreateDynamicObject(19353, 323.68411, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  346.     labyrinthOBJ[149]=CreateDynamicObject(19353, 307.79581, 1953.73132, 37.87020,   0.00000, 0.00000, 90.00000, LABYRINTH_VW, LABYRINTH_IN);
  347.     labyrinthOBJ[150]=CreateDynamicObject(19353, 310.95230, 1971.23267, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  348.     labyrinthOBJ[151]=CreateDynamicObject(19353, 310.95230, 1964.85657, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  349.     labyrinthOBJ[152]=CreateDynamicObject(19353, 310.93231, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  350.     labyrinthOBJ[153]=CreateDynamicObject(19353, 310.95230, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  351.     labyrinthOBJ[154]=CreateDynamicObject(19353, 310.95230, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  352.     labyrinthOBJ[155]=CreateDynamicObject(19353, 310.95221, 1948.95374, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  353.     labyrinthOBJ[156]=CreateDynamicObject(19353, 310.95230, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  354.     labyrinthOBJ[157]=CreateDynamicObject(19353, 314.13129, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  355.     labyrinthOBJ[158]=CreateDynamicObject(19353, 314.13129, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  356.     labyrinthOBJ[159]=CreateDynamicObject(19353, 314.15131, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  357.     labyrinthOBJ[160]=CreateDynamicObject(19353, 314.13129, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  358.     labyrinthOBJ[161]=CreateDynamicObject(19353, 314.13129, 1971.23267, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  359.     labyrinthOBJ[162]=CreateDynamicObject(19353, 314.13129, 1968.01404, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  360.     labyrinthOBJ[163]=CreateDynamicObject(19353, 314.13129, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  361.     labyrinthOBJ[164]=CreateDynamicObject(19353, 314.13129, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  362.     labyrinthOBJ[165]=CreateDynamicObject(19353, 314.13129, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  363.     labyrinthOBJ[166]=CreateDynamicObject(19353, 314.13129, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  364.     labyrinthOBJ[167]=CreateDynamicObject(19353, 314.13129, 1948.95374, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  365.     labyrinthOBJ[168]=CreateDynamicObject(19353, 314.13129, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  366.     labyrinthOBJ[169]=CreateDynamicObject(19353, 317.30701, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  367.     labyrinthOBJ[170]=CreateDynamicObject(19353, 317.30701, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  368.     labyrinthOBJ[171]=CreateDynamicObject(19353, 317.30701, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  369.     labyrinthOBJ[172]=CreateDynamicObject(19353, 317.30701, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  370.     labyrinthOBJ[173]=CreateDynamicObject(19353, 317.30701, 1971.23267, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  371.     labyrinthOBJ[174]=CreateDynamicObject(19353, 317.30701, 1968.01404, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  372.     labyrinthOBJ[175]=CreateDynamicObject(19353, 317.30701, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  373.     labyrinthOBJ[176]=CreateDynamicObject(19353, 317.30701, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  374.     labyrinthOBJ[177]=CreateDynamicObject(19353, 317.30701, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  375.     labyrinthOBJ[178]=CreateDynamicObject(19353, 317.30701, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  376.     labyrinthOBJ[179]=CreateDynamicObject(19353, 317.30701, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  377.     labyrinthOBJ[180]=CreateDynamicObject(19353, 320.48541, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  378.     labyrinthOBJ[181]=CreateDynamicObject(19353, 320.48541, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  379.     labyrinthOBJ[182]=CreateDynamicObject(19353, 320.48541, 1980.80066, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  380.     labyrinthOBJ[183]=CreateDynamicObject(19353, 320.48541, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  381.     labyrinthOBJ[184]=CreateDynamicObject(19353, 320.48541, 1974.43787, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  382.     labyrinthOBJ[185]=CreateDynamicObject(19353, 320.48541, 1968.01404, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  383.     labyrinthOBJ[186]=CreateDynamicObject(19353, 323.68411, 1961.67712, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  384.     labyrinthOBJ[187]=CreateDynamicObject(19353, 320.48541, 1964.85657, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  385.     labyrinthOBJ[188]=CreateDynamicObject(19353, 320.48541, 1958.49646, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  386.     labyrinthOBJ[189]=CreateDynamicObject(19353, 320.48541, 1955.31592, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  387.     labyrinthOBJ[190]=CreateDynamicObject(19353, 320.50562, 1952.13501, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  388.     labyrinthOBJ[191]=CreateDynamicObject(19353, 320.48541, 1945.77246, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  389.     labyrinthOBJ[192]=CreateDynamicObject(19353, 323.68411, 1990.37000, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  390.     labyrinthOBJ[193]=CreateDynamicObject(19353, 323.68411, 1987.18994, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  391.     labyrinthOBJ[194]=CreateDynamicObject(19353, 323.68411, 1983.98132, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  392.     labyrinthOBJ[195]=CreateDynamicObject(19353, 323.68411, 1980.80066, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  393.     labyrinthOBJ[193]=CreateDynamicObject(19353, 323.68411, 1977.61865, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  394.     labyrinthOBJ[197]=CreateDynamicObject(19353, 323.68411, 1974.43787, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  395.     labyrinthOBJ[198]=CreateDynamicObject(19353, 323.68411, 1971.23267, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  396.     labyrinthOBJ[199]=CreateDynamicObject(19353, 323.68411, 1968.01404, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  397.     labyrinthOBJ[200]=CreateDynamicObject(19353, 323.68411, 1964.85657, 37.87020,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  398. //puertas
  399.     labyrinthOBJ[201]=CreateDynamicObject(1535, 319.01724, 1991.90137, 36.14701,   0.00000, 0.00000, 0.00000, LABYRINTH_VW, LABYRINTH_IN);
  400.     labyrinthOBJ[202]=CreateDynamicObject(1535, 322.03638, 1991.94165, 36.14700,   0.00000, 0.00000, 180.00000, LABYRINTH_VW, LABYRINTH_IN);
  401. //texturas
  402.     for(new index=0; index<sizeof(labyrinthOBJ); index++){
  403.         switch(index){
  404.             case 0..1:{SetDynamicObjectMaterial(labyrinthOBJ[index], 0, 16657, "a51_labs", "concretegroundl1_256", -1);}//techo
  405.             case 2..3:{SetDynamicObjectMaterial(labyrinthOBJ[index], 0, 16657, "a51_labs", "dam_terazzo", -1);}//piso
  406.             case 4..47:{SetDynamicObjectMaterial(labyrinthOBJ[index], 0, 16657, "a51_labs", "a51_labwall1", -1);}//paredes
  407.             case 48..200:{SetDynamicObjectMaterial(labyrinthOBJ[index], 0, 16657, "a51_labs", "a51_labwall1", -1);}//laberinto
  408.             case 201..202:{SetDynamicObjectMaterial(labyrinthOBJ[index], 0, -1, "null", "null", 0xFFD00000);}//puertas
  409.          }
  410.     }
  411.     return true;
  412. }
RAW Paste Data