Advertisement
MaxenceTP

Untitled

Feb 16th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.40 KB | None | 0 0
  1. /*
  2. Author: Jean_Park
  3.  
  4.  
  5. • Discord : https://discord.gg/DhFUFsq
  6. • Email : contact@the-programmer.com
  7. • Site : the-programmer.com -> support
  8.  
  9. Terms of use:
  10. - This file is forbidden unless you have permission from the author. If you have this file without permission to use it please do not use it and do not share it.
  11. - If you have permission to use this file, you can use it on your server however it is strictly forbidden to share it.
  12. - Out of respect for the author please do not delete this information
  13. */
  14. #define false 0
  15. #define true 1
  16.  
  17. class The_Programmer_Settings_Iphone {
  18. default_lang = "fr"; // fr / en / es
  19.  
  20. gps_script_enable = true;
  21. interpol_script_enable = true;
  22. phone_numbers_script_enable = true;
  23. advenced_phone_script_enable = true;
  24. bill_system_script_enable = true;
  25. companies_script_enable = true;
  26. governement_script_enable = true;
  27. calls_management_script_enable = true;
  28. whitelist_menu_script_enable = true;
  29.  
  30. enable_cellphone_animations = true; // You need to put the "The_Programmer_Cellphone" mod into your modpack !
  31.  
  32. reboot_1 = "00H00";
  33. reboot_2 = "06H00";
  34. reboot_3 = "12H00";
  35. reboot_4 = "18H00";
  36.  
  37. default_wallpaper = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\fonds\fond_3.paa";
  38.  
  39. Fond[] = {
  40. {"Forest","LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\fonds\fond_1.paa"},
  41. {"Dark & Red","LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\fonds\fond_2.paa"},
  42. {"Iphone X","LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\fonds\fond_3.paa"},
  43. {"Aninme Wallpaper","LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\fonds\fond_4.paa"},
  44. {"BMW Wallpaper","LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\fonds\fond_5.paa"},
  45. {"Ferrari Wallpaper","LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\fonds\fond_6.paa"}
  46. };
  47.  
  48. Son_sms[] = {
  49. {"Mario Mushroom","mario_mushroom"},
  50. {"Classic Whistle","classic_whistle"},
  51. {"Iphone","Notif_iphone"},
  52. {"Samsung","Samsung"}
  53. };
  54.  
  55. Sonnerie[] = {
  56. {"ArmyWakeup","ArmyWakeup"},
  57. {"Bahbahbah","bahbahbah"},
  58. {"Dont Worry Be Happy","DontWorryBeHappy"},
  59. {"Hurr Durr","HurrDurr"},
  60. {"Iphone","IsThatMyiPhone"},
  61. {"Rocket Ship","RocketShip"},
  62. {"Smoke Weed","SmokeWeed"}
  63. };
  64.  
  65. class Cfg_Buttons {
  66. class Clefs {
  67. action = "createDialog ""The_Programmer_Iphone_Key_Menu"";";
  68. displayName = "Clés";
  69. condition = "";
  70. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\clef.paa";
  71. };
  72. class Setting {
  73. action = "if (((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) && ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1)) then {createDialog ""The_Programmer_Iphone_Settings_Menu_3"";} else {if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) then {createDialog ""The_Programmer_Iphone_Settings_Menu_2"";} else {createDialog ""The_Programmer_Iphone_Settings_Menu"";};};";
  74. displayName = "Réglages";
  75. condition = "";
  76. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\reglage.paa";
  77. };
  78. class contact {
  79. action = "[1] spawn the_programmer_iphone_fnc_contactmenu;";
  80. displayName = "Contacts";
  81. condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1) || ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1)";
  82. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\contact.paa";
  83. };
  84. class ButtonMyGang {
  85. action = "if (isNil ""life_action_gangInUse"") then {if(isNil {(group player) getVariable ""gang_owner""}) then {createDialog ""The_Programmer_Iphone_Create_Gang_Menu"";} else {[] spawn the_programmer_iphone_fnc_gangMenu;};};";
  86. displayName = "Gang";
  87. condition = "";
  88. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\groupe.paa";
  89. };
  90. class Licences {
  91. action = "[] call the_programmer_iphone_fnc_Licences_Menu;";
  92. displayName = "Licences";
  93. condition = "";
  94. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\licence.paa";
  95. };
  96. class SyncData {
  97. action = "[] call SOCK_fnc_syncData;";
  98. displayName = "Sync Data";
  99. condition = "";
  100. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\syncro.paa";
  101. };
  102. class Banking {
  103. action = "[1] call the_programmer_iphone_fnc_PayEasy;";
  104. displayName = "PayEasy";
  105. condition = "";
  106. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\banque.paa";
  107. };
  108. class Inventaire {
  109. action = "createDialog ""The_Programmer_Iphone_Stuff_Menu"";";
  110. displayName = "Inventaire";
  111. condition = "";
  112. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\sac.paa";
  113. };
  114. class Message {
  115. action = "if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) then {createDialog ""The_Programmer_Iphone_Cell_Menu""; } else {createDialog ""The_Programmer_Iphone_Cell_TONIC_Menu"";};";
  116. displayName = "Message";
  117. condition = "";
  118. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\chat.paa";
  119. };
  120. class Weather {
  121. action = "[] spawn the_programmer_iphone_fnc_weatherMenu;";
  122. displayName = "Météo";
  123. condition = "";
  124. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\Meteo.paa";
  125. };
  126. class Camera {
  127. action = "closeDialog 0; [] spawn the_programmer_iphone_fnc_cameraMenu;";
  128. displayName = "Caméra";
  129. condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""enable_cellphone_animations"")) isEqualTo 1)";
  130. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\camera.paa";
  131. };
  132. class Entreprise {
  133. action = "[] spawn max_entreprise_fnc_openMenu;";
  134. displayName = "Entreprise";
  135. condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""companies_script_enable"")) isEqualTo 1)";
  136. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\Entreprise.paa";
  137. };
  138. class Governement {
  139. action = "closeDialog 0; [] spawn max_gouvernement_fnc_selectGovernementMenu;";
  140. displayName = "Gouvernement";
  141. condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""governement_script_enable"")) isEqualTo 1)";
  142. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\Gouvernement.paa";
  143. };
  144. class GPS {
  145. action = "[] call gps_menu_fnc_loadGPSMenu;";
  146. displayName = "GPS";
  147. condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""gps_script_enable"")) isEqualTo 1)";
  148. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\gps.paa";
  149. };
  150. class Clavier {
  151. action = "createDialog ""The_Programmer_Iphone_Clavier_Menu"";";
  152. displayName = "Pavé numérique";
  153. condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1)";
  154. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\call.paa";
  155. };
  156. class Facture {
  157. action = "createDialog ""facture_list"";";
  158. displayName = "Factures";
  159. condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""bill_system_script_enable"")) isEqualTo 1)";
  160. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\facture.paa";
  161. };
  162. class Admin {
  163. action = "createDialog ""the_programmer_admin_menu"";";
  164. displayName = "Admin Menu";
  165. condition = "((call life_adminlevel) >= 1)";
  166. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\admin.paa";
  167. };
  168. class CallsManagement {
  169. action = "[] spawn max_callsmanage_fnc_openCallsManagementMenu;";
  170. displayName = "Dispatch";
  171. condition = "(((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""calls_management_script_enable"")) isEqualTo 1) && !(playerSide isEqualTo civilian))";
  172. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\dispatch.paa";
  173. };
  174. class Interpol {
  175. action = "if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""interpol_script_enable"")) isEqualTo 1) then {closeDialog 0; [0] remoteExec [""max_interpol_fnc_getInterpol"",2];} else {[] call life_fnc_wantedMenu;};";
  176. displayName = "Interpol";
  177. condition = "playerSide isEqualTo West";
  178. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\police.paa";
  179. };
  180. class WhiteList {
  181. action = "createDialog ""whitelist_menu"";";
  182. displayName = "Whitelist Menu";
  183. condition = "((call life_adminlevel) >= 1) && ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""whitelist_menu_script_enable"")) isEqualTo 1)";
  184. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\whitelist.paa";
  185. };
  186. class CheckPlate {
  187. action = "createDialog ""max_search_plate"";";
  188. displayName = "Recensement des plaques";
  189. condition = "playerSide isEqualTo West";
  190. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\police.paa";
  191. };
  192. class CheckPermis {
  193. action = "createDialog ""Cop_points_search"";";
  194. displayName = "Recensement des permis";
  195. condition = "playerSide isEqualTo West";
  196. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\police.paa";
  197. };
  198. class comptecop {
  199. action = "closeDialog 0; [1] spawn max_gouvernement_fnc_accountManagementMenu;";
  200. displayName = "compte lspd";
  201. condition = "playerSide isEqualTo West";
  202. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\police.paa";
  203. };
  204. class comptemedic {
  205. action = "closeDialog 0; [2] spawn max_gouvernement_fnc_accountManagementMenu;";
  206. displayName = "compte LSFD";
  207. condition = "playerSide isEqualTo independent";
  208. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\dispatch.paa";
  209. };
  210. class crafting {
  211. action = "[] call call Lega_fnc_openCrafting;";
  212. displayName = "menu crafting";
  213. condition = "playerSide isEqualTo civilian";
  214. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\dispatch.paa";
  215. };
  216. class duty_cop {
  217. action = "closeDialog 0; [0] spawn The_programmer_Duty_fnc_MenuPrise;";
  218. displayName = "Prise de service";
  219. condition = "(player getVariable ""TP_Authorized_Police"")";
  220. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\police.paa";
  221. };
  222. class duty_med {
  223. action = "closeDialog 0; [1] spawn The_programmer_Duty_fnc_MenuPrise;";
  224. displayName = "Prise de service";
  225. condition = "(player getVariable ""TP_Authorized_Medic"")";
  226. picture = "LosSantosLifeRP_config\The-Programmer\Iphone_X\textures\icons\dispatch.paa";
  227. };
  228. };
  229. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement