SHARE
TWEET

v2.3

a guest Mar 2nd, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include    <a_samp>    // Include  //
  2. #include    <streamer>  // Include  //
  3. //----------------------------------//
  4. //----------------------------------//
  5. new tp1;            //              //
  6. new tp2;            //              //
  7. new tp3;            //              //
  8. new tp4;            //              //
  9. new tp5;            //   TELEPORTS  //
  10. new tp6;            //              //
  11. new tp7;            //              //
  12. new tp8;            //              //
  13. new tp9;            //              //
  14. new tp10;           //              //
  15. //----------------------------------//
  16. //----------------------------------//
  17. new Text3D:ltp1;    //              //
  18. new Text3D:ltp2;    //              //
  19. new Text3D:ltp3;    //              //
  20. new Text3D:ltp4;    //              //
  21. new Text3D:ltp5;    //   TELEPORT   //
  22. new Text3D:ltp6;    //    TEXTS     //
  23. new Text3D:ltp7;    //              //
  24. new Text3D:ltp8;    //              //
  25. new Text3D:ltp9;    //              //
  26. new Text3D:ltp10;   //              //
  27. //----------------------------------//
  28. //----------------------------------//
  29. new hp;             //   Health     //
  30. new ar;             //  Pickups     //
  31. //----------------------------------//
  32. //----------------------------------//
  33. new mg;             //   Weapon     //
  34. new rk;             //  Pickups     //
  35. //----------------------------------//
  36. //----------------------------------//
  37. new Text3D:texthouse;  //  Gang House  //
  38. new ghouse;         //    Pickup    //
  39. //----------------------------------//
  40. //----------------------------------//
  41. new Text3D:textloot;//    Loot      //
  42. new loot;           //   Pickup     //
  43. //------------------------------------------------------//
  44. //------------------------------------------------------//
  45. new heal_timer[MAX_PLAYERS];    //     Heal Pickups     //
  46. new armour_timer[MAX_PLAYERS];  //      Cooldown        //
  47. //------------------------------------------------------//
  48. //------------------------------------------------------//
  49. new minigun_timer[MAX_PLAYERS]; //   Weapons Pickups    //
  50. new rocket_timer[MAX_PLAYERS];  //     Cooldown         //
  51. //------------------------------------------------------//
  52. //------------------------------------------------------//
  53. new base_timer[MAX_PLAYERS];    //   Base Protection    //
  54. //------------------------------------------------------//
  55. //------------------------------------------------------//
  56. new rp_timer[MAX_PLAYERS];      //  Pickups Protection  //
  57. //------------------------------------------------------//
  58. //------------------------------------------------------//
  59. new wp_timer[MAX_PLAYERS];      //  Weapons Protection  //
  60. //------------------------------------------------------//
  61. //------------------------------------------------------//
  62. new tp_timer[MAX_PLAYERS];      // Teleports Protection //
  63. //------------------------------------------------------//
  64. //------------------------------------------------------//
  65. new tlp1_timer[MAX_PLAYERS];        // Save Teleport Protection #1  //
  66. new tlp2_timer[MAX_PLAYERS];        // Save Teleport Protection #2  //
  67. new tlp3_timer[MAX_PLAYERS];        // Save Teleport Protection #3  //
  68. new tlp4_timer[MAX_PLAYERS];        // Save Teleport Protection #4  //
  69. new tlp5_timer[MAX_PLAYERS];        // Save Teleport Protection #5  //
  70. new tlp6_timer[MAX_PLAYERS];        // Save Teleport Protection #6  //
  71. new tlp7_timer[MAX_PLAYERS];        // Save Teleport Protection #7  //
  72. new tlp8_timer[MAX_PLAYERS];        // Save Teleport Protection #8  //
  73. new tlp9_timer[MAX_PLAYERS];        // Save Teleport Protection #9  //
  74. new tlp10_timer[MAX_PLAYERS];       // Save Teleport Protection #10 //
  75. //--------------------------------------------------------------------//
  76. //--------------------------------------------------------------------//
  77. new tele1_timer[MAX_PLAYERS];       // Create Teleport Protection #1  //
  78. new tele2_timer[MAX_PLAYERS];       // Create Teleport Protection #2  //
  79. new tele3_timer[MAX_PLAYERS];       // Create Teleport Protection #3  //
  80. new tele4_timer[MAX_PLAYERS];       // Create Teleport Protection #4  //
  81. new tele5_timer[MAX_PLAYERS];       // Create Teleport Protection #5  //
  82. new tele6_timer[MAX_PLAYERS];       // Create Teleport Protection #6  //
  83. new tele7_timer[MAX_PLAYERS];       // Create Teleport Protection #7  //
  84. new tele8_timer[MAX_PLAYERS];       // Create Teleport Protection #8  //
  85. new tele9_timer[MAX_PLAYERS];       // Create Teleport Protection #9  //
  86. new tele10_timer[MAX_PLAYERS];      // Create Teleport Protection #10 //
  87. //--------------------------------------------------------------------//
  88. //--------------------------------------------------------------------//
  89. new Float:posX[MAX_PLAYERS];                    //              //
  90. new Float:posY[MAX_PLAYERS];                    //              //
  91. new Float:posZ[MAX_PLAYERS];                    //     Gang     //
  92. new Float:posA[MAX_PLAYERS];                    //     Spawn    //
  93. new Saved[MAX_PLAYERS];                         //              //
  94. //--------------------------------------------------------------//
  95. //--------------------------------------------------------------//
  96. new Float:posX1[MAX_PLAYERS];                   //              //
  97. new Float:posY1[MAX_PLAYERS];                   //              //
  98. new Float:posZ1[MAX_PLAYERS];                   //   Teleport   //
  99. new Float:posA1[MAX_PLAYERS];                   //      #1      //
  100. new Saved1[MAX_PLAYERS];                        //              //
  101. //--------------------------------------------------------------//
  102. //--------------------------------------------------------------//
  103. new Float:posX2[MAX_PLAYERS];                   //              //
  104. new Float:posY2[MAX_PLAYERS];                   //              //
  105. new Float:posZ2[MAX_PLAYERS];                   //   Teleport   //
  106. new Float:posA2[MAX_PLAYERS];                   //      #2      //
  107. new Saved2[MAX_PLAYERS];                        //              //
  108. //--------------------------------------------------------------//
  109. //--------------------------------------------------------------//
  110. new Float:posX3[MAX_PLAYERS];                   //              //
  111. new Float:posY3[MAX_PLAYERS];                   //              //
  112. new Float:posZ3[MAX_PLAYERS];                   //   Teleport   //
  113. new Float:posA3[MAX_PLAYERS];                   //      #3      //
  114. new Saved3[MAX_PLAYERS];                        //              //
  115. //--------------------------------------------------------------//
  116. //--------------------------------------------------------------//
  117. new Float:posX4[MAX_PLAYERS];                   //              //
  118. new Float:posY4[MAX_PLAYERS];                   //              //
  119. new Float:posZ4[MAX_PLAYERS];                   //   Teleport   //
  120. new Float:posA4[MAX_PLAYERS];                   //      #4      //
  121. new Saved4[MAX_PLAYERS];                        //              //
  122. //--------------------------------------------------------------//
  123. //--------------------------------------------------------------//
  124. new Float:posX5[MAX_PLAYERS];                   //              //
  125. new Float:posY5[MAX_PLAYERS];                   //              //
  126. new Float:posZ5[MAX_PLAYERS];                   //   Teleport   //
  127. new Float:posA5[MAX_PLAYERS];                   //      #5      //
  128. new Saved5[MAX_PLAYERS];                        //              //
  129. //--------------------------------------------------------------//
  130. //--------------------------------------------------------------//
  131. new Float:posX6[MAX_PLAYERS];                   //              //
  132. new Float:posY6[MAX_PLAYERS];                   //              //
  133. new Float:posZ6[MAX_PLAYERS];                   //   Teleport   //
  134. new Float:posA6[MAX_PLAYERS];                   //      #6      //
  135. new Saved6[MAX_PLAYERS];                        //              //
  136. //--------------------------------------------------------------//
  137. //--------------------------------------------------------------//
  138. new Float:posX7[MAX_PLAYERS];                   //              //
  139. new Float:posY7[MAX_PLAYERS];                   //              //
  140. new Float:posZ7[MAX_PLAYERS];                   //   Teleport   //
  141. new Float:posA7[MAX_PLAYERS];                   //      #7      //
  142. new Saved7[MAX_PLAYERS];                        //              //
  143. //--------------------------------------------------------------//
  144. //--------------------------------------------------------------//
  145. new Float:posX8[MAX_PLAYERS];                   //              //
  146. new Float:posY8[MAX_PLAYERS];                   //              //
  147. new Float:posZ8[MAX_PLAYERS];                   //   Teleport   //
  148. new Float:posA8[MAX_PLAYERS];                   //      #8      //
  149. new Saved8[MAX_PLAYERS];                        //              //
  150. //--------------------------------------------------------------//
  151. //--------------------------------------------------------------//
  152. new Float:posX9[MAX_PLAYERS];                   //              //
  153. new Float:posY9[MAX_PLAYERS];                   //              //
  154. new Float:posZ9[MAX_PLAYERS];                   //   Teleport   //
  155. new Float:posA9[MAX_PLAYERS];                   //      #9      //
  156. new Saved9[MAX_PLAYERS];                        //              //
  157. //--------------------------------------------------------------//
  158. //--------------------------------------------------------------//
  159. new Float:posX10[MAX_PLAYERS];                  //              //
  160. new Float:posY10[MAX_PLAYERS];                  //              //
  161. new Float:posZ10[MAX_PLAYERS];                  //   Teleport   //
  162. new Float:posA10[MAX_PLAYERS];                  //     #10      //
  163. new Saved10[MAX_PLAYERS];                       //              //
  164. //--------------------------------------------------------------//
  165. //--------------------------------------------------------------//
  166. new Float:posX11[MAX_PLAYERS];                  //              //
  167. new Float:posY11[MAX_PLAYERS];                  //              //
  168. new Float:posZ11[MAX_PLAYERS];                  //    BASE      //
  169. new Float:posA11[MAX_PLAYERS];                  //              //
  170. new Saved11[MAX_PLAYERS];                       //              //
  171. //--------------------------------------------------------------//
  172. //--------------------------------------------------------------//
  173. public OnFilterScriptExit()
  174. {
  175.     DestroyDynamicCP(tp1);                  //--------------------------------//
  176.     DestroyDynamicCP(tp2);                  //                                //
  177.     DestroyDynamicCP(tp3);                  //                                //
  178.     DestroyDynamicCP(tp4);                  //                                //
  179.     DestroyDynamicCP(tp5);                  //                                //
  180.     DestroyDynamicCP(tp6);                  //                                //
  181.     DestroyDynamicCP(tp7);                  //                                //
  182.     DestroyDynamicCP(tp8);                  //                                //
  183.     DestroyDynamicCP(tp9);                  //                                //
  184.     DestroyDynamicCP(tp10);                 //                                //
  185.     Delete3DTextLabel(ltp1);                //                                //
  186.     Delete3DTextLabel(ltp2);                //                                //
  187.     Delete3DTextLabel(ltp3);                //                                //
  188.     Delete3DTextLabel(ltp4);                //--------------------------------//
  189.     Delete3DTextLabel(ltp5);                //        Destroy everythink      //
  190.     Delete3DTextLabel(ltp6);                //           after reload         //
  191.     Delete3DTextLabel(ltp7);                //--------------------------------//
  192.     Delete3DTextLabel(ltp8);                //                                //
  193.     Delete3DTextLabel(ltp9);                //                                //
  194.     Delete3DTextLabel(ltp10);               //                                //
  195.     Delete3DTextLabel(textloot);            //                                //
  196.     Delete3DTextLabel(texthouse);           //                                //
  197.     DestroyDynamicPickup(hp);               //                                //
  198.     DestroyDynamicPickup(ar);               //                                //
  199.     DestroyDynamicPickup(loot);             //                                //
  200.     DestroyDynamicPickup(ghouse);           //                                //
  201.     DestroyDynamicPickup(mg);               //                                //
  202.     DestroyDynamicPickup(rk);               //                                //
  203.     DestroyDynamicPickup(mg);               //                                //
  204.     DestroyDynamicPickup(rk);               //--------------------------------//
  205.     return 1;
  206. }
  207. public OnPlayerSpawn(playerid)
  208. {
  209.     if(Saved[playerid] == 0) SetPlayerPos(playerid,-2226.6367, 95.9487, 1036),SetPlayerInterior(playerid, 0),SetPlayerFacingAngle(playerid, 0),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid, 0);
  210.     if(Saved[playerid] == 1) SetPlayerPos(playerid, posX[playerid], posY[playerid], posZ[playerid]),SetPlayerFacingAngle(playerid, posA[playerid]),SetCameraBehindPlayer(playerid),ResetPlayerWeapons(playerid),GivePlayerWeapon(playerid,9,1),GivePlayerWeapon(playerid,24,6000),GivePlayerWeapon(playerid,26,6000),GivePlayerWeapon(playerid,32,6000),GivePlayerWeapon(playerid,31,6000),GivePlayerWeapon(playerid,34,6000);
  211.     return 1;
  212. }
  213.  
  214. public OnPlayerCommandText(playerid, cmdtext[])
  215. {
  216.     if (strcmp("/editgang", cmdtext, true, 10) == 0)
  217.     {
  218.     if(IsPlayerAdmin(playerid))
  219.     {
  220.     ShowPlayerDialog(playerid, 25 ,DIALOG_STYLE_LIST,"{FF0000}Create Gang {FFFFFF}panel","{FF0000}Set Spawn\n{FF0000}Set Gang House\n{FF0000}Set Base\n{FF0000}Set Loot\n{FF0000}Set Health\n{FF0000}Set Armour\n{FF0000}Set Minigun\n{FF0000}Set Rocket\n{FF0000}Set Teleport\n{FF0000}Remove Weapons\n{FF0000}Remove Teleports\n{FF0000}Remove Pickups","Select","Close");
  221.     }
  222.     else
  223.     {
  224.     }
  225.     return 1;
  226. }
  227.     if (strcmp("/gang", cmdtext, true, 10) == 0)
  228.     {
  229.     if(Saved[playerid] == 1)
  230.     {
  231.     SetPlayerPos(playerid, posX[playerid], posY[playerid], posZ[playerid]),SetPlayerFacingAngle(playerid, posA[playerid]),SetCameraBehindPlayer(playerid),ResetPlayerWeapons(playerid),GivePlayerWeapon(playerid,9,1),GivePlayerWeapon(playerid,24,6000),GivePlayerWeapon(playerid,26,6000),GivePlayerWeapon(playerid,32,6000),GivePlayerWeapon(playerid,31,6000),GivePlayerWeapon(playerid,34,6000);
  232.     }
  233.     else
  234.     {
  235.     SendClientMessage(playerid, 0xFF0000FF, "ERROR: Gang Spawn is not saved!");
  236.     }
  237.     return 1;
  238. }
  239.     if (strcmp("/base", cmdtext, true, 10) == 0)
  240.     {
  241.     ShowPlayerDialog(playerid, 35 ,DIALOG_STYLE_LIST,"Editgang Base","{FFFF00}Gang Tester V2.2","Teleport","Close");
  242.     return 1;
  243. }
  244.     if (strcmp("/gtloc 1", cmdtext, true, 10) == 0)
  245.     {
  246.     if(IsPlayerAdmin(playerid))
  247.     {
  248.     new string[128];
  249.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  250.     if(tlp1_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  251.     GetPlayerPos(playerid, posX1[playerid], posY1[playerid], posZ1[playerid]),GetPlayerFacingAngle(playerid, posA1[playerid]);
  252.     Saved1[playerid] = 1;
  253.     tlp1_timer[playerid] = SetTimerEx("tlp1",3600000,false,"i",playerid);
  254.     }
  255.     else
  256.     {
  257.     }
  258.     return 1;
  259. }
  260.     if (strcmp("/gtloc 2", cmdtext, true, 10) == 0)
  261.     {
  262.     if(IsPlayerAdmin(playerid))
  263.     {
  264.     new string[128];
  265.     if(tlp2_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  266.     GetPlayerPos(playerid, posX2[playerid], posY2[playerid], posZ2[playerid]),GetPlayerFacingAngle(playerid, posA2[playerid]);
  267.     Saved2[playerid] = 1;
  268.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  269.     tlp2_timer[playerid] = SetTimerEx("tlp2",3600000,false,"i",playerid);
  270.     }
  271.     else
  272.     {
  273.     }
  274.     return 1;
  275. }
  276.     if (strcmp("/gtloc 3", cmdtext, true, 10) == 0)
  277.     {
  278.     if(IsPlayerAdmin(playerid))
  279.     {
  280.     new string[128];
  281.     if(tlp3_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  282.     GetPlayerPos(playerid, posX3[playerid], posY3[playerid], posZ3[playerid]),GetPlayerFacingAngle(playerid, posA3[playerid]);
  283.     Saved3[playerid] = 1;
  284.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  285.     tlp3_timer[playerid] = SetTimerEx("tlp3",3600000,false,"i",playerid);
  286.     }
  287.     else
  288.     {
  289.     }
  290.     return 1;
  291. }
  292.     if (strcmp("/gtloc 4", cmdtext, true, 10) == 0)
  293.     {
  294.     if(IsPlayerAdmin(playerid))
  295.     {
  296.     new string[128];
  297.     if(tlp4_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  298.     GetPlayerPos(playerid, posX4[playerid], posY4[playerid], posZ4[playerid]),GetPlayerFacingAngle(playerid, posA4[playerid]);
  299.     Saved4[playerid] = 1;
  300.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  301.     tlp4_timer[playerid] = SetTimerEx("tlp4",3600000,false,"i",playerid);
  302.     }
  303.     else
  304.     {
  305.     }
  306.     return 1;
  307. }
  308.     if (strcmp("/gtloc 5", cmdtext, true, 10) == 0)
  309.     {
  310.     if(IsPlayerAdmin(playerid))
  311.     {
  312.     new string[128];
  313.     if(tlp5_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  314.     GetPlayerPos(playerid, posX5[playerid], posY5[playerid], posZ5[playerid]),GetPlayerFacingAngle(playerid, posA5[playerid]);
  315.     Saved5[playerid] = 1;
  316.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  317.     tlp5_timer[playerid] = SetTimerEx("tlp5",3600000,false,"i",playerid);
  318.     }
  319.     else
  320.     {
  321.     }
  322.     return 1;
  323. }
  324.     if (strcmp("/gtloc 6", cmdtext, true, 10) == 0)
  325.     {
  326.     if(IsPlayerAdmin(playerid))
  327.     {
  328.     new string[128];
  329.     if(tlp6_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  330.     GetPlayerPos(playerid, posX6[playerid], posY6[playerid], posZ6[playerid]),GetPlayerFacingAngle(playerid, posA6[playerid]);
  331.     Saved6[playerid] = 1;
  332.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  333.     tlp6_timer[playerid] = SetTimerEx("tlp6",3600000,false,"i",playerid);
  334.     }
  335.     else
  336.     {
  337.     }
  338.     return 1;
  339. }
  340.     if (strcmp("/gtloc 7", cmdtext, true, 10) == 0)
  341.     {
  342.     if(IsPlayerAdmin(playerid))
  343.     {
  344.     new string[128];
  345.     if(tlp7_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  346.     GetPlayerPos(playerid, posX7[playerid], posY7[playerid], posZ7[playerid]),GetPlayerFacingAngle(playerid, posA7[playerid]);
  347.     Saved7[playerid] = 1;
  348.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  349.     tlp7_timer[playerid] = SetTimerEx("tlp7",3600000,false,"i",playerid);
  350.     }
  351.     else
  352.     {
  353.     }
  354.     return 1;
  355. }
  356.     if (strcmp("/gtloc 8", cmdtext, true, 10) == 0)
  357.     {
  358.     if(IsPlayerAdmin(playerid))
  359.     {
  360.     new string[128];
  361.     if(tlp8_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  362.     GetPlayerPos(playerid, posX8[playerid], posY8[playerid], posZ8[playerid]),GetPlayerFacingAngle(playerid, posA8[playerid]);
  363.     Saved8[playerid] = 1;
  364.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  365.     tlp8_timer[playerid] = SetTimerEx("tlp8",3600000,false,"i",playerid);
  366.     }
  367.     else
  368.     {
  369.     }
  370.     return 1;
  371. }
  372.     if (strcmp("/gtloc 9", cmdtext, true, 10) == 0)
  373.     {
  374.     if(IsPlayerAdmin(playerid))
  375.     {
  376.     new string[128];
  377.     if(tlp9_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  378.     GetPlayerPos(playerid, posX9[playerid], posY9[playerid], posZ9[playerid]),GetPlayerFacingAngle(playerid, posA9[playerid]);
  379.     Saved9[playerid] = 1;
  380.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  381.     tlp9_timer[playerid] = SetTimerEx("tlp9",3600000,false,"i",playerid);
  382.     }
  383.     else
  384.     {
  385.     }
  386.     return 1;
  387. }
  388.     if (strcmp("/gtloc 10", cmdtext, true, 10) == 0)
  389.     {
  390.     if(IsPlayerAdmin(playerid))
  391.     {
  392.     new string[128];
  393.     if(tlp10_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can use this command only once!"),SendClientMessage(playerid, 0xFF0000FF, string);
  394.     GetPlayerPos(playerid, posX10[playerid], posY10[playerid], posZ10[playerid]),GetPlayerFacingAngle(playerid, posA10[playerid]);
  395.     Saved10[playerid] = 1;
  396.     SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleport was successfully saved!");
  397.     tlp10_timer[playerid] = SetTimerEx("tlp10",3600000,false,"i",playerid);
  398.     }
  399.     else
  400.     {
  401.     }
  402.     return 1;
  403. }
  404.     if (strcmp("/world", cmdtext, true, 10) == 0)
  405.     {
  406.     new string[32];
  407.     format(string, sizeof(string), "Current World: %i", GetPlayerVirtualWorld(playerid));
  408.     SendClientMessage(playerid, 0xCCCCCCCC, string);
  409.     return 1;
  410.     }
  411.     if (strcmp("/angle", cmdtext, true, 10) == 0)
  412.     {
  413.     new Float:Angle, string[26];
  414.     GetPlayerFacingAngle(playerid, Angle);
  415.     format(string, sizeof(string), "Current Facing Angle: %0.2f", Angle);
  416.     SendClientMessage(playerid, 0xCCCCCCCC, string);
  417.     return 1;
  418. }
  419.     return 0;
  420. }
  421. public OnPlayerPickUpDynamicPickup(playerid, pickupid)
  422. {
  423.     if(pickupid == hp)
  424.     {
  425.     new string[128];
  426.     if(heal_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can heal only once every 2 minutes!"),SendClientMessage(playerid, 0xFF0000FF, string);
  427.     SetPlayerHealth(playerid,100);
  428.     GameTextForPlayer(playerid, "~r~~h~Hp Filled", 2500, 3);
  429.     heal_timer[playerid] = SetTimerEx("health",200000,false,"i",playerid);
  430.     }
  431.     if(pickupid == ar)
  432.     {
  433.     new string[128];
  434.     if(armour_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can heal only once every 2 minutes!"),SendClientMessage(playerid, 0xFF0000FF, string);
  435.     SetPlayerArmour(playerid,100);
  436.     GameTextForPlayer(playerid, "~b~~h~Armour Filled", 2500, 3);
  437.     armour_timer[playerid] = SetTimerEx("armour",200000,false,"i",playerid);
  438.     }
  439.     if(pickupid == mg)
  440.     {
  441.     new string[128];
  442.     if(minigun_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can load this gun only once every 10 minutes!"),SendClientMessage(playerid, 0xFF0000FF, string);
  443.     GivePlayerWeapon(playerid, 38, 50);
  444.     GameTextForPlayer(playerid, "~g~Gun loaded", 2500, 3);
  445.     minigun_timer[playerid] = SetTimerEx("minigun",1000000,false,"i",playerid);
  446.     }
  447.     if(pickupid == rk)
  448.     {
  449.     new string[128];
  450.     if(rocket_timer[playerid] > 0)return format(string, sizeof(string), "ERROR: You can load this gun only once every 10 minutes!"),SendClientMessage(playerid, 0xFF0000FF, string);
  451.     GivePlayerWeapon(playerid, 35, 10);
  452.     SetTimer("message", 100000, 1);
  453.     GameTextForPlayer(playerid, "~g~Gun loaded", 2500, 3);
  454.     rocket_timer[playerid] = SetTimerEx("rocket",1000000,false,"i",playerid);
  455.     }
  456.     if(pickupid == ghouse)
  457.     {
  458.     }
  459.     if(pickupid == loot)
  460.     {
  461.     }
  462.     return 1;
  463. }
  464. public OnPlayerEnterDynamicCP(playerid, checkpointid)
  465. {
  466.     if(checkpointid == tp1)
  467.     {
  468.     if(Saved1[playerid] == 1)
  469.     SetPlayerPos(playerid, posX1[playerid], posY1[playerid], posZ1[playerid]),SetPlayerFacingAngle(playerid, posA1[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  470.     }
  471.     if(checkpointid == tp2)
  472.     {
  473.     if(Saved2[playerid] == 1)
  474.     SetPlayerPos(playerid, posX2[playerid], posY2[playerid], posZ2[playerid]),SetPlayerFacingAngle(playerid, posA2[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  475.     }
  476.     if(checkpointid == tp3)
  477.     {
  478.     if(Saved3[playerid] == 1)
  479.     SetPlayerPos(playerid, posX3[playerid], posY3[playerid], posZ3[playerid]),SetPlayerFacingAngle(playerid, posA3[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  480.     }
  481.     if(checkpointid == tp4)
  482.     {
  483.     if(Saved4[playerid] == 1)
  484.     SetPlayerPos(playerid, posX4[playerid], posY4[playerid], posZ4[playerid]),SetPlayerFacingAngle(playerid, posA4[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  485.     }
  486.     if(checkpointid == tp5)
  487.     {
  488.     if(Saved5[playerid] == 1)
  489.     SetPlayerPos(playerid, posX5[playerid], posY5[playerid], posZ5[playerid]),SetPlayerFacingAngle(playerid, posA5[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  490.     }
  491.     if(checkpointid == tp6)
  492.     {
  493.     if(Saved6[playerid] == 1)
  494.     SetPlayerPos(playerid, posX6[playerid], posY6[playerid], posZ6[playerid]),SetPlayerFacingAngle(playerid, posA6[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  495.     }
  496.     if(checkpointid == tp7)
  497.     {
  498.     if(Saved7[playerid] == 1)
  499.     SetPlayerPos(playerid, posX7[playerid], posY7[playerid], posZ7[playerid]),SetPlayerFacingAngle(playerid, posA7[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  500.     }
  501.     if(checkpointid == tp8)
  502.     {
  503.     if(Saved8[playerid] == 1)
  504.     SetPlayerPos(playerid, posX8[playerid], posY8[playerid], posZ8[playerid]),SetPlayerFacingAngle(playerid, posA8[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  505.     }
  506.     if(checkpointid == tp9)
  507.     {
  508.     if(Saved9[playerid] == 1)
  509.     SetPlayerPos(playerid, posX9[playerid], posY9[playerid], posZ9[playerid]),SetPlayerFacingAngle(playerid, posA9[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  510.     }
  511.     if(checkpointid == tp10)
  512.     {
  513.     if(Saved10[playerid] == 1)
  514.     SetPlayerPos(playerid, posX10[playerid], posY10[playerid], posZ10[playerid]),SetPlayerFacingAngle(playerid, posA10[playerid]),SetCameraBehindPlayer(playerid),SetPlayerInterior(playerid,0);
  515.     }
  516.     return 1;
  517. }
  518.  
  519. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  520. {
  521.     if(dialogid ==  25)
  522.     {
  523.         if(response)
  524.         {
  525.             if(listitem == 0)
  526.             {
  527.             GetPlayerPos(playerid, posX[playerid], posY[playerid], posZ[playerid]),GetPlayerFacingAngle(playerid, posA[playerid]);
  528.             Saved[playerid] = 1;
  529.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Spawn was successfully set!");
  530.             }
  531.             if(listitem == 1)
  532.             {
  533.             Delete3DTextLabel(texthouse);
  534.             DestroyDynamicPickup(ghouse);
  535.             new Float:x1, Float:y1, Float:z1;
  536.             GetPlayerPos(playerid, x1, y1, z1);
  537.             ghouse = CreateDynamicPickup(1239, 1, x1, y1, z1, -1);
  538.             texthouse = Create3DTextLabel("{FFFF00}/enter\n{FFFFFF}Gang House", -1, x1, y1, z1, 25.0, 0);
  539.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Gang House was successfully set!");
  540.             }
  541.             if(listitem == 2)
  542.             {
  543.             if(base_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: Base can by set only once!");
  544.             GetPlayerPos(playerid, posX11[playerid], posY11[playerid], posZ11[playerid]),GetPlayerFacingAngle(playerid, posA11[playerid]);
  545.             Saved11[playerid] = 1;
  546.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Base was successfully set!");
  547.             base_timer[playerid] = SetTimerEx("base",3600000,false,"i",playerid);
  548.             }
  549.             if(listitem == 3)
  550.             {
  551.             Delete3DTextLabel(textloot);
  552.             DestroyDynamicPickup(loot);
  553.             new Float:x, Float:y, Float:z;
  554.             GetPlayerPos(playerid, x, y, z);
  555.             loot = CreateDynamicPickup(1550, 1, x, y, z, -1);
  556.             textloot = Create3DTextLabel("{CC9900}Gang Loot \n{FFFFFF}Money: {FF0000}999999999{FFFFFF}, Coins: {FF0000}123456789{FFFFFF}, Gems: {FF0000}1337\n{FFFFFF}/loot", -1, x, y, z, 25.0, 0);
  557.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Loot was successfully set!");
  558.             }
  559.             if(listitem == 4)
  560.             {
  561.             DestroyDynamicPickup(hp);
  562.             new Float:x, Float:y, Float:z;
  563.             GetPlayerPos(playerid, x, y, z);
  564.             hp = CreateDynamicPickup(1240, 1, x, y, z, -1);
  565.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Health was successfully set!");
  566.             }
  567.             if(listitem == 5)
  568.             {
  569.             DestroyDynamicPickup(ar);
  570.             new Float:x, Float:y, Float:z;
  571.             GetPlayerPos(playerid, x, y, z);
  572.             ar = CreateDynamicPickup(1242, 1, x, y, z, -1);
  573.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Armour was successfully set!");
  574.             }
  575.             if(listitem == 6)
  576.             {
  577.             DestroyDynamicPickup(mg);
  578.             new Float:x, Float:y, Float:z;
  579.             GetPlayerPos(playerid, x, y, z);
  580.             mg = CreateDynamicPickup(362, 1, x, y, z, -1);
  581.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Minigun was successfully set!");
  582.             }
  583.             if(listitem == 7)
  584.             {
  585.             DestroyDynamicPickup(rk);
  586.             new Float:x, Float:y, Float:z;
  587.             GetPlayerPos(playerid, x, y, z);
  588.             rk = CreateDynamicPickup(359, 1, x, y, z, -1);
  589.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Rocket was successfully set!");
  590.             }
  591.             if(listitem == 8)
  592.             {
  593.             ShowPlayerDialog(playerid, 40 ,DIALOG_STYLE_LIST ,"{FF0000}Set Teleport","{FF0000}#1\n{FF0000}#2\n{FF0000}#3\n{FF0000}#4\n{FF0000}#5\n{FF0000}#6\n{FF0000}#7\n{FF0000}#8\n{FF0000}#9\n{FF0000}#10","Create","Close");
  594.             }
  595.             if(listitem == 9)
  596.             {
  597.             if(wp_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: Gang Weapons are not created!");
  598.             DestroyDynamicPickup(mg);
  599.             DestroyDynamicPickup(rk);
  600.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Gang Weapons are successfully removed!");
  601.             wp_timer[playerid] = SetTimerEx("weapons",3600000,false,"i",playerid);
  602.             }
  603.             if(listitem == 10)
  604.             {
  605.             if(tp_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: Teleports are not created!");
  606.             DestroyDynamicCP(tp1);
  607.             DestroyDynamicCP(tp2);
  608.             DestroyDynamicCP(tp3);
  609.             DestroyDynamicCP(tp4);
  610.             DestroyDynamicCP(tp5);
  611.             DestroyDynamicCP(tp6);
  612.             DestroyDynamicCP(tp7);
  613.             DestroyDynamicCP(tp8);
  614.             DestroyDynamicCP(tp9);
  615.             DestroyDynamicCP(tp10);
  616.             Delete3DTextLabel(ltp1);
  617.             Delete3DTextLabel(ltp2);
  618.             Delete3DTextLabel(ltp3);
  619.             Delete3DTextLabel(ltp4);
  620.             Delete3DTextLabel(ltp5);
  621.             Delete3DTextLabel(ltp6);
  622.             Delete3DTextLabel(ltp7);
  623.             Delete3DTextLabel(ltp8);
  624.             Delete3DTextLabel(ltp9);
  625.             Delete3DTextLabel(ltp10);
  626.             Saved[playerid] = 0;
  627.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Teleports are successfully removed!");
  628.             tp_timer[playerid] = SetTimerEx("teleports",3600000,false,"i",playerid);
  629.             }
  630.             if(listitem == 11)
  631.             {
  632.             if(rp_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: Pickups are not created!");
  633.             Delete3DTextLabel(textloot);
  634.             Delete3DTextLabel(texthouse);
  635.             DestroyDynamicPickup(hp);
  636.             DestroyDynamicPickup(ar);
  637.             DestroyDynamicPickup(loot);
  638.             DestroyDynamicPickup(ghouse);
  639.             SendClientMessage(playerid, 0x00CC3300, "SERVER: Pickups are successfully removed!");
  640.             rp_timer[playerid] = SetTimerEx("pickups",3600000,false,"i",playerid);
  641.             }
  642.         }
  643.         return 1;
  644.     }
  645.     if(dialogid == 35)
  646.     {
  647.         if(response)
  648.         {
  649.             if(Saved11[playerid] == 1)
  650.             {
  651.             SetPlayerPos(playerid, posX11[playerid], posY11[playerid], posZ11[playerid]),SetPlayerFacingAngle(playerid, posA11[playerid]),SetCameraBehindPlayer(playerid),GameTextForPlayer(playerid,"~g~~h~Teleported",2000,3);
  652.             }
  653.             else
  654.             {
  655.             SendClientMessage(playerid, 0xFF0000FF, "ERROR: Gang Base is not saved!");
  656.             }
  657.         }
  658.         return 1;
  659.     }
  660.     if(dialogid == 10)
  661.     {
  662.     if(response)
  663.     {
  664.             if(tele1_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  665.             new Float:x,Float:y,Float:z;
  666.             GetPlayerPos(playerid,x,y,z);
  667.             tp1 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  668.             ltp1 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  669.             Update3DTextLabelText(ltp1, -1, inputtext);
  670.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 1 to save checkpoint direction!");
  671.             tele1_timer[playerid] = SetTimerEx("tp1",3600000,false,"i",playerid);
  672.     }
  673.     return 1;
  674.     }
  675.     if(dialogid == 11)
  676.     {
  677.     if(response)
  678.     {
  679.             if(tele2_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  680.             new Float:x,Float:y,Float:z;
  681.             GetPlayerPos(playerid,x,y,z);
  682.             tp2 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  683.             ltp2 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  684.             Update3DTextLabelText(ltp2, -1, inputtext);
  685.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 2 to save checkpoint direction!");
  686.             tele2_timer[playerid] = SetTimerEx("tp2",3600000,false,"i",playerid);
  687.     }
  688.     return 1;
  689.     }
  690.     if(dialogid == 12)
  691.     {
  692.     if(response)
  693.     {
  694.             if(tele3_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  695.             new Float:x,Float:y,Float:z;
  696.             GetPlayerPos(playerid,x,y,z);
  697.             tp3 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  698.             ltp3 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  699.             Update3DTextLabelText(ltp3, -1, inputtext);
  700.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 3 to save checkpoint direction!");
  701.             tele3_timer[playerid] = SetTimerEx("tp3",3600000,false,"i",playerid);
  702.     }
  703.     return 1;
  704.     }
  705.     if(dialogid == 13)
  706.     {
  707.     if(response)
  708.     {
  709.             if(tele4_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  710.             new Float:x,Float:y,Float:z;
  711.             GetPlayerPos(playerid,x,y,z);
  712.             tp4 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  713.             ltp4 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  714.             Update3DTextLabelText(ltp4, -1, inputtext);
  715.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 4 to save checkpoint direction!");
  716.             tele4_timer[playerid] = SetTimerEx("tp4",3600000,false,"i",playerid);
  717.     }
  718.     return 1;
  719.     }
  720.     if(dialogid == 14)
  721.     {
  722.     if(response)
  723.     {
  724.             if(tele5_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  725.             new Float:x,Float:y,Float:z;
  726.             GetPlayerPos(playerid,x,y,z);
  727.             tp5 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  728.             ltp5 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  729.             Update3DTextLabelText(ltp5, -1, inputtext);
  730.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 5 to save checkpoint direction!");
  731.             tele5_timer[playerid] = SetTimerEx("tp5",3600000,false,"i",playerid);
  732.     }
  733.     return 1;
  734.     }
  735.     if(dialogid == 15)
  736.     {
  737.     if(response)
  738.     {
  739.             if(tele6_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  740.             new Float:x,Float:y,Float:z;
  741.             GetPlayerPos(playerid,x,y,z);
  742.             tp6 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  743.             ltp6 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  744.             Update3DTextLabelText(ltp6, -1, inputtext);
  745.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 6 to save checkpoint direction!");
  746.             tele6_timer[playerid] = SetTimerEx("tp6",3600000,false,"i",playerid);
  747.     }
  748.     return 1;
  749.     }
  750.     if(dialogid == 16)
  751.     {
  752.     if(response)
  753.     {
  754.             if(tele7_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  755.             new Float:x,Float:y,Float:z;
  756.             GetPlayerPos(playerid,x,y,z);
  757.             tp7 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  758.             ltp7 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  759.             Update3DTextLabelText(ltp7, -1, inputtext);
  760.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 7 to save checkpoint direction!");
  761.             tele7_timer[playerid] = SetTimerEx("tp7",3600000,false,"i",playerid);
  762.     }
  763.     return 1;
  764.     }
  765.     if(dialogid == 17)
  766.     {
  767.     if(response)
  768.     {
  769.             if(tele8_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  770.             new Float:x,Float:y,Float:z;
  771.             GetPlayerPos(playerid,x,y,z);
  772.             tp8 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  773.             ltp8 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  774.             Update3DTextLabelText(ltp8, -1, inputtext);
  775.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 8 to save checkpoint direction!");
  776.             tele8_timer[playerid] = SetTimerEx("tp8",3600000,false,"i",playerid);
  777.     }
  778.     return 1;
  779.     }
  780.     if(dialogid == 18)
  781.     {
  782.     if(response)
  783.     {
  784.             if(tele9_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  785.             new Float:x,Float:y,Float:z;
  786.             GetPlayerPos(playerid,x,y,z);
  787.             tp9 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  788.             ltp9 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  789.             Update3DTextLabelText(ltp9, -1, inputtext);
  790.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 9 to save checkpoint direction!");
  791.             tele9_timer[playerid] = SetTimerEx("tp9",3600000,false,"i",playerid);
  792.     }
  793.     return 1;
  794.     }
  795.     if(dialogid == 19)
  796.     {
  797.     if(response)
  798.     {
  799.             if(tele10_timer[playerid] > 0) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: This teleport is already created!");
  800.             new Float:x,Float:y,Float:z;
  801.             GetPlayerPos(playerid,x,y,z);
  802.             tp10 = CreateDynamicCP(x, y, z-0.85, 1, -1, -1, -1, 15, -1, 0);
  803.             ltp10 = Create3DTextLabel("", -1, x, y, z, 15, 0);
  804.             Update3DTextLabelText(ltp10, -1, inputtext);
  805.             SendClientMessage(playerid,0x00CC3300, "SERVER: Teleport createad! - Use /gtloc 10 to save checkpoint direction!");
  806.             tele10_timer[playerid] = SetTimerEx("tp10",3600000,false,"i",playerid);
  807.     }
  808.     return 1;
  809.     }
  810.     if(dialogid == 40)
  811.     {
  812.     if(response)
  813.         {
  814.             if(listitem == 0)
  815.             {
  816.             ShowPlayerDialog(playerid, 10 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  817.             }
  818.             else if(listitem == 1)
  819.             {
  820.             ShowPlayerDialog(playerid, 11 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  821.             }
  822.             else if(listitem == 2)
  823.             {
  824.             ShowPlayerDialog(playerid, 12 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  825.             }
  826.             else if(listitem == 3)
  827.             {
  828.             ShowPlayerDialog(playerid, 13 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  829.             }
  830.             else if(listitem == 4)
  831.             {
  832.             ShowPlayerDialog(playerid, 14 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  833.             }
  834.             else if(listitem == 5)
  835.             {
  836.             ShowPlayerDialog(playerid, 15 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  837.             }
  838.             else if(listitem == 6)
  839.             {
  840.             ShowPlayerDialog(playerid, 16 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  841.             }
  842.             else if(listitem == 7)
  843.             {
  844.             ShowPlayerDialog(playerid, 17 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  845.             }
  846.             else if(listitem == 8)
  847.             {
  848.             ShowPlayerDialog(playerid, 18 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  849.             }
  850.             else if(listitem == 9)
  851.             {
  852.             ShowPlayerDialog(playerid, 19 ,DIALOG_STYLE_INPUT,"{FF0000}Teleport Name","Insert an teleport name bellow","Create","Close");
  853.             }
  854.         }
  855.     return 1;
  856.     }
  857.     return 0;
  858. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top