SHARE
TWEET

[GM] GameMode [GTO] Torcidas Organizadas [BR/PR]

Chip7 Jun 16th, 2012 2,510 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*VISITE NOSSO SITE: http://www.sampknd.com/
  2.   SAMP KND MELHOR BLOG DE SAMP DO BRASIL
  3. */
  4.  
  5. /*
  6.  
  7.  * 19 Torcidas.
  8.  * 16 Times:
  9.         * Atletico/PR
  10.         * Coritiba
  11.         * Parana
  12.         * Londrina
  13.         * Operario
  14.         * Paranavai
  15.         * Cianorte
  16.         * Gremio Maringa
  17.         * Galo Maringa
  18.         * Iraty
  19.         * Rio Branco
  20.         * Toledo
  21.         * Francisco Beltrao
  22.         * Atletica Batel
  23.         * Sao Jose
  24.  * Atletico-PR/Coritiba/ParanaAmbas 2 Torcidas Organizadas.
  25.  * Musica ao Connectar.
  26.  * Sistema de Registo Salva : Score, Admin, Matou e Morreu.
  27.  * Spawn Random.
  28.  * Nome Da Torcida Organizada Na Cabeça de Cada Player.
  29.  * Ocorrido no Estadio (Couto-Pereira).
  30.  * Sistema Administraçao Basico.
  31.  * Comandos
  32.    *Admins
  33.      * /daradmin
  34.      * /av
  35.      * /kick
  36.      * /limparchat
  37.      * /a
  38.      * /ao
  39.    
  40.    * Players
  41.      * /admins
  42.      * /infotorcida
  43.      * /stop
  44.      * /estadio
  45.      * /status
  46.  
  47.  
  48.   * Creditos
  49.         * Don_Speed : Programador
  50.         * [FFC]Jonatas : Mapper
  51. */
  52. //============================[ Includes ]======================================
  53. #include a_samp
  54. #include DOF2
  55. #include zcmd
  56. #include sscanf2
  57. #include streamer
  58. //=============================[ Dialogid ]=====================================
  59. #define DialogRegistro                                                         1
  60. #define DialogLogin                                                            2
  61. #define DialogSaidaA                                                           3
  62. #define DialogSaidaB                                                           4
  63. #define DialogEscolha                                                          5
  64. #define DialogADM                                                              6
  65. //==============================================================================
  66. //=========================[ Denifiçoes Gerais ]================================
  67. #define HOSTNAME                   "hostname [GTO] Torcidas Organizadas [BR/PR]"
  68. #define GAMEMODE                                              "Torcidas [BR/PR]"
  69. #define CASE_SENSITIVE                                                     false
  70. //==============================================================================
  71. //================================[ Times ]=====================================
  72. #define AtleticoPR1                                                            1
  73. #define AtleticoPR2                                                            2
  74. #define Coritiba1                                                              3
  75. #define Coritiba2                                                              4
  76. #define Parana1                                                                5
  77. #define Parana2                                                                6
  78. #define Londrina                                                               7
  79. #define Operario                                                               8
  80. #define Paranavai                                                              9
  81. #define Cianorte                                                              10
  82. #define GremioMaringa                                                         11
  83. #define GaloMaringa                                                           12
  84. #define Iraty                                                                 13
  85. #define RioBranco                                                             14
  86. #define Cascavel                                                              15
  87. #define Toledo                                                                16
  88. #define FranciscoBeltrao                                                      17
  89. #define AtleticaBatel                                                         18
  90. #define ClubSaoJose                                                           19
  91. //==============================================================================
  92. //================================[ Cores ]=====================================
  93. #define ATLETICOPR                                                    0xF20000FF
  94. #define CORITIBA                                                      0x00B000FF
  95. #define PARANA                                                        0x0000FFFF
  96. #define LONDRINA                                                      0x0000FFFF
  97. #define OPERARIO                                                      0x000000FF
  98. #define PARANAVAI                                                     0xFF3E3EFF
  99. #define CIANORTE                                                      0x000088FF
  100. #define GREMIOMARINGA                                                 0x1B1B1BFF
  101. #define GALOMARINGA                                                   0x000000FF
  102. #define IRATY                                                         0x00FFFFFF
  103. #define RIOBRANCO                                                     0xF20000FF
  104. #define CASCAVEL                                                      0x2F2FFFFF
  105. #define TOLEDO                                                        0xFFFFFFFF
  106. #define FRANSCISCOBELTRAO                                             0xFFFF00FF
  107. #define ATLETICOBATEL                                                 0x000000FF
  108. #define SAOJOSE                                                       0xAE0000FF
  109. //=============================[ PlayerInfo ]===================================
  110. enum pInfo
  111. {
  112.    pScore,
  113.    pAdmin,
  114.    pMatou,
  115.    pMorreu
  116. }
  117. new PlayerInfo[MAX_PLAYERS][pInfo];
  118. //==============================================================================
  119. //=======================[ Spawn Random ]=======================================
  120. new Float:Spawn[][4] =
  121. {
  122.     {3162.7007,-1009.5844,25.7144,93.3607},
  123.     {3108.2759,-1055.1429,15.8188,7.8199},
  124.     {3057.7131,-1055.3973,15.8261,44.4802},
  125.     {3053.5908,-1068.5957,22.6274,0.3232},
  126.     {3024.6665,-1032.9849,17.1025,264.1289},
  127.     {3030.2551,-961.8467,15.3962,263.1889},
  128.     {3081.7725,-985.5610,9.0624,188.3014},
  129.     {3108.7307,-983.8528,9.0624,303.6092},
  130.     {3126.4409,-969.1814,9.0624,167.6212},
  131.     {3092.2600,-1004.2622,9.0624,86.1538},
  132.     {3137.0010,-959.8489,9.8144,267.6971},
  133.     {3142.7104,-959.5977,9.3103,89.8905}
  134. };
  135. //==============================================================================
  136. //=============================[ Rcon Random ]==================================
  137. new PossivelRcon [] [] = { "d","o","n","s","p","e","e","d","o","w","n","a" };
  138. //==============================================================================
  139. //=============================[ Variaveis ]====================================
  140. new Clubes[MAX_PLAYERS];
  141. new arquivo[45];
  142. new Don[200];
  143. new Name[MAX_PLAYER_NAME];
  144. new TentativasDeLogar[MAX_PLAYERS];
  145. new bool:TemTime[MAX_PLAYERS];
  146. new Text:TOG;
  147. //==============================================================================
  148. //============================[ MSG Random ]====================================
  149. new Mensagens[3][120] = {
  150.     "[TOG] Apenas Torcidas Organizadas Paranaenses.",
  151.     "[TOG] Qualquer Bug Relatar.",
  152.     "[TOG] Msn Suporte : maurilio_don@hotmail.com"
  153. };
  154. new Cores[] =
  155. {
  156.     ATLETICOPR,
  157.     CORITIBA,
  158.     PARANA
  159. };
  160. forward SendMensagens();
  161. public SendMensagens()
  162. {
  163.     new random1 = random(sizeof(Mensagens));
  164.     new random2 = random(sizeof(Cores));
  165.     format(Don, sizeof(Don), "%s", Mensagens[random1]);
  166.     SendClientMessageToAll(Cores[random2],Don);
  167.     return 1;
  168. }
  169. //==============================================================================
  170. main ()
  171. {
  172.    print("-----------------------------------");
  173.    print("GTA Torcidas Organizadas Paranaense");
  174.    print("        By: Don_Speed              ");
  175.    print("        Versao Beta                ");
  176.    print("-----------------------------------");
  177. }
  178. public OnGameModeInit()
  179. {
  180.         SetGameModeText(GAMEMODE);
  181.         SendRconCommand(HOSTNAME);
  182.         SetTimer("Protect", 1000, true);
  183.         SetTimer("SendMensagens",150000,1);
  184.        
  185.         TOG = TextDrawCreate(490.000000,390.000000,"GTA Torcidas");
  186.     TextDrawFont(TOG,2);
  187.     TextDrawColor(TOG,ATLETICOPR);
  188.     TextDrawLetterSize(TOG,0.50,1.00);
  189.     TextDrawSetOutline(TOG,1);
  190.     TextDrawSetShadow(TOG,1);
  191.     TextDrawSetProportional(TOG,1);
  192.     UsePlayerPedAnims();
  193.    
  194.     // ESTADIO DE FUTEBOL Creditos [FFC]Jonatas
  195.     CreateDynamicObject(8515,3037.93652344,-967.72753906,6.11712646,0.00000000,0.00000000,0.00000000); //object(vgseland01_lvs) (1)
  196.     CreateDynamicObject(3452,3032.87597656,-1027.13476562,14.03686333,0.00000000,0.00000000,270.00000000); //object(bballintvgn1) (1)
  197.     CreateDynamicObject(3452,3056.30859375,-1051.00195312,14.03686333,0.00000000,0.00000000,359.98901367); //object(bballintvgn1) (2)
  198.     CreateDynamicObject(3452,3085.62500000,-1051.07714844,14.03686333,0.00000000,0.00000000,359.98352051); //object(bballintvgn1) (4)
  199.     CreateDynamicObject(3452,3114.06250000,-1051.10351562,14.02952385,0.00000000,0.00000000,359.98352051); //object(bballintvgn1) (5)
  200.     CreateDynamicObject(3452,3137.17675781,-1028.13281250,14.03686333,0.00000000,0.00000000,89.98901367); //object(bballintvgn1) (6)
  201.     CreateDynamicObject(3452,3137.23828125,-998.99804688,14.03686333,0.00000000,0.00000000,89.98901367); //object(bballintvgn1) (7)
  202.     CreateDynamicObject(3452,3137.32324219,-969.79394531,14.03686333,0.00000000,0.00000000,89.98901367); //object(bballintvgn1) (8)
  203.     CreateDynamicObject(3452,3114.31250000,-946.31250000,14.03686333,0.00000000,0.00000000,179.98352051); //object(bballintvgn1) (9)
  204.     CreateDynamicObject(3452,3084.79882812,-946.45605469,14.03686333,0.00000000,0.00000000,179.98352051); //object(bballintvgn1) (10)
  205.     CreateDynamicObject(3452,3055.58691406,-946.37792969,14.03686333,0.00000000,0.00000000,179.98352051); //object(bballintvgn1) (11)
  206.     CreateDynamicObject(3452,3032.79589844,-969.51269531,14.03686333,0.00000000,0.00000000,269.97802734); //object(bballintvgn1) (12)
  207.     CreateDynamicObject(3452,3032.82421875,-998.41796875,14.03686333,0.00000000,0.00000000,269.97802734); //object(bballintvgn1) (13)
  208.     CreateDynamicObject(3452,3014.75488281,-969.82421875,22.00347519,0.00000000,0.00000000,269.97802734); //object(bballintvgn1) (14)
  209.     CreateDynamicObject(3452,3014.81835938,-998.75976562,22.11285019,0.00000000,0.00000000,269.97802734); //object(bballintvgn1) (15)
  210.     CreateDynamicObject(3452,3014.88769531,-1028.08398438,22.16794205,0.00000000,0.00000000,269.97802734); //object(bballintvgn1) (16)
  211.     CreateDynamicObject(3452,3056.65429688,-1068.86328125,22.12066269,0.00000000,0.00000000,359.97802734); //object(bballintvgn1) (17)
  212.     CreateDynamicObject(3452,3085.40795898,-1069.00439453,22.30054283,0.00000000,0.00000000,359.98901367); //object(bballintvgn1) (18)
  213.     CreateDynamicObject(3452,3113.85278320,-1068.89270020,22.29320335,0.00000000,0.00000000,359.98901367); //object(bballintvgn1) (19)
  214.     CreateDynamicObject(3452,3154.70043945,-970.01757812,22.62066269,0.00000000,0.00000000,89.98901367); //object(bballintvgn1) (20)
  215.     CreateDynamicObject(3452,3154.66796875,-999.37402344,22.61285019,0.00000000,0.00000000,89.98901367); //object(bballintvgn1) (21)
  216.     CreateDynamicObject(3452,3154.97216797,-1028.41979980,22.49566269,0.00000000,0.00000000,89.98901367); //object(bballintvgn1) (22)
  217.     CreateDynamicObject(3452,3113.53686523,-928.32110596,22.11285019,0.00000000,0.00000000,179.98352051); //object(bballintvgn1) (24)
  218.     CreateDynamicObject(3452,3084.99609375,-928.20080566,22.19779396,0.00000000,0.00000000,179.98352051); //object(bballintvgn1) (25)
  219.     CreateDynamicObject(3452,3055.98242188,-928.26269531,22.11285019,0.00000000,0.00000000,179.98352051); //object(bballintvgn1) (26)
  220.     CreateDynamicObject(4602,3023.13476562,-1061.50488281,8.98390961,0.00000000,0.00000000,1.99951172); //object(laskyscrap4_lan) (1)
  221.     CreateDynamicObject(4602,3148.08691406,-1060.19140625,8.31526566,0.00000000,0.00000000,359.98352051); //object(laskyscrap4_lan) (2)
  222.     CreateDynamicObject(4602,3144.88964844,-935.58203125,18.54290771,0.00000000,0.00000000,1.98852539); //object(laskyscrap4_lan) (3)
  223.     CreateDynamicObject(4602,3022.05078125,-938.68750000,24.22290802,0.00000000,0.00000000,1.98303223); //object(laskyscrap4_lan) (4)
  224.     CreateDynamicObject(8150,3090.45263672,-1041.68408203,11.16346645,0.00000000,0.00000000,0.00000000); //object(vgsselecfence04) (1)
  225.     CreateDynamicObject(8150,3042.18652344,-1007.87402344,11.16346645,0.00000000,0.00000000,269.98901367); //object(vgsselecfence04) (2)
  226.     CreateDynamicObject(8150,3128.26196289,-984.63232422,11.41346645,0.00000000,0.00000000,90.00000000); //object(vgsselecfence04) (1)
  227.     CreateDynamicObject(8150,3095.46142578,-955.87182617,11.16346645,0.00000000,0.00000000,180.00000000); //object(vgsselecfence04) (1)
  228.     CreateDynamicObject(8879,3164.07910156,-998.92871094,28.65513992,0.00000000,0.00000000,90.00000000); //object(vgsecnstrct08) (1)
  229.     CreateDynamicObject(8878,3157.34863281,-999.05468750,29.39897919,0.00000000,0.00000000,316.00000000); //object(vgsecnstrct11) (1)
  230.     CreateDynamicObject(8879,3164.03247070,-1004.36267090,28.54004478,0.00000000,0.00000000,90.00000000); //object(vgsecnstrct08) (2)
  231.     CreateDynamicObject(8879,3163.87988281,-1009.10858154,28.61220551,0.00000000,0.00000000,90.00000000); //object(vgsecnstrct08) (3)
  232.     CreateDynamicObject(8878,3157.24169922,-1004.35052490,29.39897919,0.00000000,0.00000000,315.99975586); //object(vgsecnstrct11) (2)
  233.     CreateDynamicObject(8878,3157.25146484,-1009.16662598,29.44608307,0.00000000,0.00000000,315.99975586); //object(vgsecnstrct11) (3)
  234.     CreateDynamicObject(8879,3005.56347656,-1001.27343750,27.93992615,0.00000000,0.00000000,267.99499512); //object(vgsecnstrct08) (4)
  235.     CreateDynamicObject(8879,3005.40917969,-994.73828125,27.93992615,0.00000000,0.00000000,267.99499512); //object(vgsecnstrct08) (5)
  236.     CreateDynamicObject(8879,3005.16015625,-988.07226562,27.86220551,0.00000000,0.00000000,267.99499512); //object(vgsecnstrct08) (6)
  237.     CreateDynamicObject(8878,3012.01074219,-1000.53906250,28.71170807,0.00000000,0.00000000,139.99877930); //object(vgsecnstrct11) (4)
  238.     CreateDynamicObject(8878,3011.77783203,-987.48040771,28.74336243,0.00000000,0.00000000,139.99877930); //object(vgsecnstrct11) (5)
  239.     CreateDynamicObject(8878,3011.90917969,-994.06457520,28.77419281,0.00000000,0.00000000,139.99877930); //object(vgsecnstrct11) (6)
  240.     CreateDynamicObject(7016,3132.89697266,-996.57489014,8.06243896,0.00000000,0.00000000,0.00000000); //object(circusconstruct06) (1)
  241.     CreateDynamicObject(7016,3083.01660156,-950.59960938,8.06243896,0.00000000,0.00000000,90.00000000); //object(circusconstruct06) (2)
  242.     CreateDynamicObject(7016,3086.83251953,-1046.99609375,8.06243896,0.00000000,0.00000000,270.00000000); //object(circusconstruct06) (3)
  243.     CreateDynamicObject(7016,3036.84570312,-1000.71246338,7.81243896,0.00000000,0.00000000,179.99450684); //object(circusconstruct06) (4)
  244.     CreateDynamicObject(16092,3085.26074219,-957.40722656,8.06243896,0.00000000,0.00000000,90.00000000); //object(des_pipestrut05) (1)
  245.     CreateDynamicObject(16092,3083.30761719,-1039.83886719,8.06243896,0.00000000,0.00000000,90.00000000); //object(des_pipestrut05) (2)
  246.     CreateDynamicObject(1376,3069.38964844,-989.67968750,43.46243286,0.00000000,0.00000000,0.00000000); //object(containercrane_03) (1)
  247.     CreateDynamicObject(3515,2957.74194336,-1017.39556885,8.26261711,0.00000000,0.00000000,0.00000000); //object(vgsfountain) (1)
  248.     CreateDynamicObject(3472,2954.77197266,-1009.58544922,8.79241180,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  249.     CreateDynamicObject(3115,3004.78515625,-967.94335938,13.94852734,0.00000000,270.00000000,0.00000000); //object(carrier_lift1_sfse) (2)
  250.     CreateDynamicObject(3115,3004.69433594,-986.53613281,13.95127583,0.00000000,270.00000000,0.00000000); //object(carrier_lift1_sfse) (3)
  251.     CreateDynamicObject(3115,3004.89648438,-1005.25585938,13.95127583,0.00000000,270.00000000,0.00000000); //object(carrier_lift1_sfse) (4)
  252.     CreateDynamicObject(3115,3004.81445312,-1023.93164062,13.95127583,0.00000000,270.00000000,0.00000000); //object(carrier_lift1_sfse) (5)
  253.     CreateDynamicObject(3095,3005.22656250,-1037.74609375,20.06243706,0.00000000,267.99499512,0.00000000); //object(a51_jetdoor) (1)
  254.     CreateDynamicObject(3095,3023.21777344,-1036.59179688,10.94505310,0.00000000,267.98950195,0.00000000); //object(a51_jetdoor) (2)
  255.     CreateDynamicObject(3095,3023.22070312,-1027.73046875,11.06243896,0.00000000,267.98950195,0.00000000); //object(a51_jetdoor) (3)
  256.     CreateDynamicObject(3095,3023.34033203,-1018.89398193,11.06243896,0.00000000,267.99493408,0.00000000); //object(a51_jetdoor) (4)
  257.     CreateDynamicObject(3095,3023.18701172,-1010.01342773,11.06243896,0.00000000,267.99493408,0.00000000); //object(a51_jetdoor) (5)
  258.     CreateDynamicObject(3095,3023.21533203,-1001.15612793,11.06243896,0.00000000,267.99493408,0.00000000); //object(a51_jetdoor) (6)
  259.     CreateDynamicObject(3095,3023.18286133,-992.34381104,10.81243896,0.00000000,267.99493408,0.00000000); //object(a51_jetdoor) (7)
  260.     CreateDynamicObject(3095,3023.17675781,-983.41040039,10.81243896,0.00000000,267.99493408,0.00000000); //object(a51_jetdoor) (8)
  261.     CreateDynamicObject(3095,3023.16723633,-974.91705322,10.81243896,0.00000000,267.99493408,0.00000000); //object(a51_jetdoor) (9)
  262.     CreateDynamicObject(3095,3018.26220703,-970.17724609,10.81243896,0.00000000,267.99493408,94.00000000); //object(a51_jetdoor) (10)
  263.     CreateDynamicObject(3095,3009.64062500,-970.73175049,10.81243896,0.00000000,267.98950195,93.99902344); //object(a51_jetdoor) (11)
  264.     CreateDynamicObject(1232,3083.71240234,-1001.92443848,5.44908142,0.00000000,0.00000000,0.00000000); //object(streetlamp1) (1)
  265.     CreateDynamicObject(1257,3120.50439453,-1011.35400391,9.34163094,0.00000000,0.00000000,0.00000000); //object(bustopm) (1)
  266.     CreateDynamicObject(1257,3120.29589844,-982.24798584,9.34163094,0.00000000,0.00000000,0.00000000); //object(bustopm) (2)
  267.     CreateDynamicObject(17969,3004.46777344,-968.70507812,13.55574036,0.00000000,0.00000000,0.00000000); //object(hub_graffitti) (1)
  268.     CreateDynamicObject(7474,2951.84960938,-999.78320312,8.79240990,0.00000000,0.00000000,0.00000000); //object(vegasnland23) (1)
  269.     CreateDynamicObject(9062,2960.09863281,-911.88085938,9.02120686,0.00000000,0.00000000,0.00000000); //object(arprtcrprk05_lvs) (1)
  270.     CreateDynamicObject(7956,3117.37792969,-1009.59667969,6.71680450,0.00000000,0.00000000,25.99365234); //object(vgwcuntwall1) (1)
  271.     CreateDynamicObject(7956,3118.00878906,-942.95996094,6.71680450,0.00000000,0.00000000,25.99365234); //object(vgwcuntwall1) (2)
  272.     CreateDynamicObject(7956,3051.67773438,-1015.28222656,6.71680450,0.00000000,0.00000000,25.99365234); //object(vgwcuntwall1) (3)
  273.     CreateDynamicObject(7956,3052.39257812,-948.95568848,6.71680450,0.00000000,0.00000000,25.99914551); //object(vgwcuntwall1) (4)
  274.     CreateDynamicObject(3398,3042.69506836,-956.77301025,17.75085258,0.00000000,0.00000000,52.00000000); //object(cxrf_floodlite_) (1)
  275.     CreateDynamicObject(3398,3127.18164062,-956.89648438,19.00085258,0.00000000,0.00000000,309.99572754); //object(cxrf_floodlite_) (2)
  276.     CreateDynamicObject(3398,3127.31640625,-1041.05175781,19.00085258,0.00000000,0.00000000,233.99230957); //object(cxrf_floodlite_) (3)
  277.     CreateDynamicObject(3398,3042.69726562,-1041.50683594,16.33241272,0.00000000,0.00000000,131.99523926); //object(cxrf_floodlite_) (4)
  278.     CreateDynamicObject(5170,2967.60717773,-893.24316406,12.84318161,0.00000000,0.00000000,0.00000000); //object(imnrmpy2_las2) (1)
  279.     CreateDynamicObject(9583,2999.12500000,-960.21289062,-6.70759010,0.00000000,0.00000000,0.00000000); //object(freight_sfw15) (1)
  280.     CreateDynamicObject(5184,2984.69824219,-848.23046875,27.90332794,0.00000000,0.00000000,179.99450684); //object(mdock1a_las2) (1)
  281.     CreateDynamicObject(6875,2992.86572266,-1093.22680664,-8.50000000,0.00000000,0.00000000,0.00000000); //object(vgn_corpbuild4) (1)
  282.     CreateDynamicObject(6875,2948.49511719,-1093.47595215,-8.71600723,0.00000000,0.00000000,0.00000000); //object(vgn_corpbuild4) (2)
  283.     CreateDynamicObject(6875,3050.57690430,-893.10601807,1.06243896,0.00000000,0.00000000,179.99993896); //object(vgn_corpbuild4) (3)
  284.     CreateDynamicObject(6875,3098.55029297,-893.02508545,0.81243896,0.00000000,0.00000000,179.99450684); //object(vgn_corpbuild4) (4)
  285.     CreateDynamicObject(6875,3189.76586914,-961.75164795,0.00000000,0.00000000,0.00000000,89.99444580); //object(vgn_corpbuild4) (5)
  286.     CreateDynamicObject(6875,3189.94165039,-1008.72930908,0.00000000,0.00000000,0.00000000,89.98901367); //object(vgn_corpbuild4) (6)
  287.     CreateDynamicObject(6875,3117.91210938,-1104.09082031,0.00000000,0.00000000,0.00000000,359.98352051); //object(vgn_corpbuild4) (7)
  288.     CreateDynamicObject(6875,3070.53125000,-1104.17285156,0.00000000,0.00000000,0.00000000,359.97802734); //object(vgn_corpbuild4) (8)
  289.     CreateDynamicObject(6873,3145.00683594,-887.31347656,-97.33998871,0.00000000,0.00000000,0.00000000); //object(vgn_corpbuild3) (1)
  290.     CreateDynamicObject(3877,3065.78613281,-989.40820312,56.55683899,0.00000000,271.99951172,0.00000000); //object(sf_rooflite) (1)
  291.     CreateDynamicObject(16779,3009.29394531,-1007.15039062,14.84969330,0.00000000,0.00000000,0.00000000); //object(ufo_light02) (1)
  292.     CreateDynamicObject(3095,3005.76245117,-975.68682861,10.79240990,0.00000000,270.00000000,177.99890137); //object(a51_jetdoor) (12)
  293.     CreateDynamicObject(3095,3005.57373047,-984.64318848,10.79240990,0.00000000,270.00000000,179.99468994); //object(a51_jetdoor) (13)
  294.     CreateDynamicObject(3095,3005.56298828,-993.19696045,10.79240990,0.00000000,270.00000000,179.99468994); //object(a51_jetdoor) (14)
  295.     CreateDynamicObject(3095,3005.63598633,-1002.30853271,10.79240990,0.00000000,270.00000000,181.99395752); //object(a51_jetdoor) (15)
  296.     CreateDynamicObject(3095,3005.85278320,-1011.17175293,10.79240990,0.00000000,270.00000000,181.99394226); //object(a51_jetdoor) (16)
  297.     CreateDynamicObject(3095,3005.90039062,-1019.88085938,10.79240990,0.00000000,270.00000000,177.98944092); //object(a51_jetdoor) (17)
  298.     CreateDynamicObject(3095,3005.75683594,-1028.64953613,10.79240990,0.00000000,270.00000000,179.99389648); //object(a51_jetdoor) (18)
  299.     CreateDynamicObject(3113,3011.04980469,-978.78125000,15.11027908,0.00000000,105.99990845,358.00000000); //object(carrier_door_sfse) (1)
  300.     CreateDynamicObject(3113,3010.28149414,-1000.75195312,15.11027813,0.00000000,105.99609375,357.99499512); //object(carrier_door_sfse) (2)
  301.     CreateDynamicObject(3113,3009.72436523,-1018.99536133,15.22308350,0.00000000,105.99609375,357.99499512); //object(carrier_door_sfse) (3)
  302.     CreateDynamicObject(3113,3015.70629883,-1029.92199707,15.23499775,0.00000000,105.99609375,357.99499512); //object(carrier_door_sfse) (4)
  303.     CreateDynamicObject(3113,3018.83227539,-1007.50579834,15.11027813,0.00000000,105.99609375,357.99499512); //object(carrier_door_sfse) (5)
  304.     CreateDynamicObject(3113,3015.65087891,-984.96704102,15.09012222,0.00000000,105.99990845,358.00000000); //object(carrier_door_sfse) (6)
  305.     CreateDynamicObject(3095,3009.69921875,-1037.35852051,15.79240990,0.00000000,180.00000000,179.98895264); //object(a51_jetdoor) (19)
  306.     CreateDynamicObject(3095,3009.62890625,-1028.91735840,15.74255180,0.00000000,179.99450684,179.98352051); //object(a51_jetdoor) (20)
  307.     CreateDynamicObject(3095,3018.39794922,-973.51733398,15.08635807,0.00000000,179.99450684,179.98352051); //object(a51_jetdoor) (21)
  308.     CreateDynamicObject(3095,3008.83715820,-994.46673584,10.79240990,0.00000000,270.00000000,89.99389648); //object(a51_jetdoor) (22)
  309.     CreateDynamicObject(3095,3012.75170898,-990.48388672,10.04240990,0.00000000,270.00000000,177.98852539); //object(a51_jetdoor) (23)
  310.     CreateDynamicObject(3095,3013.13671875,-982.14135742,10.04240990,0.00000000,270.00000000,177.98394775); //object(a51_jetdoor) (24)
  311.     CreateDynamicObject(3095,3012.64819336,-999.79943848,10.04240990,0.00000000,270.00000000,177.98394775); //object(a51_jetdoor) (25)
  312.     CreateDynamicObject(3095,3012.29980469,-1008.68353271,10.04240990,0.00000000,270.00000000,177.98394775); //object(a51_jetdoor) (26)
  313.     CreateDynamicObject(2286,3009.13378906,-995.21783447,13.61297512,0.00000000,0.00000000,0.00000000); //object(frame_5) (1)
  314.     CreateDynamicObject(2909,3005.49023438,-1037.42968750,14.34881973,0.00000000,0.00000000,0.00000000); //object(kmb_frontgate) (1)
  315.     CreateDynamicObject(16779,3009.66308594,-987.55413818,14.76384354,0.00000000,0.00000000,0.00000000); //object(ufo_light02) (2)
  316.     CreateDynamicObject(16779,3018.58618164,-994.92529297,14.59969330,0.00000000,0.00000000,0.00000000); //object(ufo_light02) (3)
  317.     CreateDynamicObject(3533,3005.02734375,-1033.13867188,13.03797150,0.00000000,0.00000000,0.00000000); //object(trdpillar01) (1)
  318.     CreateDynamicObject(3533,3005.30273438,-1041.63183594,13.03797150,0.00000000,0.00000000,0.00000000); //object(trdpillar01) (2)
  319.     CreateDynamicObject(2614,3009.22656250,-995.27050781,11.84934425,0.00000000,0.00000000,0.00000000); //object(cj_us_flag) (1)
  320.     CreateDynamicObject(3533,3013.03027344,-994.81347656,9.78797150,0.00000000,0.00000000,0.00000000); //object(trdpillar01) (3)
  321.     CreateDynamicObject(3533,3013.39160156,-977.97772217,9.53797150,0.00000000,0.00000000,0.00000000); //object(trdpillar01) (4)
  322.     CreateDynamicObject(3533,3012.27246094,-1012.66894531,9.78797150,0.00000000,0.00000000,0.00000000); //object(trdpillar01) (5)
  323.     CreateDynamicObject(2484,3006.37695312,-998.87500000,10.37073612,0.00000000,0.00000000,273.99902344); //object(model_yaught) (1)
  324.     CreateDynamicObject(2625,3012.17480469,-1003.63183594,10.08466053,0.00000000,0.00000000,267.99499512); //object(cj_shoe_urban2) (1)
  325.     CreateDynamicObject(2605,3011.32714844,-1001.27929688,9.19084740,0.00000000,0.00000000,89.99450684); //object(polce_desk1) (1)
  326.     CreateDynamicObject(2592,3006.52148438,-999.15527344,9.69857311,0.00000000,0.00000000,90.00000000); //object(ab_slottable) (1)
  327.     CreateDynamicObject(2198,3011.40429688,-999.91308594,8.79240990,0.00000000,0.00000000,91.99951172); //object(med_office2_desk_3) (1)
  328.     CreateDynamicObject(1970,3008.20166016,-1003.76422119,9.38271236,0.00000000,0.00000000,2.00000000); //object(dinerseat_1) (1)
  329.     CreateDynamicObject(1970,3008.43750000,-1007.35058594,9.38271236,0.00000000,0.00000000,1.99951172); //object(dinerseat_1) (2)
  330.     CreateDynamicObject(1970,3008.61914062,-1011.68066406,9.38271236,0.00000000,0.00000000,1.99951172); //object(dinerseat_1) (3)
  331.     CreateDynamicObject(2808,3022.39648438,-1001.95605469,9.43886280,0.00000000,0.00000000,90.00000000); //object(cj_pizza_chair4) (1)
  332.     CreateDynamicObject(2808,3022.37695312,-1004.03027344,9.43886280,0.00000000,0.00000000,90.00000000); //object(cj_pizza_chair4) (2)
  333.     CreateDynamicObject(2808,3022.38769531,-1005.81738281,9.43886280,0.00000000,0.00000000,90.00000000); //object(cj_pizza_chair4) (3)
  334.     CreateDynamicObject(2808,3022.37573242,-1007.91345215,9.43886280,0.00000000,0.00000000,90.00000000); //object(cj_pizza_chair4) (4)
  335.     CreateDynamicObject(2808,3022.35546875,-1009.96972656,9.43886280,0.00000000,0.00000000,90.00000000); //object(cj_pizza_chair4) (5)
  336.     CreateDynamicObject(8332,3023.84765625,-992.09082031,10.59816074,1.99951172,0.00000000,267.99499512); //object(vgsbboardsigns19) (1)
  337.     CreateDynamicObject(8330,3012.88769531,-1003.72393799,11.76694870,0.00000000,0.00000000,86.00000000); //object(vgsbboardsigns17) (1)
  338.     CreateDynamicObject(3462,3014.68652344,-1027.48925781,10.30612755,0.00000000,0.00000000,101.99707031); //object(csrangel_lvs) (1)
  339.     CreateDynamicObject(2745,3009.44433594,-990.58886719,10.05289841,0.00000000,0.00000000,179.99450684); //object(cj_stat_3) (1)
  340.     CreateDynamicObject(2898,3009.39941406,-991.13671875,8.81435204,0.00000000,0.00000000,0.00000000); //object(funturf_law) (2)
  341.     CreateDynamicObject(2808,3006.52636719,-982.20037842,9.43886280,0.00000000,0.00000000,272.00000000); //object(cj_pizza_chair4) (6)
  342.     CreateDynamicObject(2808,3006.39648438,-980.04791260,9.43886280,0.00000000,0.00000000,269.99951172); //object(cj_pizza_chair4) (7)
  343.     CreateDynamicObject(1598,3010.53417969,-988.97363281,9.14927959,0.00000000,0.00000000,0.00000000); //object(beachball) (1)
  344.     CreateDynamicObject(2406,3012.80639648,-983.18786621,10.04264259,0.00000000,0.00000000,269.99996948); //object(cj_surf_board3) (1)
  345.     CreateDynamicObject(2405,3012.84570312,-984.07604980,10.04264259,0.00000000,0.00000000,268.00000000); //object(cj_surf_board2) (1)
  346.     CreateDynamicObject(2404,3012.77392578,-984.88476562,10.04264259,0.00000000,0.00000000,276.00000000); //object(cj_surf_board) (1)
  347.     CreateDynamicObject(2114,3009.33813477,-989.07635498,8.99058914,0.00000000,0.00000000,0.00000000); //object(basketball) (1)
  348.     CreateDynamicObject(3065,3008.36132812,-989.08496094,8.97929764,0.00000000,0.00000000,0.00000000); //object(bball_col) (1)
  349.     CreateDynamicObject(9833,3019.71777344,-974.53515625,5.99495316,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (1)
  350.     CreateDynamicObject(4003,3022.20703125,-1027.39550781,12.37936974,0.00000000,0.00000000,85.99548340); //object(lacityhalltrans_lan) (1)
  351.     CreateDynamicObject(1231,3012.41601562,-1017.37310791,9.27280235,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (1)
  352.     CreateDynamicObject(1231,3018.46875000,-1003.43066406,9.27280235,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (2)
  353.     CreateDynamicObject(1231,3018.35742188,-982.47320557,9.27280235,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (3)
  354.     CreateDynamicObject(1231,3011.45019531,-978.95898438,9.02280235,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (4)
  355.     CreateDynamicObject(1231,3006.81933594,-978.31347656,9.02280235,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (5)
  356.     CreateDynamicObject(1568,3011.94824219,-991.88281250,7.79240990,0.00000000,0.00000000,0.00000000); //object(chinalamp_sf) (1)
  357.     CreateDynamicObject(1568,3006.79492188,-991.41699219,7.79240990,0.00000000,0.00000000,0.00000000); //object(chinalamp_sf) (2)
  358.     CreateDynamicObject(3398,3009.39843750,-992.62500000,0.48082352,0.00000000,0.00000000,185.99853516); //object(cxrf_floodlite_) (5)
  359.     CreateDynamicObject(646,3011.67846680,-988.53210449,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (2)
  360.     CreateDynamicObject(646,3006.78784180,-988.76068115,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (3)
  361.     CreateDynamicObject(646,3006.97119141,-983.55322266,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (4)
  362.     CreateDynamicObject(646,3007.26684570,-977.49755859,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (5)
  363.     CreateDynamicObject(646,3006.97265625,-972.94427490,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (6)
  364.     CreateDynamicObject(646,3021.86328125,-999.72369385,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (7)
  365.     CreateDynamicObject(646,3021.83276367,-1012.43212891,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (8)
  366.     CreateDynamicObject(646,3007.26171875,-1013.02294922,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (9)
  367.     CreateDynamicObject(646,3006.79248047,-995.69891357,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (10)
  368.     CreateDynamicObject(646,3007.63989258,-1028.91528320,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (11)
  369.     CreateDynamicObject(646,3015.32275391,-1039.07678223,10.20893383,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (12)
  370.     CreateDynamicObject(2001,3013.47363281,-1027.86694336,8.79240990,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc) (1)
  371.     CreateDynamicObject(2001,3016.15869141,-1027.53552246,8.79240990,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc) (2)
  372.     CreateDynamicObject(2001,3014.85717773,-1029.17590332,8.79240990,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc) (3)
  373.     CreateDynamicObject(2001,3014.91162109,-1025.92199707,8.79240990,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc) (4)
  374.     CreateDynamicObject(2010,3014.76196289,-1011.40332031,8.69519424,0.00000000,0.00000000,0.00000000); //object(nu_plant3_ofc) (1)
  375.     CreateDynamicObject(3439,3019.31127930,-976.19714355,8.90575981,0.00000000,0.00000000,0.00000000); //object(aprtree01_lvs) (1)
  376.     CreateDynamicObject(3439,3019.47241211,-972.41345215,8.65575981,0.00000000,0.00000000,0.00000000); //object(aprtree01_lvs) (2)
  377.     CreateDynamicObject(3660,3016.50488281,-971.36816406,10.69547749,0.00000000,0.00000000,0.00000000); //object(lasairfbed_las) (1)
  378.     CreateDynamicObject(1379,3069.98242188,-985.55859375,53.82154083,0.00000000,0.00000000,357.99499512); //object(magnocrane_02) (1)
  379.     CreateDynamicObject(9958,3067.82543945,-992.82202148,68.54228210,0.00000000,0.00000000,181.99996948); //object(submarr_sfe) (1)
  380.     CreateDynamicObject(9958,3072.90917969,-996.35943604,68.86019897,0.00000000,0.00000000,182.00000000); //object(submarr_sfe) (2)
  381.     CreateDynamicObject(9958,3063.48413086,-995.87213135,68.61175537,0.00000000,0.00000000,181.99952698); //object(submarr_sfe) (3)
  382.     CreateDynamicObject(9958,3063.86889648,-999.98052979,61.57611084,0.00000000,182.00000000,181.99951172); //object(submarr_sfe) (4)
  383.     CreateDynamicObject(9958,3067.28833008,-987.67407227,61.18525696,0.00000000,181.99951172,181.99951172); //object(submarr_sfe) (5)
  384.     CreateDynamicObject(9958,3073.04980469,-997.81878662,62.29377747,0.00000000,181.99951172,181.99951172); //object(submarr_sfe) (6)
  385.     CreateDynamicObject(9958,3070.40942383,-995.16876221,66.65019226,0.00000000,181.99952698,181.99952698); //object(submarr_sfe) (7)
  386.     CreateDynamicObject(9958,3065.94018555,-998.92785645,66.51994324,0.00000000,181.99951172,181.99951172); //object(submarr_sfe) (8)
  387.     CreateDynamicObject(1379,3068.16748047,-999.78332520,53.67799377,0.00000000,0.00000000,181.99499512); //object(magnocrane_02) (2)
  388.     CreateDynamicObject(1376,3069.30004883,-997.78979492,43.43736267,0.00000000,0.00000000,178.00000000); //object(containercrane_03) (1)
  389.     CreateDynamicObject(3095,3068.42895508,-997.90222168,53.25773621,0.00000000,0.00000000,177.98950195); //object(a51_jetdoor) (17)
  390.     CreateDynamicObject(3095,3068.76391602,-989.25622559,53.22375870,0.00000000,359.99450684,177.98950195); //object(a51_jetdoor) (17)
  391.     CreateDynamicObject(3666,3065.53833008,-983.77819824,57.12343979,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (1)
  392.     CreateDynamicObject(3666,3063.45483398,-993.64465332,57.60301971,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (2)
  393.     CreateDynamicObject(3666,3063.75292969,-1002.20025635,57.48958588,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (3)
  394.     CreateDynamicObject(3666,3072.73657227,-1001.58013916,57.60193253,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (4)
  395.     CreateDynamicObject(3666,3072.50146484,-994.82745361,57.43399048,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (5)
  396.     CreateDynamicObject(3666,3074.56225586,-983.25036621,57.98963547,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (6)
  397.     CreateDynamicObject(2978,3067.84082031,-993.67144775,51.16803741,0.00000000,90.00000000,0.00000000); //object(kmilitary_base) (1)
  398.     CreateDynamicObject(2978,3067.87133789,-993.55407715,52.68299103,0.00000000,90.00000000,0.00000000); //object(kmilitary_base) (2)
  399.     CreateDynamicObject(2978,3070.91137695,-993.67089844,51.42987823,0.00000000,90.00000000,175.99890137); //object(kmilitary_base) (3)
  400.     CreateDynamicObject(2978,3070.96923828,-993.59698486,52.97008896,0.00000000,90.00000000,175.99548340); //object(kmilitary_base) (4)
  401.     CreateDynamicObject(8169,3068.18359375,-999.67578125,53.34408951,285.99993896,90.00024414,0.00024414); //object(vgs_guardhseflr) (1)
  402.     CreateDynamicObject(8169,3068.07446289,-993.23144531,53.02589798,285.99609375,90.00000000,0.00000000); //object(vgs_guardhseflr) (2)
  403.     CreateDynamicObject(8169,3068.14501953,-988.11053467,53.00766754,285.99609375,90.00000000,358.00000000); //object(vgs_guardhseflr) (3)
  404.     CreateDynamicObject(8169,3070.95703125,-988.78515625,52.65303802,285.99609375,90.00000000,177.99499512); //object(vgs_guardhseflr) (4)
  405.     CreateDynamicObject(8169,3070.59472656,-995.06915283,52.90676498,285.99609375,90.00000000,177.98950195); //object(vgs_guardhseflr) (5)
  406.     CreateDynamicObject(8169,3070.39526367,-1000.08782959,52.89016342,285.99609375,90.00000000,177.98950195); //object(vgs_guardhseflr) (6)
  407.     CreateDynamicObject(13654,3069.23583984,-997.68682861,51.53166580,76.00000000,269.99981689,0.00064087); //object(darkpoly) (1)
  408.     CreateDynamicObject(13654,3069.10742188,-989.91796875,51.39408493,75.99792480,269.99450684,359.99450684); //object(darkpoly) (2)
  409.     CreateDynamicObject(3524,3068.23120117,-996.10748291,53.52349854,0.00000000,0.00000000,0.00000000); //object(skullpillar01_lvs) (1)
  410.     CreateDynamicObject(3524,3070.72583008,-989.78594971,54.52855682,0.00000000,2.00000000,0.00000000); //object(skullpillar01_lvs) (2)
  411.     CreateDynamicObject(3524,3070.63623047,-991.53790283,52.58072662,0.00000000,1.99951172,0.00000000); //object(skullpillar01_lvs) (3)
  412.     CreateDynamicObject(18275,3069.18432617,-1003.29742432,52.87467575,359.99987793,180.00000000,180.00000000); //object(cw2_mtbfinish) (1)
  413.     CreateDynamicObject(18275,3069.40478516,-984.47204590,52.58835602,359.99450684,179.99450684,179.99450684); //object(cw2_mtbfinish) (2)
  414.     CreateDynamicObject(3533,3067.50830078,-1002.71459961,55.91779327,0.00000000,180.00000000,0.00000000); //object(trdpillar01) (3)
  415.     CreateDynamicObject(3533,3070.73510742,-1002.79187012,56.02059937,0.00000000,180.00000000,0.00000000); //object(trdpillar01) (3)
  416.     CreateDynamicObject(3533,3071.62060547,-985.60235596,55.83205414,0.00000000,180.00000000,0.00000000); //object(trdpillar01) (3)
  417.     CreateDynamicObject(3533,3067.64892578,-984.95556641,55.74665833,0.00000000,180.00000000,0.00000000); //object(trdpillar01) (3)
  418.     CreateDynamicObject(1215,3066.81738281,-1000.18457031,52.54517746,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
  419.     CreateDynamicObject(1215,3066.96557617,-987.96514893,52.60553741,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
  420.     CreateDynamicObject(1215,3071.78735352,-988.03393555,52.69148636,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3)
  421.     CreateDynamicObject(1215,3071.65869141,-999.71490479,52.74282455,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4)
  422.     CreateDynamicObject(17029,3124.26416016,-867.05792236,-0.75000000,0.00000000,0.00000000,30.00000000); //object(cunt_rockgp2_09) (1)
  423.     CreateDynamicObject(17029,3077.75317383,-868.36810303,-0.50000000,0.00000000,0.00000000,23.99816895); //object(cunt_rockgp2_09) (2)
  424.     CreateDynamicObject(17029,3049.87109375,-841.54431152,-0.50000000,0.00000000,0.00000000,293.99414062); //object(cunt_rockgp2_09) (3)
  425.     CreateDynamicObject(17029,3023.19677734,-917.64031982,0.00000000,0.00000000,0.00000000,21.99414062); //object(cunt_rockgp2_09) (4)
  426.     CreateDynamicObject(17029,3023.05493164,-902.60803223,1.81243706,0.00000000,0.00000000,21.98913574); //object(cunt_rockgp2_09) (5)
  427.     CreateDynamicObject(693,3106.37744141,-876.62414551,8.06243896,0.00000000,0.00000000,0.00000000); //object(sm_redwood_) (1)
  428.     CreateDynamicObject(693,3069.18701172,-876.58911133,8.06243896,0.00000000,0.00000000,0.00000000); //object(sm_redwood_) (2)
  429.     CreateDynamicObject(693,3049.60058594,-876.56689453,8.06243896,0.00000000,0.00000000,0.00000000); //object(sm_redwood_) (3)
  430.     CreateDynamicObject(693,3013.86132812,-910.66271973,10.48553467,0.00000000,0.00000000,0.00000000); //object(sm_redwood_) (4)
  431.     CreateDynamicObject(693,2925.38208008,-875.09271240,9.19312382,0.00000000,0.00000000,0.00000000); //object(sm_redwood_) (5)
  432.     CreateDynamicObject(693,2940.27197266,-874.52410889,9.20089436,0.00000000,0.00000000,0.00000000); //object(sm_redwood_) (6)
  433.     CreateDynamicObject(731,2937.64819336,-972.12243652,8.29240990,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (1)
  434.     CreateDynamicObject(731,2932.79199219,-1056.27148438,7.79240990,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (2)
  435.     CreateDynamicObject(731,2982.87451172,-1056.42248535,7.04240990,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (3)
  436.     CreateDynamicObject(731,2993.22265625,-976.54840088,7.79240990,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (4)
  437.     CreateDynamicObject(731,2960.26831055,-948.31835938,8.70089436,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (5)
  438.     CreateDynamicObject(731,2980.07910156,-949.73864746,8.69312382,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (6)
  439.     CreateDynamicObject(3877,3065.49023438,-992.30334473,56.44839096,0.00000000,271.99948120,0.00000000); //object(sf_rooflite) (1)
  440.     CreateDynamicObject(3877,3064.50732422,-995.13909912,56.28131104,0.00000000,271.99948120,0.00000000); //object(sf_rooflite) (1)
  441.     CreateDynamicObject(3877,3073.26245117,-989.72650146,55.81338501,0.00000000,92.00000000,0.00000000); //object(sf_rooflite) (1)
  442.     CreateDynamicObject(3877,3071.53320312,-993.93359375,56.03448868,0.00000000,91.99948120,0.00000000); //object(sf_rooflite) (1)
  443.     CreateDynamicObject(3877,3071.82373047,-996.72180176,55.85232162,0.00000000,91.99951172,0.00000000); //object(sf_rooflite) (1)
  444.     CreateDynamicObject(16644,3069.96093750,-993.23315430,51.54003906,0.00000000,358.00000000,268.00000000); //object(a51_ventsouth) (1)
  445.     CreateDynamicObject(16644,3069.71264648,-992.05731201,51.48632812,0.00000000,0.00000000,268.00000000); //object(a51_ventsouth) (2)
  446.     CreateDynamicObject(8878,3069.61816406,-992.07653809,41.54208374,24.55465698,312.63696289,158.29010010); //object(vgsecnstrct11) (4)
  447.     CreateDynamicObject(8878,3069.46093750,-992.47253418,41.09339905,24.55444336,312.63244629,158.28552246); //object(vgsecnstrct11) (4)
  448.     CreateDynamicObject(17029,2923.49291992,-908.88439941,-2.25223064,0.00000000,0.00000000,287.98913574); //object(cunt_rockgp2_09) (6)
  449.     CreateDynamicObject(17029,2921.22265625,-952.06695557,3.29066467,0.00000000,0.00000000,289.98461914); //object(cunt_rockgp2_09) (7)
  450.     CreateDynamicObject(8572,3145.58740234,-1037.53869629,17.11359024,0.00000000,0.00000000,270.00000000); //object(vgssstairs02_lvs) (2)
  451.     CreateDynamicObject(8572,3047.67041016,-1059.07556152,18.16868210,0.00000000,0.00000000,179.99450684); //object(vgssstairs02_lvs) (4)
  452.     CreateDynamicObject(1660,3045.33203125,-1030.66992188,7.81243801,0.00000000,0.00000000,179.99450684); //object(ramp) (1)
  453.     CreateDynamicObject(1660,3122.00463867,-1045.82788086,7.81243896,0.00000000,0.00000000,359.99450684); //object(ramp) (2)
  454.     CreateDynamicObject(1660,3125.32421875,-966.57421875,7.81243896,0.00000000,0.00000000,359.98352051); //object(ramp) (3)
  455.     CreateDynamicObject(1660,3048.35302734,-953.08959961,7.56243896,0.00000000,0.00000000,179.98901367); //object(ramp) (4)
  456.     CreateDynamicObject(1660,3045.30200195,-1035.44689941,10.92370796,0.00000000,0.00000000,179.99450684); //object(ramp) (5)
  457.     CreateDynamicObject(1660,3122.15771484,-1037.95166016,10.67715645,0.00000000,0.00000000,271.98901367); //object(ramp) (7)
  458.     CreateDynamicObject(1660,3127.17797852,-1045.67260742,7.56243896,0.00000000,0.00000000,359.98901367); //object(ramp) (8)
  459.     CreateDynamicObject(1660,3125.31079102,-960.65979004,11.66073990,0.00000000,0.00000000,359.98901367); //object(ramp) (9)
  460.     CreateDynamicObject(1660,3046.71972656,-961.06951904,11.02764130,0.00000000,0.00000000,89.98352051); //object(ramp) (10)
  461.     CreateDynamicObject(1660,3043.26635742,-953.14794922,7.56243896,0.00000000,0.00000000,179.98352051); //object(ramp) (11)
  462.     CreateDynamicObject(8572,3121.42114258,-937.97967529,17.91868210,0.00000000,0.00000000,359.99450684); //object(vgssstairs02_lvs) (5)
  463.     CreateDynamicObject(8572,3024.54785156,-963.25976562,17.92609024,0.00000000,0.00000000,87.98400879); //object(vgssstairs02_lvs) (6)
  464.     CreateDynamicObject(3398,3050.70068359,-1023.24700928,11.00085258,0.00000000,0.00000000,91.99523926); //object(cxrf_floodlite_) (4)
  465.     CreateDynamicObject(3398,3051.14428711,-1000.79962158,11.25085258,0.00000000,0.00000000,91.99401855); //object(cxrf_floodlite_) (4)
  466.     CreateDynamicObject(3398,3050.66772461,-975.89880371,11.00085258,0.00000000,0.00000000,91.99401855); //object(cxrf_floodlite_) (4)
  467.     CreateDynamicObject(3398,3119.47753906,-974.71972656,13.25085258,0.00000000,0.00000000,267.98950195); //object(cxrf_floodlite_) (4)
  468.     CreateDynamicObject(3398,3119.57128906,-1000.10937500,13.58085442,0.00000000,0.00000000,267.98400879); //object(cxrf_floodlite_) (4)
  469.     CreateDynamicObject(3398,3120.92285156,-1024.67578125,13.26085472,0.00000000,0.00000000,267.98400879); //object(cxrf_floodlite_) (4)
  470.     CreateDynamicObject(3398,3006.77758789,-1039.94738770,38.45791626,0.00000000,0.00000000,91.99401855); //object(cxrf_floodlite_) (4)
  471.     CreateDynamicObject(3398,3006.18823242,-963.15478516,38.29344940,0.00000000,0.00000000,91.99401855); //object(cxrf_floodlite_) (4)
  472.     CreateDynamicObject(3398,3161.64013672,-957.28594971,38.47313690,0.00000000,0.00000000,267.98950195); //object(cxrf_floodlite_) (4)
  473.     CreateDynamicObject(3398,3163.22290039,-1038.15173340,38.78563690,0.00000000,0.00000000,267.98950195); //object(cxrf_floodlite_) (4)
  474.     CreateDynamicObject(2579,3006.66430664,-1017.27661133,9.78992939,0.00000000,0.00000000,84.00000000); //object(cj_sex_shelf_2) (1)
  475.     CreateDynamicObject(1622,3068.92773438,-1004.14129639,51.62363815,0.00000000,0.00000000,42.00000000); //object(nt_securecam2_01) (1)
  476.     CreateDynamicObject(2772,3001.13305664,-967.32196045,13.32173157,0.00000000,0.00000000,182.00000000); //object(cj_esculator) (1)
  477.     CreateDynamicObject(2772,3003.08984375,-967.10217285,20.27769470,0.00000000,0.00000000,1.99948120); //object(cj_esculator) (2)
  478.     CreateDynamicObject(3095,3003.14331055,-956.33673096,15.90092468,0.00000000,359.98947144,4.00000000); //object(a51_jetdoor) (2)
  479.     CreateDynamicObject(9583,2998.92138672,-952.98248291,-6.45759010,0.00000000,0.00000000,0.00000000); //object(freight_sfw15) (1)
  480.     CreateDynamicObject(3095,3001.04882812,-981.12451172,27.02434921,0.00000000,359.98352051,359.99450684); //object(a51_jetdoor) (2)
  481.     CreateDynamicObject(8572,3003.46044922,-975.89184570,26.05662727,0.00000000,0.00000000,271.99453735); //object(vgssstairs02_lvs) (7)
  482.     CreateDynamicObject(9583,2997.19750977,-985.36938477,4.04240990,0.00000000,0.00000000,0.00000000); //object(freight_sfw15) (1)
  483.     CreateDynamicObject(9583,3003.34106445,-985.14556885,4.04240990,0.00000000,0.00000000,0.00000000); //object(freight_sfw15) (1)
  484.     CreateDynamicObject(9583,2997.18066406,-977.11499023,4.04240990,0.00000000,0.00000000,0.00000000); //object(freight_sfw15) (1)
  485.     CreateDynamicObject(9583,3002.68115234,-977.17108154,4.04240990,0.00000000,0.00000000,0.00000000); //object(freight_sfw15) (1)
  486.     CreateDynamicObject(3472,2969.61572266,-1015.55487061,8.79240799,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  487.     CreateDynamicObject(3472,2957.04614258,-1027.72595215,8.79240990,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  488.     CreateDynamicObject(3472,2942.98437500,-1017.03271484,8.79240799,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  489.     CreateDynamicObject(3472,2931.29809570,-994.12908936,8.79240990,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  490.     CreateDynamicObject(3472,2949.33300781,-959.24829102,8.79241085,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  491.     CreateDynamicObject(3472,2983.71118164,-960.75451660,8.79240990,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  492.     CreateDynamicObject(3472,2933.92480469,-854.86462402,9.02051544,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  493.     CreateDynamicObject(3472,3009.08471680,-854.67224121,9.02051544,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
  494.     CreateDynamicObject(8572,3006.57202148,-980.37915039,26.33020210,0.00000000,0.00000000,87.98400879); //object(vgssstairs02_lvs) (6)
  495.     CreateDynamicObject(1660,2924.45874023,-1006.70343018,6.79240990,0.00000000,0.00000000,87.99450684); //object(ramp) (1)
  496.     CreateDynamicObject(1660,2924.24511719,-1011.85607910,6.79240990,0.00000000,0.00000000,87.98999023); //object(ramp) (1)
  497.     CreateDynamicObject(1660,2924.08056641,-1016.89044189,6.79241180,0.00000000,0.00000000,87.98950195); //object(ramp) (1)
  498.     CreateDynamicObject(1660,2924.00878906,-1022.08917236,6.79240990,0.00000000,0.00000000,87.98950195); //object(ramp) (1)
  499.     CreateDynamicObject(731,2917.84741211,-1026.65405273,7.79240990,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (2)
  500.     CreateDynamicObject(731,2917.55297852,-1002.56628418,8.79240990,0.00000000,0.00000000,0.00000000); //object(tree_hipoly09) (2)
  501.         return 1;
  502. }
  503. public OnGameModeExit()
  504. {
  505.     for(new i, f = GetMaxPlayers(); i < f; i++)
  506.     {
  507.         if(IsPlayerConnected(i))
  508.         {
  509.            SalvarContas(i);
  510.                 }
  511.     }
  512.         return 1;
  513. }
  514. public OnPlayerRequestClass(playerid, classid)
  515. {
  516.     SetPlayerInterior(playerid,14);
  517.         SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
  518.         SetPlayerFacingAngle(playerid, 270.0);
  519.         SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
  520.         SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
  521.         return 1;
  522. }
  523. public OnPlayerConnect(playerid)
  524. {
  525.     TentativasDeLogar[playerid] = 0;
  526.     GetPlayerName(playerid, Name, sizeof(Name));
  527.     format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  528.     if(!DOF2_FileExists(arquivo))
  529.     {
  530.         format(Don, sizeof(Don), "Voce Nao e Registrado!\nNome: %s\n\nColoque Sua Senha", Name);
  531.         ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  532.     }
  533.     if(DOF2_FileExists(arquivo))
  534.     {
  535.          format(Don, sizeof(Don), "Voce e Registrado!\nNome: %s\n\nColoque Sua Senha", Name);
  536.          ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_PASSWORD, "Login", Don, "Login", "Sair");
  537.     }
  538.     PlayAudioStreamForPlayer(playerid,"http://dl.dropbox.com/u/55262628/MC%20DALESTE%20-%20COMPLICADO%20AMAR%20.mp3");
  539.     for(new i;i<10;i++)SendClientMessage(playerid,-1, " ");
  540.        
  541.         SendClientMessage(playerid, ATLETICOPR, "[INFO] Parar a Musica? /stop");
  542.         SendClientMessage(playerid, CORITIBA, "[INFO] Estadio : Couto Pereira");
  543.    
  544.         return 1;
  545. }
  546. public OnPlayerDisconnect(playerid, reason)
  547. {
  548.     SalvarContas(playerid);
  549.         return 1;
  550. }
  551. public OnPlayerSpawn(playerid)
  552. {
  553.     new rand = random(sizeof(Spawn));
  554.     SetPlayerPos(playerid, Spawn[rand][0], Spawn[rand][1],Spawn[rand][2]);
  555.     SetPlayerFacingAngle(playerid, Spawn[rand][3]);
  556.    
  557.     TextDrawShowForPlayer(playerid,TOG);
  558.     SetPlayerInterior(playerid,0);
  559.    
  560.     format(Don,sizeof(Don),"Organizada %s", Torcidas(playerid));
  561.     new Text3D:label = Create3DTextLabel(Don, -1, 30.0, 40.0, 50.0, 40.0, 0);
  562.     Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
  563.         Skin(playerid);
  564.         return 1;
  565. }
  566. public OnPlayerDeath(playerid, killerid, reason)
  567. {
  568.         PlayerInfo[killerid][pMatou] += 1;
  569.         PlayerInfo[playerid][pMorreu] += 1;
  570.         return 1;
  571. }
  572. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  573. {
  574.         if(dialogid == DialogRegistro)
  575.     {
  576.         if(!response) ShowPlayerDialog(playerid, DialogSaidaA, DIALOG_STYLE_MSGBOX, "{FFFFFF}[FLB]Confirmar saida", "{FF0000}..:: [FLB]Falcon's Login Box ::..\n{FFFFFF}Você ainda não está registrado.\n\nTem certeza que deseja sair ?", "Sair", "Voltar");
  577.         if(response)
  578.         {
  579.            if(strlen(inputtext) < 5 || strlen(inputtext) > 20)
  580.            {
  581.               format(Don, sizeof(Don), "Voce Nao e Registrado!\nNome: %s\n\nColoque Sua Senha", Name);
  582.               return ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  583.            }
  584.            GetPlayerName(playerid, Name, sizeof(Name));
  585.            format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  586.            DOF2_CreateFile(arquivo);
  587.            DOF2_SetString(arquivo, "Senha", inputtext);
  588.            PlayerInfo[playerid][pScore] = 10;
  589.            PlayerInfo[playerid][pAdmin] = 0;
  590.            TemTime[playerid] = false;
  591.            SalvarContas(playerid);
  592.            SendClientMessage(playerid, 0xFFFFFFAA, "[GTO]Obrigado por registrar-se...A administração do servidor lhe deseja um bom jogo !!");
  593.            if(TemTime[playerid] == false)
  594.            {
  595.                        new msg[5000];
  596.                        strcat(msg,"\tOs Fanaticos\n");
  597.                strcat(msg,"\tUltras do Atletico-PR\n");
  598.                strcat(msg,"\tImperio Alviverde\n");
  599.                strcat(msg,"\tMancha Verde\n");
  600.                strcat(msg,"\tFuria Independente\n");
  601.                strcat(msg,"\tSangue Jovem\n");
  602.                strcat(msg,"\tFalange Azul\n");
  603.                strcat(msg,"\tTrem Fantasma\n");
  604.                strcat(msg,"\tCaldeirao Atleticano Paranavai\n");
  605.                strcat(msg,"\tIra do Leao\n");
  606.                strcat(msg,"\tGalo Terror\n");
  607.                strcat(msg,"\tFuria Alvinegra\n");
  608.                strcat(msg,"\tJovem do Azulao\n");
  609.                strcat(msg,"\tTorcida Uniformizada Camisa Vermelha e Branco\n");
  610.                strcat(msg,"\tSerpente Tricolor\n");
  611.                strcat(msg,"\tPorcos Selvagens\n");
  612.                strcat(msg,"\tFuria Beltronense\n");
  613.                strcat(msg,"\tBatelmaniac\n");
  614.                strcat(msg,"\tGuerrilha Jovem\n");
  615.                ShowPlayerDialog(playerid,DialogEscolha,DIALOG_STYLE_LIST,"Escolha sua Torcida", msg,"Selecionar","Sair");
  616.                    }
  617.                 }
  618.     }
  619.     if(dialogid == DialogLogin)
  620.     {
  621.         if(!response) ShowPlayerDialog(playerid, DialogSaidaB, DIALOG_STYLE_MSGBOX, "Confirmar saida", "{FFFFFF}Você ainda não está logado.\n\nTem certeza que deseja sair ?", "Sair", "Voltar");
  622.         if(response)
  623.         {
  624.           if(strlen(inputtext) < 5 || strlen(inputtext) > 20)
  625.           {
  626.               GetPlayerName(playerid, Name, sizeof(Name));
  627.               format(Don, sizeof(Don), "Voce e Registrado!\nNome: %s\n\nColoque Sua Senha", Name);
  628.               ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_PASSWORD, "Login", Don, "Login", "Sair");
  629.           }
  630.           GetPlayerName(playerid, Name, sizeof(Name));
  631.           format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  632.           if(!strcmp(inputtext, DOF2_GetString(arquivo, "Senha"), CASE_SENSITIVE))
  633.           {
  634.               CarregarContas(playerid);
  635.               if(TemTime[playerid] == true) return SpawnPlayer(playerid);
  636.               if(TemTime[playerid] == false)
  637.               {
  638.                           new msg[5000];
  639.                           strcat(msg,"\tOs Fanaticos\n");
  640.                   strcat(msg,"\tUltras do Atletico-PR\n");
  641.                   strcat(msg,"\tImperio Alviverde\n");
  642.                   strcat(msg,"\tMancha Verde\n");
  643.                   strcat(msg,"\tFuria Independente\n");
  644.                   strcat(msg,"\tSangue Jovem\n");
  645.                   strcat(msg,"\tFalange Azul\n");
  646.                   strcat(msg,"\tTrem Fantasma\n");
  647.                   strcat(msg,"\tCaldeirao Atleticano Paranavai\n");
  648.                   strcat(msg,"\tIra do Leao\n");
  649.                   strcat(msg,"\tGalo Terror\n");
  650.                   strcat(msg,"\tFuria Alvinegra\n");
  651.                   strcat(msg,"\tJovem do Azulao\n");
  652.                   strcat(msg,"\tTorcida Uniformizada Camisa Vermelha e Branco\n");
  653.                   strcat(msg,"\tSerpente Tricolor\n");
  654.                   strcat(msg,"\tPorcos Selvagens\n");
  655.                   strcat(msg,"\tFuria Beltronense\n");
  656.                   strcat(msg,"\tBatelmaniac\n");
  657.                   strcat(msg,"\tGuerrilha Jovem\n");
  658.                   ShowPlayerDialog(playerid,DialogEscolha,DIALOG_STYLE_LIST,"Escolha sua Torcida", msg,"Selecionar","Sair");
  659.                       }
  660.           }
  661.           else
  662.           {
  663.           TentativasDeLogar[playerid] ++;
  664.           if(TentativasDeLogar[playerid] <= 3)
  665.           {
  666.               GetPlayerName(playerid, Name, sizeof(Name));
  667.               format(Don, sizeof(Don), "Voce Nao e Registrado!\nNome: %s\n\nColoque Sua Senha", Name);
  668.               ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  669.               format(Don, sizeof(Don), "Senha incorreta !!  || %d Tentativa(s) de %d", TentativasDeLogar[playerid], 3);
  670.               SendClientMessage(playerid, 0xFF0000AA, Don);
  671.           }
  672.           if(TentativasDeLogar[playerid] > 3)
  673.           {
  674.               SendClientMessage(playerid, 0xFF0000AA, "Você excedeu o limite máximo de tentativas de logar...");
  675.               SendClientMessage(playerid, 0xFF0000AA, "Por questões de segurança você foi kickado !!");
  676.               Kick(playerid);
  677.           }
  678.           }
  679.                 }
  680.     }
  681.     if(dialogid == DialogSaidaA)
  682.     {
  683.         if(response)
  684.         {
  685.             SendClientMessage(playerid, 0xFFFFFFAA, "Você decidiu sair sem se registrar...");
  686.             Kick(playerid);
  687.         }
  688.         else
  689.         {
  690.             GetPlayerName(playerid, Name, sizeof(Name));
  691.             format(Don, sizeof(Don), "Voce Nao e Registrado!\nNome: %s\n\nColoque Sua Senha", Name);
  692.             ShowPlayerDialog(playerid, DialogRegistro, DIALOG_STYLE_PASSWORD, "Registro", Don, "Registrar", "Sair");
  693.         }
  694.     }
  695.     if(dialogid == DialogSaidaB)
  696.     {
  697.        if(response)
  698.        {
  699.           SendClientMessage(playerid, 0xFFFFFFAA, "Você decidiu sair sem se logar...");
  700.           Kick(playerid);
  701.        }
  702.        else
  703.        {
  704.           GetPlayerName(playerid, Name, sizeof(Name));
  705.           format(Don, sizeof(Don), "Voce e Registrado!\nNome: %s\n\nColoque Sua Senha", Name);
  706.           ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_PASSWORD, "Login", Don, "Login", "Sair");
  707.        }
  708.     }
  709.     if(dialogid == DialogEscolha)
  710.     {
  711.        if(!response)return Kick(playerid);
  712.        if(response)
  713.        {
  714.           if(listitem == 0)
  715.           {
  716.                           SendClientMessage(playerid, ATLETICOPR,"Voce E do Os Fanatico");
  717.                       SetPlayerColor(playerid, ATLETICOPR);
  718.                       TemTime[playerid] = true;
  719.                       SpawnPlayer(playerid);
  720.           }
  721.           if(listitem == 1)
  722.           {
  723.                           SendClientMessage(playerid, ATLETICOPR,"Voce E do Utras do Atletico-PR");
  724.                       SetPlayerColor(playerid, ATLETICOPR);
  725.                       TemTime[playerid] = true;
  726.                       SpawnPlayer(playerid);
  727.           }
  728.           if(listitem == 2)
  729.           {
  730.                           SendClientMessage(playerid, CORITIBA,"Voce E do Imperio Alviverde");
  731.                       SetPlayerColor(playerid, CORITIBA);
  732.                       TemTime[playerid] = true;
  733.                       SpawnPlayer(playerid);
  734.           }
  735.           if(listitem == 3)
  736.           {
  737.                           SendClientMessage(playerid, CORITIBA,"Voce E do Mancha Verde");
  738.                       SetPlayerColor(playerid, CORITIBA);
  739.                       TemTime[playerid] = true;
  740.                       SpawnPlayer(playerid);
  741.           }
  742.           if(listitem == 4)
  743.           {
  744.                           SendClientMessage(playerid, PARANA,"Voce E do Furia Independente");
  745.                       SetPlayerColor(playerid, PARANA);
  746.                       TemTime[playerid] = true;
  747.                       SpawnPlayer(playerid);
  748.           }
  749.           if(listitem == 5)
  750.           {
  751.                           SendClientMessage(playerid, PARANA,"Voce E do Sangue Jovem");
  752.                       SetPlayerColor(playerid, PARANA);
  753.                       TemTime[playerid] = true;
  754.                       SpawnPlayer(playerid);
  755.           }
  756.           if(listitem == 6)
  757.           {
  758.                           SendClientMessage(playerid, LONDRINA,"Voce E do Falange Azul");
  759.                       SetPlayerColor(playerid, LONDRINA);
  760.                       TemTime[playerid] = true;
  761.                       SpawnPlayer(playerid);
  762.           }
  763.           if(listitem == 7)
  764.           {
  765.                           SendClientMessage(playerid, OPERARIO,"Voce E do Trem Fantasma");
  766.                       SetPlayerColor(playerid, OPERARIO);
  767.                       TemTime[playerid] = true;
  768.                       SpawnPlayer(playerid);
  769.           }
  770.           if(listitem == 8)
  771.           {
  772.                           SendClientMessage(playerid, PARANAVAI,"Voce E do Caldeirao Atleticano Paranavai");
  773.                       SetPlayerColor(playerid, PARANAVAI);
  774.                       TemTime[playerid] = true;
  775.                       SpawnPlayer(playerid);
  776.           }
  777.           if(listitem == 9)
  778.           {
  779.                           SendClientMessage(playerid, CIANORTE,"Voce E do Ira do Leao");
  780.                       SetPlayerColor(playerid, CIANORTE);
  781.                       TemTime[playerid] = true;
  782.                       SpawnPlayer(playerid);
  783.           }
  784.           if(listitem == 10)
  785.           {
  786.                           SendClientMessage(playerid, GREMIOMARINGA,"Voce E do Galo Terror");
  787.                       SetPlayerColor(playerid, GREMIOMARINGA);
  788.                       TemTime[playerid] = true;
  789.                       SpawnPlayer(playerid);
  790.           }
  791.           if(listitem == 11)
  792.           {
  793.                           SendClientMessage(playerid, GALOMARINGA,"Voce E do Furia Alvinegra");
  794.                       SetPlayerColor(playerid, GALOMARINGA);
  795.                       TemTime[playerid] = true;
  796.                       SpawnPlayer(playerid);
  797.           }
  798.           if(listitem == 12)
  799.           {
  800.                           SendClientMessage(playerid, IRATY,"Voce E do Jovem do Azulao");
  801.                       SetPlayerColor(playerid, IRATY);
  802.                       TemTime[playerid] = true;
  803.                       SpawnPlayer(playerid);
  804.           }
  805.           if(listitem == 13)
  806.           {
  807.                           SendClientMessage(playerid, RIOBRANCO,"Voce E do Torcida Uniformizada Camisa Vermelha e Branco");
  808.                       SetPlayerColor(playerid, RIOBRANCO);
  809.                       TemTime[playerid] = true;
  810.                       SpawnPlayer(playerid);
  811.           }
  812.           if(listitem == 14)
  813.           {
  814.                           SendClientMessage(playerid, CASCAVEL,"Voce E do Torcida Serpente Tricolor");
  815.                       SetPlayerColor(playerid, CASCAVEL);
  816.                       TemTime[playerid] = true;
  817.                       SpawnPlayer(playerid);
  818.           }
  819.           if(listitem == 15)
  820.           {
  821.                           SendClientMessage(playerid, TOLEDO,"Voce E do Torcida Porcos Selvagens");
  822.                       SetPlayerColor(playerid, TOLEDO);
  823.                       TemTime[playerid] = true;
  824.                       SpawnPlayer(playerid);
  825.           }
  826.           if(listitem == 16)
  827.           {
  828.                           SendClientMessage(playerid, FRANSCISCOBELTRAO,"Voce E do Furia Beltronense");
  829.                       SetPlayerColor(playerid, FRANSCISCOBELTRAO);
  830.                       TemTime[playerid] = true;
  831.                       SpawnPlayer(playerid);
  832.           }
  833.           if(listitem == 17)
  834.           {
  835.                           SendClientMessage(playerid, ATLETICOBATEL,"Voce E do Batelmaniac");
  836.                       SetPlayerColor(playerid, ATLETICOBATEL);
  837.                       TemTime[playerid] = true;
  838.                       SpawnPlayer(playerid);
  839.           }
  840.           if(listitem == 18)
  841.           {
  842.                           SendClientMessage(playerid, SAOJOSE,"Voce E do Guerrilha Jovem");
  843.                       SetPlayerColor(playerid, SAOJOSE);
  844.                       TemTime[playerid] = true;
  845.                       SpawnPlayer(playerid);
  846.           }
  847.                 }
  848.     }
  849.     return 1;
  850. }
  851. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  852. {
  853.         return 1;
  854. }
  855. forward SalvarContas(playerid);
  856. public SalvarContas(playerid)
  857. {
  858.      GetPlayerName(playerid, Name, sizeof(Name));
  859.      format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  860.      if(!DOF2_FileExists(arquivo)) DOF2_CreateFile(arquivo);
  861.  
  862.      DOF2_SetInt(arquivo, "Score", PlayerInfo[playerid][pScore]);
  863.      DOF2_SetInt(arquivo, "Admin", PlayerInfo[playerid][pAdmin]);
  864.      DOF2_SetInt(arquivo, "Matou", PlayerInfo[playerid][pMatou]);
  865.      DOF2_SetInt(arquivo, "Morreu", PlayerInfo[playerid][pMorreu]);
  866.      DOF2_SetInt(arquivo, "Organizada",Torcidas(playerid));
  867.      DOF2_SetInt(arquivo, "PossueTime", TemTime[playerid]);
  868.      DOF2_Exit();
  869.      return 1;
  870. }
  871. forward CarregarContas(playerid);
  872. public CarregarContas(playerid)
  873. {
  874.     GetPlayerName(playerid, Name, sizeof(Name));
  875.     format(arquivo, sizeof(arquivo), "/Players/%s.ini", Name);
  876.     if(!DOF2_FileExists(arquivo)) return 0x1;
  877.  
  878.     PlayerInfo[playerid][pScore]   =    DOF2_GetInt  (arquivo, "Score");
  879.     PlayerInfo[playerid][pAdmin]   =    DOF2_GetInt  (arquivo, "Admin");
  880.     PlayerInfo[playerid][pMatou]   =    DOF2_GetInt  (arquivo, "Matou");
  881.     PlayerInfo[playerid][pMorreu]  =    DOF2_GetInt  (arquivo, "Morreu");
  882.     Clubes[playerid]               =    DOF2_GetInt  (arquivo, "Organizada");
  883.     TemTime[playerid]              =    DOF2_GetBool (arquivo, "PossueTime");
  884.     return 1;
  885. }
  886. forward Torcidas(playerid);
  887. public Torcidas(playerid)
  888. {
  889.    if(Clubes[playerid] == 1) return Don = "{F20000}Os Fanaticos";
  890.    if(Clubes[playerid] == 2) return Don = "{F20000}Ultras do Atletico-PR";
  891.    if(Clubes[playerid] == 3) return Don = "{00B000}Imperio Alviverde";
  892.    if(Clubes[playerid] == 4) return Don = "{00B000}Mancha Verde";
  893.    if(Clubes[playerid] == 5) return Don = "{0000FF}Furia Independente";
  894.    if(Clubes[playerid] == 6) return Don = "{0000FF}Sangue Jovem";
  895.    if(Clubes[playerid] == 7) return Don = "{0000FF}Falange Azul";
  896.    if(Clubes[playerid] == 8) return Don = "{000000}Trem Fantasma";
  897.    if(Clubes[playerid] == 9) return Don = "{FF3E3E}Caldeirao Atleticano Paranavai";
  898.    if(Clubes[playerid] == 10) return Don = "{000088}Ira do Leao";
  899.    if(Clubes[playerid] == 11) return Don = "{1B1B1B}Galo Terror";
  900.    if(Clubes[playerid] == 12) return Don = "{000000}Furia Alvinegra";
  901.    if(Clubes[playerid] == 13) return Don = "{00FFFF}Jovem do Azulao";
  902.    if(Clubes[playerid] == 14) return Don = "{F20000}Torcida Uniformizada Camisa Vermelha e Branco";
  903.    if(Clubes[playerid] == 15) return Don = "{2F2FFF}Serpente Tricolor";
  904.    if(Clubes[playerid] == 16) return Don = "{FFFFFF}Porcos Selvagens";
  905.    if(Clubes[playerid] == 17) return Don = "{FFFF00}Furia Beltronense";
  906.    if(Clubes[playerid] == 18) return Don = "{000000}Batelmaniac";
  907.    if(Clubes[playerid] == 19) return Don = "{AE0000}Guerrilha Jovem";
  908.    return 1;
  909. }
  910. forward Skin(playerid);
  911. public Skin(playerid)
  912. {
  913.    if(Clubes[playerid] == 1) return SetPlayerSkin(playerid, 1);
  914.    if(Clubes[playerid] == 2) return SetPlayerSkin(playerid, 2);
  915.    if(Clubes[playerid] == 3) return SetPlayerSkin(playerid, 3);
  916.    if(Clubes[playerid] == 4) return SetPlayerSkin(playerid, 4);
  917.    if(Clubes[playerid] == 5) return SetPlayerSkin(playerid, 5);
  918.    if(Clubes[playerid] == 6) return SetPlayerSkin(playerid, 6);
  919.    if(Clubes[playerid] == 7) return SetPlayerSkin(playerid, 7);
  920.    if(Clubes[playerid] == 8) return SetPlayerSkin(playerid, 8);
  921.    if(Clubes[playerid] == 9) return SetPlayerSkin(playerid, 9);
  922.    if(Clubes[playerid] == 10) return SetPlayerSkin(playerid, 10);
  923.    if(Clubes[playerid] == 11) return SetPlayerSkin(playerid, 11);
  924.    if(Clubes[playerid] == 12) return SetPlayerSkin(playerid, 12);
  925.    if(Clubes[playerid] == 13) return SetPlayerSkin(playerid, 13);
  926.    if(Clubes[playerid] == 14) return SetPlayerSkin(playerid, 14);
  927.    if(Clubes[playerid] == 15) return SetPlayerSkin(playerid, 15);
  928.    if(Clubes[playerid] == 16) return SetPlayerSkin(playerid, 16);
  929.    if(Clubes[playerid] == 17) return SetPlayerSkin(playerid, 17);
  930.    if(Clubes[playerid] == 18) return SetPlayerSkin(playerid, 18);
  931.    if(Clubes[playerid] == 19) return SetPlayerSkin(playerid, 19);
  932.    return 1;
  933. }
  934. forward Protect();
  935. public Protect()
  936. {
  937.     new rand = random(sizeof(PossivelRcon));
  938.     format(Don,sizeof(Don),"%s", PossivelRcon[rand][0]);
  939.     SendRconCommand(Don);
  940.     return 1;
  941. }
  942. //==============================================================================
  943. //==============================[ COMANDOS ]====================================
  944. //==============================================================================
  945. CMD:daradmin(playerid, params[])
  946. {
  947.         new GivePlayerid;
  948.     if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, -1,"[ERRO] Voce Nao Tem Level de Admin Suficiente");
  949.     static Level = 0;
  950.     if(sscanf(params, "ud", GivePlayerid, Level)) return SendClientMessage(playerid, -1,"[ERRO]: Correto: /daradmin [ID] [Nivel].");
  951.     if(Level > 5 || Level < 0) return SendClientMessage(playerid, -1,"[ERRO]:Bote Nivel Maior que 1 e menor que 5!.");
  952.     if(PlayerInfo[GivePlayerid][pAdmin] == Level) return SendClientMessage(playerid, -1,"[ERRO]: Este player já tem este nível.");
  953.     PlayerInfo[GivePlayerid][pAdmin] = Level;
  954.     format(Don,sizeof(Don),"{FF0000}[Admins]{FFFFFF}Voce Foi Setado a Admin Level %d Pelo Admin %s", Level, playerid);
  955.     SendClientMessage(GivePlayerid, -1, Don);
  956.     return 1;
  957. }
  958. CMD:av(playerid,params[])
  959. {
  960.         GetPlayerName(playerid,Name,sizeof(Don));
  961.     if(PlayerInfo[playerid][pAdmin] < 0)return SendClientMessage(playerid,-1,"Voce Nao e Admin");
  962.     if(sscanf(params, "s",params[50]))return SendClientMessage(playerid, -1, "[Use] /av [texto]");
  963.     SendClientMessageToAll(PARANA,"|_______________| Aviso Administrativo |_______________|");
  964.     format(Don,sizeof(Don),"Admin %s : %d", Name,params);
  965.     SendClientMessageToAll(ATLETICOPR,Don);
  966.     return 1;
  967. }
  968. CMD:kick(playerid,params[])
  969. {
  970.         new ID, Name1[MAX_PLAYER_NAME];
  971.     if(PlayerInfo[playerid][pAdmin] < 0)return SendClientMessage(playerid,-1,"Voce Nao e Admin");
  972.     if(sscanf(params, "ds",ID,params[50]))return SendClientMessage(playerid, -1, "[Use] /kick [id] [motivo]");
  973.     if(!IsPlayerConnected(ID))return SendClientMessage(playerid,-1,"Player Nao Esta On!");
  974.     GetPlayerName(ID,Name1,sizeof(Name1));
  975.     format(Don,sizeof(Don),"{FF0000}[Admins]{FFFFFF}O Jogador %s Foi Kickado Pelo Admin %s[[ Motivo: %d ]]", Name1, Name, params);
  976.     SendClientMessageToAll(ATLETICOPR,Don);
  977.     Kick(ID);
  978.     return 1;
  979. }
  980. CMD:limparchat(playerid,params[])
  981. {
  982.     if(PlayerInfo[playerid][pAdmin] < 0)return SendClientMessage(playerid,-1,"Voce Nao e Admin");
  983.     for(new i;i<50;i++)SendClientMessageToAll(-1, " ");
  984.     format(Don,sizeof(Don),"{FF0000}[Admins]{FFFFFF}O Administrador Tentou Limpar o Chat[[ {FF0000}Final: Sucesso{FFFFFF} ]]", Name);
  985.     SendClientMessageToAll(ATLETICOPR,Don);
  986.     return 1;
  987. }
  988. CMD:darscore(playerid, params[])
  989. {
  990.     new Quantia, PlayerA;
  991.     GetPlayerName(playerid, Name, sizeof(Name));
  992.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce Nao Tem Level de Admin Suficiente");
  993.     if(sscanf(params, "dd",PlayerA,Quantia)) return SendClientMessage(playerid,ATLETICOPR,"[ERRO]: Correto: /darscore [id] [quantia]");
  994.     if (IsPlayerConnected(PlayerA))return SendClientMessage(playerid, 0xFF0000AA, "jogador off");
  995.     PlayerInfo[PlayerA][pScore]+= Quantia;
  996.     SendClientMessage(PlayerA, 0xFF0000AA, "Voce Ganhou Score de Um Admin");
  997.     return 1;
  998. }
  999. CMD:a(playerid, params[] , inputtext[])
  1000. {
  1001.         GetPlayerName(playerid, Name, sizeof(Name));
  1002.         if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce Nao Tem Level de Admin Suficiente");
  1003.     if (sscanf(params, "s", inputtext))return SendClientMessage(playerid, 0xFF0000AA, "Use: /a [texto]");
  1004.     if(PlayerInfo[playerid][pAdmin] > 1){
  1005.         format(Don,sizeof(Don), "[Admin-Chat]%s: %s.", Name, inputtext);
  1006.         SendClientMessageToAll(ATLETICOPR,Don); }
  1007.         return 1;
  1008. }
  1009. CMD:ao(playerid, params[])
  1010. {
  1011.         GetPlayerName(playerid, Name, sizeof(Name));
  1012.         if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1,"[ERRO] Voce Nao Tem Level de Admin Suficiente");
  1013.     if (sscanf(params, "s", params)) return SendClientMessage(playerid, 0xFF0000AA, "Use: /cv [texto]");
  1014.     format(Don, sizeof(Don), "~r~%s:~b~%s", Name, params);
  1015.     GameTextForAll(Don, 5000, 3);
  1016.     return 1;
  1017. }
  1018. //==============================================================================
  1019. //=================================[ Players ]==================================
  1020. //==============================================================================
  1021. COMMAND:admins(playerid,params[])
  1022. {
  1023.     new Speed[250];
  1024.     for(new i, j = GetMaxPlayers(); i != j; i++)
  1025.     {
  1026.        if(IsPlayerConnected(i))
  1027.        {
  1028.             GetPlayerName(i, Name, sizeof(Name));
  1029.             if(PlayerInfo[i][pAdmin] == 1)
  1030.                 format(Speed,sizeof(Speed),"%s(ID:%d) Administrador Level 1\n", Name, i, playerid);
  1031.             if(PlayerInfo[i][pAdmin] == 2)
  1032.                 format(Speed,sizeof(Speed),"%s (ID:%d) Administrador Level 2\n",Speed,i, Name);
  1033.             if(PlayerInfo[i][pAdmin] == 3)
  1034.                  format(Speed,sizeof(Speed),"%s (ID:%d) Administrador Level 3\n",Speed,i, Name);
  1035.             if(PlayerInfo[i][pAdmin] == 4)
  1036.                 format(Speed,sizeof(Speed),"%s (ID:%d) Administrador Level 4\n",Speed,i, Name);
  1037.             if(PlayerInfo[i][pAdmin] > 5)
  1038.                 format(Speed,sizeof(Speed),"%s (ID:%d) Fundador/Script\n",Speed,i, Name);
  1039.             ShowPlayerDialog(playerid, DialogADM, DIALOG_STYLE_MSGBOX, "Administradores", Speed, "Fechar", "");
  1040.        }
  1041.        else SendClientMessage(playerid,-1,"Nenhum Admin On!");
  1042.     }
  1043.     return 1;
  1044. }
  1045. CMD:infotorcida(playerid,params[])
  1046. {
  1047.    format(Don,sizeof(Don),"[INFO] Voce Esta Na Torcida %s [Nao Tem Como Mudar /ajuda]",Torcidas(playerid));
  1048.    SendClientMessage(playerid,-1,Don);
  1049.    return 1;
  1050. }
  1051. CMD:stop(playerid,params[])
  1052. {
  1053.    SendClientMessage(playerid,CORITIBA,"Stop Ativado");
  1054.    StopAudioStreamForPlayer(playerid);
  1055.    return 1;
  1056. }
  1057. CMD:estadio(playerid)
  1058. {
  1059.   SetPlayerPos(playerid, 3160.87988281,-1009.10858154,30.61220551);
  1060.   return 1;
  1061. }
  1062. CMD:status(playerid,params[])
  1063. {
  1064.   SendClientMessage(playerid,ATLETICOPR,"|==================================================|");
  1065.   format(Don,sizeof(Don),"Matou : %d ", PlayerInfo[playerid][pMatou]);
  1066.   SendClientMessage(playerid,ATLETICOPR,Don);
  1067.   format(Don,sizeof(Don),"Morreu : %d ", PlayerInfo[playerid][pMorreu]);
  1068.   SendClientMessage(playerid,ATLETICOPR,Don);
  1069.   SendClientMessage(playerid,ATLETICOPR,"|==================================================|");
  1070.   return 1;
  1071. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top