Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.40 KB | None | 0 0
  1. /*
  2. Menu de interações base no pixel credits for Koil
  3. */
  4.  
  5. NoPixel_InteractionButtons = [
  6.  
  7. 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608,
  8. 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1616, 1617,
  9. 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626,
  10.  
  11. 16001, 16011, 16021, 16031, 16041, 16051, 16061, 16071, 16081,
  12. 16091, 16101, 16111, 16121, 16131, 16141, 16151, 16161, 16171,
  13. 16181, 16191, 16201, 16211, 16221, 16231, 16241, 16251, 16261,
  14.  
  15. 16002, 16012, 16022, 16032, 16042, 16052, 16062, 16072, 16082,
  16. 16092, 16102, 16112, 16122, 16132, 16142, 16152, 16162, 16172,
  17. 16182, 16192, 16202, 16212, 16222, 16232, 16242, 16252, 16262,
  18.  
  19. 16003, 16013, 16023, 16033, 16043, 16053, 16063, 16073, 16083,
  20. 16093, 16103, 16113, 16123, 16133, 16143, 16153, 16163, 16173,
  21. 16183, 16193, 16203, 16213, 16223, 16233, 16243, 16253, 16263
  22.  
  23. ];
  24.  
  25. NoPixel_InteractionMenuItems = [
  26.  
  27. [
  28. [" typeof CurrentCursorTarget == ""Land_buildingsbasement1"" && myjob == ""COP"" "],
  29. ["Forçar a porta", " ['cortando as ferragens',120,client_fnc_raiddump,player,'AinvPknlMstpSnonWnonDnon_medic_1',[CurrentCursorTarget],""cg_mission_files\sounds\repair.ogg"",0] spawn client_fnc_dotask ",5]
  30. ],
  31.  
  32. [
  33. ["(CurrentCursorTarget getVariable ['owner', '0']) == (getPlayerUID player)", "(typeOf CurrentCursorTarget) in RPF_houseTypes", "(player distance CurrentCursorTarget) <= 5"],
  34. ["Gerenciar Venda", "[CurrentCursorTarget] call Client_fnc_openManageHouseSale"]
  35. ],
  36.  
  37. [
  38. ["(CurrentCursorTarget getVariable ['owner', '0']) == (getPlayerUID player)", "(typeOf CurrentCursorTarget) in RPF_houseTypes", "!(CurrentCursorTarget getVariable ['locked', true])", "(player distance CurrentCursorTarget) <= 25"],
  39. ["Trancar Casa", "[CurrentCursorTarget, 1] call Client_fnc_manageHouseLock"]
  40. ],
  41.  
  42. [
  43. ["(CurrentCursorTarget getVariable ['owner', '0']) == (getPlayerUID player)", "(typeOf CurrentCursorTarget) in RPF_houseTypes", "CurrentCursorTarget getVariable ['locked', true]", "(player distance CurrentCursorTarget) <= 25"],
  44. ["Destrancar Casa", "[CurrentCursorTarget, 0] call Client_fnc_manageHouseLock"]
  45. ],
  46.  
  47. [
  48. ["(typeOf CurrentCursorTarget) in RPF_houseTypes", "(player distance CurrentCursorTarget) <= 5"],
  49. ["Info Casa", "[CurrentCursorTarget] call Client_fnc_openHouseInfo"]
  50. ],
  51.  
  52. [
  53. [" "],
  54. ["Anunciar $1000", "closedialog 0; createdialog ""client_Advertise"";",3]
  55. ],
  56.  
  57. [
  58. ["player distance [6810.04,4639.41,0.00144005] < 25"],
  59. ["Aposta de Cavalos", " createdialog ""client_phonebet"";",5]
  60. ],
  61.  
  62. [
  63. ["player distance [6810.04,4639.41,0.00144005] < 25"],
  64. ["Bilhete premiado (1k)", "[] spawn client_fnc_lottoBuy;",5]
  65. ],
  66.  
  67. [
  68. [" player distance [6810.04,4639.41,0.00144005] < 25"],
  69. ["Iniciar Maquina", "[] spawn client_fnc_slotsStart; ",5]
  70. ],
  71. /*
  72. [
  73. ["myjob == ""bus"" && typeof CurrentCursorTarget == ""paradadebus_civ"""],
  74. ["Começar Trabalho", "[CurrentCursorTarget] call client_fnc_getBusMission",4]
  75. ],
  76.  
  77. [
  78. ["myjob == ""bus"" && typeof CurrentCursorTarget == ""paradadebus_civ"""],
  79. ["Terminar Trabalho", "[CurrentCursorTarget] call client_fnc_BusFinish",4]
  80. ],
  81. */
  82.  
  83. [
  84. [" typeof cursortarget == ""plp_ct_HighSecMediumBlack"" && myjob == ""COP"" "],
  85. ["Guardar fundos", " ['Guardando',300,client_fnc_securefunds,player,'AinvPknlMstpSnonWnonDnon_medic_1',[CurrentCursorTarget],""cg_mission_files\sounds\repair.ogg"",0] spawn client_fnc_dotask ",5]
  86. ],
  87. /*
  88. [
  89. ["player distance myhouse < 10 || (typeOf cursorObject) in houseTypes", "!(cursorObject getVariable ['locked', true])", "(player distance cursorObject) <= 5"],
  90. ["Trancado", "[cursorObject, 1] call Client_fnc_manageHouseLock"]
  91. ],
  92.  
  93. [
  94. ["player distance myhouse < 10 || (typeOf cursorObject) in houseTypes", "cursorObject getVariable ['locked', true]", "(player distance cursorObject) <= 5"],
  95. ["Destrancado", "[cursorObject, 0] call Client_fnc_manageHouseLock"]
  96. ],
  97. */
  98. [
  99. [" CurrentCursorTarget getVariable[""hotcar"",FALSE] "],
  100. ["Roubar Veiculo", " ['Forçando a porta',30,client_fnc_careventend,player,'AinvPknlMstpSnonWnonDnon_medic_1',[CurrentCursorTarget],""cg_mission_files\sounds\repair.ogg"",0] spawn client_fnc_dotask ",5]
  101. ],
  102.  
  103. [
  104. [" CurrentCursorTarget getVariable[""robberCar"",FALSE] && myjob == ""COP"""],
  105. ["Voltar ao Veiculo", " ['Voltando ao Veiculo',180,client_fnc_careventendpolice,player,'AinvPknlMstpSnonWnonDnon_medic_1',[CurrentCursorTarget],""cg_mission_files\sounds\repair.ogg"",0] spawn client_fnc_dotask ",5]
  106. ],
  107.  
  108.  
  109. [
  110. [" bankrobber == 4 && typeof cursortarget == ""plp_ct_HighSecMediumBlack"" "],
  111. ["Pegar Dinheiro", " ['Taking Money',180,client_fnc_takecash,player,'AinvPknlMstpSnonWnonDnon_medic_1',[CurrentCursorTarget],""cg_mission_files\sounds\repair.ogg"",0] spawn client_fnc_dotask ",5]
  112. ],
  113.  
  114. [
  115. [" bankrobber == 2 && typeof cursortarget == ""plp_ct_HighSecMediumBlack"""],
  116. ["Reparar Drill", " ['Repairing Drill',60,client_fnc_repairdrill,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\repair.ogg"",0] spawn client_fnc_dotask ",5]
  117. ],
  118.  
  119. [
  120. [" (lastforcesync + 300) < time && ( myjob != ""Cop"" && myjob != ""EMS"" && myjob != ""Fire"" ) "],
  121. ["Salvar dados (5min)", " _new = player getVariable ""wallet""; [player, ""wallet"", _new] remoteExec [""Server_fnc_setVariable"",2]; _loadout = getunitloadout player; [player,1,getplayeruid player,name player,_loadout] remoteExec [""server_fnc_steppedsync"",2]; lastforcesync = time; ",5]
  122. ],
  123.  
  124.  
  125. [
  126. [" "],
  127. ["Dar Chaves", " [] spawn client_fnc_findplayerskeys; ",5]
  128. ],
  129.  
  130.  
  131. [
  132. [" (licensearray select 0) == 0 && (str CurrentCursorTarget find ""otros"" > -1 || str CurrentCursorTarget find ""garaje"" > -1 || str CurrentCursorTarget find ""tallerdepinturaabandonado"" > -1 || typeof CurrentCursorTarget IN [""Land_ModernShowroom""])"],
  133. ["Licença de Motorista 1.5K", "[1,1500] spawn client_fnc_tryLicense;",1]
  134. ],
  135.  
  136. [
  137. ["typeof CurrentCursorTarget == ""Land_buildingGunStore1"" && (licensearray select 1) == 0"],
  138. ["Licença de Arma 5K", " [2,5000] spawn client_fnc_tryLicense; ",1]
  139. ],
  140.  
  141. [
  142. ["(licensearray select 2) == 0 && typeof CurrentCursorTarget IN [""Land_Coffee_DED_Coffee_02_F"",""Land_fs_roof_F"",""Land_Coffee_DED_Coffee_01_F"",""Land_Shop_DED_Shop_01_F"",""Land_Shop_DED_Shop_02_F""]"],
  143. ["Licença de Minerador", " [""Add"",""license"",3] call client_fnc_sustain; ",1]
  144. ],
  145.  
  146. [
  147. ["(licensearray select 3) == 0 && typeof CurrentCursorTarget IN [""Land_Coffee_DED_Coffee_02_F"",""Land_fs_roof_F"",""Land_Coffee_DED_Coffee_01_F"",""Land_Shop_DED_Shop_01_F"",""Land_Shop_DED_Shop_02_F""]"],
  148. ["Licença de Lenhador", "[""Add"",""license"",4] call client_fnc_sustain;",1]
  149. ],
  150.  
  151. [
  152. ["(licensearray select 4) == 0 && typeof CurrentCursorTarget IN [""Land_Coffee_DED_Coffee_02_F"",""Land_fs_roof_F"",""Land_Coffee_DED_Coffee_01_F"",""Land_Shop_DED_Shop_01_F"",""Land_Shop_DED_Shop_02_F""]"],
  153. ["Licença de Pesca", "[""Add"",""license"",5] call client_fnc_sustain;",1]
  154. ],
  155.  
  156. [
  157. ["paintballing "],
  158. ["Respawn", " paintballhit = true; hint ""Respawned"";",1]
  159. ],
  160.  
  161. [
  162. ["paintballing "],
  163. ["Refill Paintball", " for ""_i"" from 1 to 3 do { player addItemToUniform ""140Rnd_PaintBall_blau""; }; ",1]
  164. ],
  165.  
  166. [
  167. [" player distance [3370.36,1436.92,0.00147247] < 225 && !paintballing"],
  168. ["Começar Paintball", " [player] remoteexec [""server_fnc_paintball"",2]; ",1]
  169. ],
  170.  
  171. [
  172. [" currentcursortarget == missionVehicle && !isNull missionVehicle && player distance endOfmission < 25"],
  173. ["Finish Drug Run", " ['Entregando Drogas',180,client_fnc_finishDrugRun,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",1]
  174. ],
  175.  
  176.  
  177. [
  178. ["typeof currentcursortarget == ""Land_buildingsbasement1"""],
  179. ["Vender Medicamentos", " ['Entregando Drogas',40,client_fnc_dumpDrugs,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",1]
  180. ],
  181.  
  182. [
  183. [" !(currentcursortarget isKindOf ""Man"") && (myJob == ""Mafia"" || ( player getvariable ""cop"" == 5 || player getvariable ""cop"" == 10 )) "],
  184. ["Abrir Chamadas Rastreadas", " [] spawn client_fnc_findTapped; ",1]
  185. ],
  186.  
  187. [
  188. [" myJob == ""Cop"" && (count(nearestObjects [player,[""weaponholder""],3])>0) "],
  189. ["Confiscar Objetos", " [] spawn client_fnc_seizeObjects; ",1]
  190. ],
  191.  
  192. [
  193. [" isplayer currentcursortarget && myJob == ""Mafia"" && currentcursortarget distance player < 5 && !imrestrained "],
  194. ["Urinar", " [currentcursortarget] spawn client_fnc_pee; ",1]
  195. ],
  196. /*
  197. [
  198. [" myJob == ""Mafia"" "],
  199. ["Empréstimos Abertos", " [player] remoteexec [""server_fnc_MafiaOwed"",2]; ",1]
  200. ],
  201.  
  202. [
  203. [" (isplayer currentcursortarget && vehicle currentcursortarget == currentcursortarget) && myJob == ""Mafia"" && player getvariable ""mafia"" > 5 "],
  204. ["Empréstimo", " [currentcursortarget] spawn client_fnc_giveLoan; ",1]
  205. ],
  206. */
  207. [
  208. [" (vehicle player == player) && (isplayer currentcursortarget && vehicle currentcursortarget == currentcursortarget) && ( myJob == ""Mafia"" || player getvariable ""cop"" == 5 || player getvariable ""cop"" == 10 ) "],
  209. ["Rastrear Ligação ($1000)", " [] spawn client_fnc_tracecall; ",1]
  210. ],
  211.  
  212. [
  213. [" (vehicle player == player) && (isplayer currentcursortarget && currentcursortarget isKindOf ""Man"") && ( myJob == ""Mafia"" || player getvariable ""cop"" == 5 || player getvariable ""cop"" == 10 ) "],
  214. ["Rastrear jogador ($1000)", " ['Rastreando',3,client_fnc_trackplayer,player,'vvv_anim_ticket',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",1]
  215. ],
  216.  
  217. [
  218. [" (vehicle player == player) && (currentcursortarget isKindOf ""Air"" || currentcursortarget isKindOf ""Car"" || currentcursortarget isKindOf ""Boat"") && ( myJob == ""Mafia"" || player getvariable ""cop"" == 5 || player getvariable ""cop"" == 10 ) "],
  219. ["Rastrear carro da Mafia ($1000)", " [] spawn client_fnc_trackvehicle; ",1]
  220. ],
  221.  
  222. [
  223. [" player distance getmarkerpos ""rally_1"" < 80 "],
  224. ["Rally", " [] spawn client_fnc_doRally; ",1]
  225. ],
  226.  
  227. [
  228. [" player distance getmarkerpos ""formula1"" < 40 "],
  229. ["Formula 1", " [player] remoteexec [""server_fnc_raceenter"",2] ",1]
  230. ],
  231.  
  232. [
  233. [" player distance getmarkerpos ""formula1"" < 40 || player distance getmarkerpos ""rally_1"" < 80 "],
  234. ["Volta mais rapida", " createdialog ""racetimes""; ",1]
  235. ],
  236.  
  237. [
  238. [" !client_seatbelt && vehicle player != player "],
  239. ["Colocar Cinto", "client_seatbelt = true;",1]
  240. ],
  241.  
  242. [
  243. [" client_seatbelt && vehicle player != player "],
  244. ["Remover Cinto", "client_seatbelt = false;",1]
  245. ],
  246. // healing
  247.  
  248. [
  249. ["CurrentCursorTarget getVariable[""dead"",FALSE] && (count currentEMS < 2)"],
  250. ["desfribilador", "['Revivendo',125,client_fnc_sendRevive,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask",1]
  251. ],
  252.  
  253.  
  254. [
  255. ["CurrentCursorTarget getVariable[""dead"",FALSE] && (myjob == ""EMS"" || myJob == ""Fire"")"],
  256. ["Reviver Jogador", "['Revivendo',15,client_fnc_sendRevive,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask",1]
  257. ],
  258.  
  259. [
  260. [""],
  261. ["Saude do Jogador", "createdialog ""FindPlayer_Menu"";",1]
  262. ],
  263.  
  264. [
  265. ["bedactive"],
  266. ["Soltar Cama", "[] spawn client_fnc_dropbed;",1]
  267. ],
  268.  
  269. [
  270. [" typeof cursorobject == ""A3L_HospitalBed2015"" && myjob == ""EMS"""],
  271. ["Pegar Cama", "[true] spawn client_fnc_spawnbed;",1]
  272. ],
  273.  
  274. [
  275. [" typeof cursorobject == ""A3L_HospitalBed2015"" && myjob == ""EMS"""],
  276. ["Remover Cama", "deletevehicle currentcursortarget;",1]
  277. ],
  278.  
  279. [
  280. ["myjob ==""EMS"" || myjob == ""Fire"" "],
  281. ["Guardar", "_destroy = nearestObjects [player, [""litter_civ""], 10]; deletevehicle (_destroy select 0); ",2]
  282. ],
  283.  
  284. [
  285. ["myjob ==""EMS"" || myjob == ""Fire"" "],
  286. ["Subir", "[false] spawn client_fnc_raisebasket;",1]
  287. ],
  288.  
  289. [
  290. ["myjob ==""EMS"" || myjob == ""Fire"" "],
  291. ["Descer", "[false] spawn client_fnc_lowerbasket;",1]
  292. ],
  293.  
  294. [
  295. [" typeof cursorobject == ""Land_buildingshospital1"" && myjob == ""EMS"""],
  296. ["Spawnar Cama", "[false] spawn client_fnc_spawnbed;",1]
  297. ],
  298.  
  299. [
  300. [" typeof cursorobject == ""litter_civ"""],
  301. ["Entrar", "player moveInCargo cursorobject;",1]
  302. ],
  303.  
  304.  
  305. [
  306. [" typeof cursorobject == ""Land_buildingshospital1"""],
  307. ["Cura Completa", "[] spawn client_fnc_fullheal;",1]
  308. ],
  309.  
  310. [
  311. [" typeof cursorobject == ""Land_buildingshospital1"""],
  312. ["Mudar Sexo", " if(female) then {female = false; hint ""Você é agora do sexo masculino""; } else {female = true; hint ""Você é agora do sexo feminino""; }; [""NA"",""sex"",0] call client_fnc_sustain;",1]
  313. ],
  314.  
  315. [
  316. [" typeof cursorobject == ""Land_buildingshospital1"""],
  317. ["Rastreamento de pesquisa", "[] spawn client_fnc_disabletrackingme;",1]
  318. ],
  319.  
  320. // vehicles
  321.  
  322. [
  323. [" typeof cursorobject == ""Land_fs_feed_F"" "],
  324. ["Abastecer Veiculo", "[] spawn client_fnc_fillvehicle;",2]
  325. ],
  326.  
  327. [
  328. ["count attachedObjects player > 0 && attachedcar"],
  329. ["Soltar Veiculo", " [] spawn client_fnc_detach; ",2]
  330. ],
  331.  
  332. [
  333. ["currentcursortarget in current_cars || myjob IN [""Cop"",""Fire"",""EMS""] "],
  334. ["Remover jogador", " ['Jogando Jogadores',8,client_fnc_pulloutplayers,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",2]
  335. ],
  336. /*
  337. [
  338. ["(getpos player) distance [1055,3660,0.014] < 30"],
  339. ["Sucateiar Veiculo", "[""who cares"",0,CurrentCursorTarget,player] remoteExec [""Server_fnc_updateCarStatus"",2]; paycheck = paycheck + 500; hint ""Scrapped and Paid""",2]
  340. ],
  341. */
  342. [
  343. ["myjob == ""towtruck"" && (currentcursortarget isKindOf ""Car"" || currentcursortarget isKindOf ""AIR"" || currentcursortarget isKindOf ""BOAT"" || currentcursortarget isKindOf ""SHIP"" || currentcursortarget isKindOf ""TANK"") && (player distance getmarkerpos ""impoundlot"" < 45 || player distance getmarkerpos ""VEHICLE_1"" < 45 || player distance getmarkerpos ""VEHICLE_2"" < 45 || player distance getmarkerpos ""VEHICLE_3"" < 45) && !(cursortarget IN current_cars) "],
  344. ["Apreender Veiculo($300)", "[""who cares"",0,CurrentCursorTarget,player] remoteExec [""Server_fnc_updateCarStatus"",2]; paycheck = paycheck + 500; hint ""Enviado ao Deposito""",2]
  345. ],
  346.  
  347. [
  348. ["myjob IN [""Cop"",""EMS""] && (currentcursortarget isKindOf ""Car"" || currentcursortarget isKindOf ""AIR"" || currentcursortarget isKindOf ""BOAT"" || currentcursortarget isKindOf ""SHIP"" || currentcursortarget isKindOf ""TANK"")"],
  349. ["Apreender Veiculo", "[""who cares"",0,CurrentCursorTarget,player] remoteExec [""Server_fnc_updateCarStatus"",2]; paycheck = paycheck + 500; hint ""Enviado ao Deposito""",2]
  350. ],
  351.  
  352. [
  353. ["(getpos player) distance [1055,3660,0.014] < 20 && player getvariable ""Mafia"" > 0 "],
  354. ["Vender Veiculo", " ['Vendendo Veiculo',60,client_fnc_sellVehicle,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\repair.ogg"",0] spawn client_fnc_dotask ",2]
  355. ],
  356.  
  357. [
  358. ["CurrentCursorTarget isKindOf 'Car' || CurrentCursorTarget isKindOf 'Air' || CurrentCursorTarget isKindOf 'Boat' "],
  359. ["Reparar", "['Reparando',25,client_fnc_repair,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_sndimg\sounds\repair.ogg"",100] spawn client_fnc_dotask",2]
  360. ],
  361.  
  362. [
  363. ["(vehicle player) == player && CurrentCursorTarget in Current_Cars && (cursortarget getVariable[""salecheck"",FALSE]) "],
  364. ["Remover venda", "currentcursortarget setvariable [""sale"",nil,true]; currentcursortarget setvariable [""salecheck"",nil,true];",2]
  365. ],
  366. /*
  367. [
  368. ["(vehicle player) == player && CurrentCursorTarget in Current_Cars && !(cursortarget getVariable[""salecheck"",FALSE]) "],
  369. ["Vender Veiculo", "[] call Client_fnc_AuctionDialog",2]
  370. ],
  371.  
  372. [
  373. ["(vehicle player) == player && (cursortarget getVariable[""salecheck"",FALSE])"],
  374. ["Preço do Veiculo", "[] call Client_fnc_AuctionCheckPrice",2]
  375. ],
  376.  
  377. [
  378. ["(vehicle player) == player && (cursortarget getVariable[""salecheck"",FALSE]) && !(currentcursortarget IN current_cars)"],
  379. ["Comprar Veiculo", "[] call Client_fnc_AuctionPurchaseCar",2]
  380. ],
  381. */
  382. [
  383. ["(vehicle player) == player && CurrentCursorTarget in Current_Cars"],
  384. ["Usar Chave", "[CurrentCursorTarget] call Client_fnc_useKey",2]
  385. ],
  386.  
  387. [
  388. ["(vehicle player) in Current_Cars"],
  389. ["Usar Chave", "[vehicle player] call Client_fnc_useKey",2]
  390. ],
  391.  
  392. [
  393. [" (currentcursortarget isKindOf ""Air"" || currentcursortarget isKindOf ""Car"" || currentcursortarget isKindOf ""Boat"") && currentcursortarget in current_cars "],
  394. ["Erguer Carro", " currentcursortarget setpos (getposatl currentcursortarget) ",2]
  395. ],
  396.  
  397. [
  398. [" (CurrentCursorTarget isKindOf 'Car' || CurrentCursorTarget isKindOf 'Ship') && player distance currentcursortarget < 11 && currentcursortarget in current_cars "],
  399. ["Puxar Veiculo", "[] spawn Client_fnc_pushveh",2]
  400. ],
  401.  
  402. [
  403. ["CurrentCursorTarget in Current_Cars", "myhouse distance getpos player > 50"],
  404. ["Guardar Veiculo", "['Guardando Veiculo ($10)',30, Client_fnc_storeCar,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_sndimg\sounds\repair.ogg"",10] spawn client_fnc_dotask",2]
  405. ],
  406.  
  407. [
  408. ["CurrentCursorTarget in Current_Cars", "myhouse distance getpos player < 50"],
  409. ["Guardar Veiculo", "['Guardando Veiculo',5, Client_fnc_storeCar,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_sndimg\sounds\repair.ogg"",0] spawn client_fnc_dotask",2]
  410. ],
  411. /*
  412. //furniture
  413. [
  414. ["player distance getpos currentcursortarget < 20 && currentcursortarget IN mychairs "],
  415. ["Girar 180", " _dir = getdir currentcursortarget; currentcursortarget setdir (_dir + 180); " ,2]
  416. ],
  417.  
  418. [
  419. [" (player distance myoffice < 25 || (player distance myhouse < 25 && player getVariable ""houselevel"" > 1 )) "],
  420. ["Remover todos os moveis", " [0] spawn client_fnc_spawnfurniture; attachedfurniture = false; ",2]
  421. ],
  422.  
  423.  
  424. [
  425. ["player distance getpos currentcursortarget < 20 && count attachedobjects player == 0 && currentcursortarget IN mychairs "],
  426. ["Remover moveis", " _pia = mychairs FIND currentcursortarget; mychairs DELETEAT _pia; deletevehicle currentcursortarget; ",2]
  427. ],
  428.  
  429. [
  430. ["player distance getpos currentcursortarget < 20 && count attachedobjects player == 0 && currentcursortarget IN mychairs "],
  431. ["Pegar Moveis", " fuckingcouch = currentcursortarget; fuckingcouch attachto [player,[0,1.8,2]]; attachedfurniture = true; ",2]
  432. ],
  433.  
  434. [
  435. ["(player distance myoffice < 25 || (player distance myhouse < 25 && player getVariable ""houselevel"" > 1 )) && attachedfurniture "],
  436. ["Colocar Moveis", " [] spawn client_fnc_spawnfurniture; attachedfurniture = false; ",2]
  437. ],
  438.  
  439. [
  440. ["(player distance myoffice < 25 || (player distance myhouse < 25 && player getVariable ""houselevel"" > 1 )) && player distance getpos currentcursortarget < 20 && !attachedfurniture "],
  441. ["Colocar Moveis", " createdialog ""placefurniture"" ",2]
  442. ],
  443. */
  444. [
  445. [" attachedbarrier "],
  446. ["Colocar Barreiras", " [] spawn client_fnc_placebarrier; ",2]
  447. ],
  448.  
  449. [
  450. ["myjob == ""Cop"" || myjob ==""EMS"" || myjob == ""Fire"" "],
  451. ["Remover Barreiras perto", "_destroy = nearestObjects [player, [""plp_up_BarrierTapePolice8m"",""plp_up_BarrierTapePolice4m"",""plp_up_BarrierTapePolice1m"",""plp_up_woodbarrierlongpolice"",""plp_up_WoodBarrierShortPoliceLightsOn""], 10]; deletevehicle (_destroy select 0); ",2]
  452. ],
  453.  
  454. [
  455. ["CurrentCursorTarget isKindOf 'Man' && myjob == ""Cop"""],
  456. ["Remover Licenças", " ['Revoking',6,client_fnc_revokelicense,CurrentCursorTarget,'vvv_anim_ticket',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask",2]
  457. ],
  458.  
  459. [
  460. [" CurrentCursorTarget isKindOf 'Man'", "myjob == ""Cop"""],
  461. ["Buscar ID", " hint format[""%1"",name currentcursortarget]; ",2]
  462. ],
  463.  
  464. [
  465. [" getpos player distance [5556.2,6291.29,0.00143433] < 350 && CurrentCursorTarget isKindOf 'Man'", "myjob == ""Cop"""],
  466. ["Enviar para a cela", "createdialog ""jailprocess""",2]
  467. ],
  468.  
  469. [
  470. ["!(cursortarget getVariable[""dead"",FALSE]) && CurrentCursorTarget isKindOf 'Man' && (animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'Incapacitated' || (animationstate CurrentCursorTarget) == 'AmovPercMstpSnonWnonDnon_Ease' || (animationstate CurrentCursorTarget) == 'Acts_AidlPsitMstpSsurWnonDnon_loop'"],
  471. ["Revistar", " ['Revistando alvo',8,client_fnc_startpatdown,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",2]
  472. ],
  473.  
  474.  
  475. [
  476. ["(CurrentCursorTarget isKindOf 'Man') && (animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'deadstate' || (animationstate CurrentCursorTarget) == 'Incapacitated' || (animationstate CurrentCursorTarget) == 'AmovPercMstpSnonWnonDnon_Ease' || (animationstate CurrentCursorTarget) == 'Acts_AidlPsitMstpSsurWnonDnon_loop'"],
  477. ["Pegar Dinheiro", " ['Pegando dinheiro',10,client_fnc_takePlayerMoney,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\blindfold.ogg"",0] spawn client_fnc_dotask",2]
  478. ],
  479.  
  480.  
  481. [
  482. ["( !(cursortarget getVariable[""dead"",FALSE]) && CurrentCursorTarget isKindOf 'Man') && ((animationstate CurrentCursorTarget) == 'incapacitated' || (animationstate CurrentCursorTarget) == 'deadstate' || (animationstate CurrentCursorTarget) == 'amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon')"],
  483. ["Algemar", " ['Algemar',3,client_fnc_restrain,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\handcuff.ogg"",0] spawn client_fnc_dotask",2]
  484. ],
  485.  
  486.  
  487. [
  488. [" myJob == ""Cop"" && CurrentCursorTarget isKindOf 'Man' && ((animationstate CurrentCursorTarget) == 'Acts_AidlPsitMstpSsurWnonDnon_loop' || (animationstate CurrentCursorTarget) == 'amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon')"],
  489. ["Desalgemar", " ['Desalgemando',3,client_fnc_unrestrain,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\handcuff.ogg"",0] spawn client_fnc_dotask",2]
  490. ],
  491.  
  492. [
  493. [" myJob != ""Cop"" && CurrentCursorTarget isKindOf 'Man' && ((animationstate CurrentCursorTarget) == 'Acts_AidlPsitMstpSsurWnonDnon_loop' || (animationstate CurrentCursorTarget) == 'amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon')"],
  494. ["Desalgemar", " ['Desalgemando',35,client_fnc_unrestrain,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\handcuff.ogg"",0] spawn client_fnc_dotask",2]
  495. ],
  496.  
  497.  
  498. [
  499. [" CurrentCursorTarget isKindOf 'Man'", "(headgear CurrentCursorTarget) != 'mgsr_headbag', (animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'Incapacitated' || (animationstate CurrentCursorTarget) == 'AmovPercMstpSnonWnonDnon_Ease' || (animationstate CurrentCursorTarget) == 'Acts_AidlPsitMstpSsurWnonDnon_loop'"],
  500. ["vendar os olhos", " ['Vendando o jogador',5,client_fnc_blindfold,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_sndimg\sounds\blindfold.ogg"",0] spawn client_fnc_dotask ",2]
  501. ],
  502.  
  503. [
  504. [" CurrentCursorTarget isKindOf 'Man'", "(headgear CurrentCursorTarget) == 'mgsr_headbag' "],
  505. ["Remover vendas", " ['Removendo vendas dos olhos',5,client_fnc_unblindfold,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_sndimg\sounds\blindfold.ogg"",0] spawn client_fnc_dotask",2]
  506. ],
  507.  
  508. [
  509. [" CurrentCursorTarget isKindOf 'Man'", "(animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'Incapacitated' || (animationstate CurrentCursorTarget) == 'AmovPercMstpSnonWnonDnon_Ease' || (animationstate CurrentCursorTarget) == 'Acts_AidlPsitMstpSsurWnonDnon_loop'"],
  510. ["Jogue no carro", " ['Jogando no carro',10,client_fnc_putincar,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",2]
  511. ],
  512.  
  513. [
  514. [" CurrentCursorTarget isKindOf 'Man'", "(animationstate CurrentCursorTarget) == 'amovpercmstpsnonwnondnon_amovpercmstpssurwnondnon' || (animationstate CurrentCursorTarget) == 'Incapacitated' || (animationstate CurrentCursorTarget) == 'AmovPercMstpSnonWnonDnon_Ease' || (animationstate CurrentCursorTarget) == 'Acts_AidlPsitMstpSsurWnonDnon_loop'"],
  515. ["Escoltar", " ['Starting Escort',5,client_fnc_attach,CurrentCursorTarget,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",2]
  516. ],
  517.  
  518. [
  519. ["count attachedObjects player == 1 && !attachedcar"],
  520. ["Parar escolta", " ['Stopping Escort',5,client_fnc_detach,player,'AinvPknlMstpSnonWnonDnon_medic_1',CurrentCursorTarget,""cg_mission_files\sounds\patdown1.ogg"",0] spawn client_fnc_dotask ",2]
  521. ],
  522.  
  523. [
  524. ["CurrentCursorTarget isKindOf 'Man' && bankrobber == 1"],
  525. ["Dar dinheiro", "[CurrentCursorTarget] call Client_fnc_giveCash",2]
  526. ],
  527.  
  528. [
  529. ["CurrentCursorTarget isKindOf 'Man' && (myjob == ""Mafia"" || myjob == ""Fire"" || myjob == ""Cop"" || myjob == ""EMS"" || myjob == ""Judge"" || myjob == ""Lawyer"")"],
  530. ["Promover Usuario", "[CurrentCursorTarget] spawn client_fnc_promotionStart",2]
  531. ],
  532.  
  533. [
  534. [" myJob == ""Cop"" && CurrentCursorTarget isKindOf 'Man'"],
  535. ["Multar Jogador", " createdialog ""np_ticketpolice""; ",2]
  536. ],
  537.  
  538. [
  539. [" myJob == ""Cop"" && CurrentCursorTarget isKindOf 'Man' && getpos player distance [5556.2,6291.29,0.00143433] < 100"],
  540. ["Enviar para a cela", " createdialog ""jailprocess"";",2]
  541. ],
  542.  
  543.  
  544.  
  545. //shops and offices garages etc
  546. [
  547. ["player distance myshop < 3"],
  548. ["Abrir/Fechar Loja", "[typeof CurrentCursorTarget,player,shop_name] remoteExec [""server_fnc_mudarestadoloja"",2];",3]
  549. ],
  550.  
  551. [
  552. ["player distance myshop < 3"],
  553. ["Inventário da Loja", "hint ""Sua caixa irá sumir automaticamente em 5 minutos - as pessoas não podem usar sua loja enquanto ela está fora!""; [player] remoteExec [""server_fnc_retreiveStore"",2]",3]
  554. ],
  555.  
  556. [
  557. ["player distance myshop < 3"],
  558. ["Preços", "[shopcontent,""start""] call client_fnc_updatePrices;",3]
  559. ],
  560.  
  561. [
  562. ["(typeof CurrentCursorTarget) IN [""Land_buildingCommercial1"",""Land_buildingCommercial2""]"],
  563. ["Abrir Menu", "[typeof CurrentCursorTarget,player] remoteExec [""server_fnc_retreiveStoreShopper"",2]",3]
  564. ],
  565.  
  566. [
  567. ["(typeof currentcursortarget == ""Land_buildingApartments2A"" && player distance getpos currentcursortarget < 20 && (player getvariable ""legal"") > 0 && player distance [8186.91,2862.51,0.00143814] < 100)"],
  568. ["Alugar Loja ($250)", " createdialog ""rentshop""",3]
  569. ],
  570.  
  571.  
  572. [
  573. ["(typeof currentcursortarget == ""Land_buildingApartments2A"" && player distance getpos currentcursortarget < 20 && player distance [8186.91,2862.51,0.00143814] > 200)"],
  574. ["Alugar Loja ($250)", " createdialog ""rentshop""",3]
  575. ],
  576.  
  577.  
  578. [
  579. ["typeof CurrentCursorTarget == ""Land_buildingBarbers1"""],
  580. ["Barbearia Menu", "closedialog 0; createdialog ""HairDresser_Menu""; [""Glasses""] spawn client_fnc_loadStore;",3]
  581. ],
  582.  
  583. [
  584. ["typeof CurrentCursorTarget IN [""Land_ModernShowroom""]"],
  585. ["Abrir Loja de Carros", "createdialog ""buycar"";",3]
  586. ],
  587.  
  588. [
  589. ["player distance myhouse < 10"],
  590. ["Luzes da Casa", "[] spawn client_fnc_houselight",3]
  591. ],
  592.  
  593. [
  594. ["player distance myhouse < 10 || typeof CurrentCursorTarget IN [""Land_PostB""]"],
  595. ["Checar correspondencia", "[] spawn client_fnc_openMail",3]
  596. ],
  597.  
  598. [
  599. ["str CurrentCursorTarget find ""mailboxnorth"" > -1"],
  600. ["Centro da Fedex", "createdialog ""client_findMail""",3]
  601. ],
  602.  
  603. [
  604. ["str CurrentCursorTarget find ""embarcadero"" > -1"],
  605. ["Loja de Barcos", "createdialog ""buycar"";",3]
  606. ],
  607.  
  608. [
  609. ["currentcursortarget == fishTrader"],
  610. ["Compra de Peixes raros", "closedialog 0; createdialog ""RareFish_Menu""; [""rarefish""] spawn client_fnc_LoadStore;",3]
  611. ],
  612.  
  613. [
  614. ["currentcursortarget == fishTrader"],
  615. ["Troca de peles", "closedialog 0; [] spawn client_fnc_rarePelt;",3]
  616. ],
  617.  
  618. [
  619. ["typeof CurrentCursorTarget IN [""Land_Coffee_DED_Coffee_02_F"",""Land_Coffee_DED_Coffee_01_F""] && !(CurrentCursorTarget getVariable[""robbing"",FALSE]) "],
  620. ["Roubar Loja", "closedialog 0; [] spawn client_fnc_robberyStore;",3]
  621. ],
  622.  
  623. [
  624. ["typeof CurrentCursorTarget IN [""Land_Coffee_DED_Coffee_02_F"",""Land_Coffee_DED_Coffee_01_F""]"],
  625. ["Loja de Roupas", "closedialog 0; createdialog ""Clothing_Menu""; [""clothing""] spawn client_fnc_LoadStore;",3]
  626. ],
  627.  
  628. [
  629. ["typeof CurrentCursorTarget == ""Land_buildingGunStore1"""],
  630. ["Loja de Armas", "closedialog 0; createdialog ""gun_menu""; [""gunstore""] spawn client_fnc_LoadStore;",3]
  631. ],
  632.  
  633. [
  634. ["typeof CurrentCursorTarget == ""land_cg_dunkinbronuts"""],
  635. ["Donut Menu", "closedialog 0; createdialog ""food_menu""; [""donuts""] spawn client_fnc_LoadStore;",3]
  636. ],
  637.  
  638. [
  639. ["typeof CurrentCursorTarget == ""land_cg_dexters"""],
  640. ["Pizza Menu", "closedialog 0; createdialog ""food_menu""; [""pizza""] spawn client_fnc_LoadStore;",3]
  641. ],
  642.  
  643. [
  644. ["typeof CurrentCursorTarget == ""Land_Market_DED_Market_01_F"""],
  645. ["Mac Happy Panda", "closedialog 0; createdialog ""food_menu""; [""mcdonalds""] spawn client_fnc_LoadStore;",3]
  646. ],
  647.  
  648. [
  649. ["str penis find ""carrito"" > -1 || str penis find ""modelos6ki"" > -1"],
  650. ["Fast Food Menu", "closedialog 0; createdialog ""food_menu""; [""hotdogs""] spawn client_fnc_LoadStore;",3]
  651. ],
  652.  
  653. [
  654. ["typeof CurrentCursorTarget == ""Land_buildingBar1"""],
  655. ["Bar Menu", "closedialog 0; createdialog ""food_menu""; [""bar""] spawn client_fnc_LoadStore;",3]
  656. ],
  657.  
  658. [
  659. ["typeof CurrentCursorTarget IN [""Land_Coffee_DED_Coffee_02_F"",""Land_fs_roof_F"",""Land_Coffee_DED_Coffee_01_F"",""Land_Shop_DED_Shop_01_F"",""Land_Shop_DED_Shop_02_F""]"],
  660. ["Loja Geral", "closedialog 0; createdialog ""GeneralStore_Menu""; [""general""] spawn client_fnc_LoadStore;",3]
  661. ],
  662.  
  663.  
  664. [
  665. ["str CurrentCursorTarget find ""tallerdepinturaabandonado"" > -1 || typeof CurrentCursorTarget IN [""Land_ModernShowroom""]"],
  666. ["Apreensão de carros", "[CurrentCursorTarget] call Client_fnc_openCarYard",3]
  667. ],
  668.  
  669. [
  670. ["str CurrentCursorTarget find ""otros"" > -1 || str CurrentCursorTarget find ""garaje"" > -1 || str CurrentCursorTarget find ""tallerdepinturaabandonado"" > -1 || typeof CurrentCursorTarget IN [""Land_ModernShowroom""]"],
  671. ["Pintar / Tinta", "createdialog ""upgradecar"" ",3]
  672. ],
  673.  
  674.  
  675. [
  676. ["str CurrentCursorTarget find ""otros"" > -1 || str CurrentCursorTarget find ""garaje"" > -1 || str CurrentCursorTarget find ""tallerdepinturaabandonado"" > -1 || typeof CurrentCursorTarget IN [""Land_ModernShowroom""]"],
  677. ["Melhorar Veiculo", "[] spawn client_fnc_carupdate;",3]
  678. ],
  679.  
  680. [
  681. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") || (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingsfiredept1"") || (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") || myJob == ""Mafia"" && player distance myhouse < 40 "],
  682. ["Abrir garagem do emprego", "[] spawn client_fnc_opengaragepolice;",3]
  683. ],
  684.  
  685.  
  686.  
  687. [
  688. ["count attachedObjects player == 0 && !attachedcar, player distance myhouse < 30 || str CurrentCursorTarget find ""otros"" > -1 || str CurrentCursorTarget find ""garaje"" > -1 || str CurrentCursorTarget find ""tallerdepinturaabandonado"" > -1 || typeof CurrentCursorTarget IN [""Land_ModernShowroom""]"],
  689. ["Abrir Garagem", "[CurrentCursorTarget] call Client_fnc_openGarage",3]
  690. ],
  691.  
  692. [
  693. ["( myJob == ""Mafia"" || myJob == ""Cop"" || myjob == ""EMS"" ) && (str CurrentCursorTarget find ""otros"" > -1 || str CurrentCursorTarget find ""garaje"" > -1 || str CurrentCursorTarget find ""tallerdepinturaabandonado"" > -1 || typeof CurrentCursorTarget IN [""Land_ModernShowroom""] ) "],
  694. ["Abrir garagem do emprego", "[] spawn client_fnc_opengaragepolice;",3]
  695. ],
  696.  
  697. [
  698. ["count attachedObjects player == 0 && !attachedcar, str CurrentCursorTarget find ""embarcadero"" > -1 && player distance currentcursortarget < 20"],
  699. ["Abrir Garagem", "[CurrentCursorTarget] call Client_fnc_openGarage",3]
  700. ],
  701.  
  702. /*
  703. [
  704. ["((player distance (getMarkerPos ""houseUpgrades"")) < 30) && !isNull houseinvitation "],
  705. ["Aceitar compartilhamento de Casa", "[] spawn client_fnc_AcceptShareHouse",3]
  706. ],
  707.  
  708. [
  709. ["((player distance (getMarkerPos ""houseUpgrades"")) < 30) "],
  710. ["Resetar compartilhamento da casa", "_myguid = getplayeruid player; _theirguid = ""0""; _myarray = [_myguid,_theirguid]; _myarray spawn client_fnc_sharehousefinish;",3]
  711. ],
  712.  
  713. [
  714. ["player getVariable ""houselevel"" == 3 && currentcursortarget isKindOf ""Man"" && ((player distance (getMarkerPos ""houseUpgrades"")) < 30)"],
  715. ["Compartilhar Casa", "[player,getplayerUID player] remoteexec [""client_fnc_ShareHouse"", currentcursortarget]",3]
  716. ],
  717.  
  718. [
  719. ["((player distance (getMarkerPos ""houseUpgrades"")) < 30) && player getvariable ""houselevel"" < 3"],
  720. ["Melhorar Casa (225k)", "[] spawn client_fnc_UpgradeHouse",3]
  721. ],
  722. */
  723.  
  724. [
  725. ["typeof currentcursortarget == ""Land_Market_DED_Market_03_F"""],
  726. ["Novo telefone", "closedialog 0; [] call client_fnc_checkPhone; trackedby = [];",3]
  727. ],
  728.  
  729. [
  730. ["typeof currentcursortarget == ""Land_Market_DED_Market_03_F"""],
  731. ["Recarregar Bateria do cell", "closedialog 0; [""add"",""battery"",200] call client_fnc_sustain;",3]
  732. ],
  733.  
  734.  
  735. // jobs / situational
  736.  
  737. [
  738. [" myjob == ""Cop"" && (( typeof cursorobject == ""Land_PoliceStation"") || ( vehicle player != player )) "],
  739. ["Procurados", "createdialog ""wanted"";",4]
  740. ],
  741.  
  742. [
  743. ["(typeof CurrentCursorTarget IN [""Land_Centrelink"",""Land_CommonwealthBank"",""Land_Bank_DED_House_01_F""] || str CurrentCursorTarget find ""mcl_atm"" > -1) && myJob == ""Mafia"" && (player getVariable ""Mafia"") > 4 && bankrobber == 1"],
  744. ["Banco da Mafia", "[] call Client_fnc_openMafiaATM",4]
  745. ],
  746.  
  747. [
  748. ["(typeof CurrentCursorTarget IN [""Land_Centrelink"",""Land_CommonwealthBank"",""Land_Bank_DED_House_01_F""] || str CurrentCursorTarget find ""mcl_atm"" > -1) && bankrobber == 1"],
  749. ["ATM", "[] call Client_fnc_openATM",4]
  750. ],
  751.  
  752. [
  753. ["player distance myhouse < 10 || (myjob == ""Mafia"" && typeof currentcursortarget == ""Land_buildingsbasement1"")"],
  754. ["guarda roupa da casa", "hint ""Sua caixa irá sumir em 60 segundos!""; [player] remoteExec [""server_fnc_retreivehouse"",2]",4]
  755. ],
  756.  
  757. [
  758. ["typeof currentcursortarget == ""Land_buildingscourthouse1"" && (myjob == ""Cop"" || myjob == ""Judge"")"],
  759. ["Chamar Juiz", " [] spawn client_fnc_startJury; ",4]
  760. ],
  761.  
  762. [
  763. ["(str CurrentCursorTarget find ""gymbench"" > -1 || str CurrentCursorTarget find ""gymrack"" > -1)"],
  764. ["Malhar", "[""Malhando"",60,client_fnc_workout,player,'AmovPercMstpSnonWnonDnon_exercisePushup',player,0] spawn client_fnc_dotask; ",4]
  765. ],
  766. /*
  767. [
  768. ["Mayor && player distance myhouse < 25"],
  769. ["Prefeito", "[150] call Client_fnc_removebank; player forceAddUniform ""vvv_traje_ejecutivo_1"";",4]
  770. ],
  771.  
  772. [
  773. ["Mayor && player distance myhouse < 25"],
  774. ["Setar impostos", "createdialog ""tax_menu"";",4]
  775. ],
  776.  
  777. [
  778. ["Mayor && count attachedObjects player == 0 && !attachedcar && (player distance myhouse < 30 || str CurrentCursorTarget find ""otros"" > -1 || str CurrentCursorTarget find ""garaje"" > -1 || str CurrentCursorTarget find ""tallerdepinturaabandonado"" > -1 || typeof CurrentCursorTarget IN [""Land_ModernShowroom""])"],
  779. ["Garagem Presidencial", "[CurrentCursorTarget] call Client_fnc_openGaragepolice",3]
  780. ],
  781. */
  782. [
  783. ["clientarrested"],
  784. ["Olhar tempo", "_time = secondsLeft / 60; hint format[""%1"",_time];",4]
  785. ],
  786.  
  787. [
  788. [" (isplayer currentcursortarget && currentcursortarget isKindOf ""Man"") && myjob == ""Cop"" && player getvariable ""cop"" > 4"],
  789. ["Invadir Shop", " [player] remoteexec [""client_fnc_raidshop"",currentcursortarget]; ",4]
  790. ],
  791.  
  792.  
  793. [
  794. [" (isplayer currentcursortarget && currentcursortarget isKindOf ""Man"") && myjob == ""Cop"" && player getvariable ""cop"" > 4"],
  795. ["Invadir casa", " [player,true] remoteexec [""client_fnc_raidhouse"",currentcursortarget]; ",4]
  796. ],
  797.  
  798. [
  799. [" (isplayer currentcursortarget && currentcursortarget isKindOf ""Man"") && myjob == ""Cop"" && player getvariable ""cop"" > 8"],
  800. ["Aprrendet toda propriedade", " [player] remoteexec [""client_fnc_seizeproperty"",currentcursortarget]; ",4]
  801. ],
  802.  
  803. [
  804. [""],
  805. ["Abrir Carteira", "createdialog ""wallet_Menu""",4]
  806. ],
  807.  
  808. [
  809. ["count (player call TFAR_fnc_radiosList) > 0"],
  810. ["Abrir Telefone", "createdialog ""phoneHUD""",4]
  811. ],
  812.  
  813. [
  814. ["str CurrentCursorTarget find ""cabinatelefonica"" > -1 && !callInProgress && !PhonesRinging && !TryingCall"],
  815. ["Chamada Anonima", "[] spawn client_fnc_callMenuPP; ",4]
  816. ],
  817.  
  818.  
  819. [
  820. ["!busyPlayer && !imrestrained && !clientarrested && player distance myhouse < 30"],
  821. ["Craft Menu", "createdialog ""client_Craft_Menu""",4]
  822. ],
  823.  
  824. [
  825. [" myjob == ""Cop"" && !dispatch && (player getvariable ""cop"") > 0 "],
  826. ["Chamada da Polícia", "[player,""Police Dispatch""] spawn client_fnc_jobstart;",4]
  827. ],
  828.  
  829. [
  830. ["myjob == ""EMS"" && !dispatch && (player getvariable ""ems"") > 0 "],
  831. ["Chamada da EMS", "[player,""Medic Dispatch""] spawn client_fnc_jobstart;",4]
  832. ],
  833.  
  834. [
  835. ["dispatch"],
  836. ["Cancelar Chamada", "Dispatch = false",4]
  837. ],
  838. /*
  839.  
  840. [
  841. ["myjob == ""EMS"" && typeof cursorobject == ""Land_buildingsfiredept1"""],
  842. ["", "[] call client_fnc_jobEnd",4]
  843. ],
  844.  
  845. [
  846. [" myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"""],
  847. ["", "[] call client_fnc_jobEnd",4]
  848. ],
  849.  
  850. [
  851. ["myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"""],
  852. ["", "[] call client_fnc_jobEnd",4]
  853. ],
  854. */
  855. [
  856. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && ((player getvariable ""cop"") == 5 || (player getvariable ""cop"") == 10) "],
  857. ["UAV backpack", " player addbackpack ""B_UAV_01_backpack_F""; player additem ""B_UavTerminal""; ",4]
  858. ],
  859.  
  860.  
  861. [
  862. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") || (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingsfiredept1"") || (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") || myJob == ""Mafia"" && player distance myhouse < 20 "],
  863. ["Equipamentos Basicos", "[""basic""] spawn client_fnc_setGear",4]
  864. ],
  865.  
  866. [
  867. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 3 "],
  868. ["Scuba Gear", "[""water""] spawn client_fnc_setGear",4]
  869. ],
  870.  
  871. [
  872. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 0 "],
  873. ["Recruit", "[""patrulha1""] spawn client_fnc_setGear",4]
  874. ],
  875.  
  876. [
  877. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 1 "],
  878. ["Junior Deputy", "[""patrulha2""] spawn client_fnc_setGear",4]
  879. ],
  880.  
  881. [
  882. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 2 "],
  883. ["Deputy", "[""patrulha3""] spawn client_fnc_setGear",4]
  884. ],
  885.  
  886. [
  887. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 3 "],
  888. ["Senior Deputy", "[""patrulha4""] spawn client_fnc_setGear",4]
  889. ],
  890.  
  891. [
  892. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 4 "],
  893. ["Corporal", "[""patrulha5""] spawn client_fnc_setGear",4]
  894. ],
  895.  
  896. [
  897. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 5 "],
  898. ["Sergeant", "[""patrulha6""] spawn client_fnc_setGear",4]
  899. ],
  900.  
  901. [
  902. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 6 "],
  903. ["Lieutenant", "[""patrulha7""] spawn client_fnc_setGear",4]
  904. ],
  905.  
  906. [
  907. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 7 "],
  908. ["Captain", "[""patrulha8""] spawn client_fnc_setGear",4]
  909. ],
  910.  
  911. [
  912. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 8 "],
  913. ["Undersheriff ", "[""patrulha9""] spawn client_fnc_setGear",4]
  914. ],
  915.  
  916. [
  917. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 9 "],
  918. ["Sheriff", "[""patrulha9""] spawn client_fnc_setGear",4]
  919. ],
  920.  
  921. [
  922. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 3 "],
  923. ["Highway patrol", "[""highway""] spawn client_fnc_setGear",4]
  924. ],
  925.  
  926.  
  927. [
  928. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 7 "],
  929. ["SWAT", "[""swat""] spawn client_fnc_setGear",4]
  930. ],
  931.  
  932. [
  933. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 0 "],
  934. ["Enfermeiro", "[""medic1""] spawn client_fnc_setGear",4]
  935. ],
  936.  
  937. [
  938. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 1 "],
  939. ["Paramedico", "[""medic2""] spawn client_fnc_setGear",4]
  940. ],
  941.  
  942. [
  943. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 2 "],
  944. ["Medico", "[""medic3""] spawn client_fnc_setGear",4]
  945. ],
  946.  
  947. [
  948. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 3 "],
  949. ["Cirurgiao", "[""medic4""] spawn client_fnc_setGear",4]
  950. ],
  951.  
  952. [
  953. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 4 "],
  954. ["Mergulhador", "[""medic5""] spawn client_fnc_setGear",4]
  955. ],
  956.  
  957. [
  958. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 5 "],
  959. ["Piloto", "[""medic6""] spawn client_fnc_setGear",4]
  960. ],
  961.  
  962. [
  963. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 6 "],
  964. ["Ems Trainer", "[""medic7""] spawn client_fnc_setGear",4]
  965. ],
  966.  
  967. [
  968. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 7 "],
  969. ["Sub Comandante", "[""medic8""] spawn client_fnc_setGear",4]
  970. ],
  971.  
  972. [
  973. [" (myjob == ""EMS"" && typeof cursorobject == ""Land_buildingshospital1"") && player getvariable ""ems"" > 8 "],
  974. ["Comandante", "[""medic9""] spawn client_fnc_setGear",4]
  975. ],
  976.  
  977. [
  978. [" (myjob == ""Cop"" && typeof cursorobject == ""Land_PoliceStation"") && player getvariable ""cop"" > 7 "],
  979. ["Riot Gear", "[""riot""] spawn client_fnc_setGear",4]
  980. ],
  981. /*
  982. [
  983. [" myjob == ""none"" && (player getvariable ""cop"") > 0 && typeof cursorobject == ""Land_PoliceStation"""],
  984. ["Já tem muitos no Trabalho!", "",4]
  985. ],
  986. */
  987. [
  988. [" myjob == ""none"" && (player getvariable ""cop"") > 0 && typeof cursorobject == ""Land_PoliceStation"""],
  989. ["Trabalhar Policia", "[player,""Cop""] spawn client_fnc_jobstart; ",4]
  990. ],
  991.  
  992. [
  993. [" myjob == ""none"" && (player getvariable ""EMS"") > 0 && typeof cursorobject == ""Land_buildingsfiredept1"""],
  994. ["Trabalhar Bombeiros", "[player,""EMS""] spawn client_fnc_jobstart;",4]
  995. ],
  996.  
  997. [
  998. [" myjob == ""none"" && (player getvariable ""ems"") > 0 && typeof cursorobject == ""Land_buildingshospital1"""],
  999. ["Trabalhar Ems", "[player,""EMS""] spawn client_fnc_jobstart;",4]
  1000. ],
  1001.  
  1002. [
  1003. ["myjob == ""none"" && (player getvariable ""legal"") > 0"],
  1004. ["Trabalhar Advogado", "[player,""Lawyer""] spawn client_fnc_jobstart;",4]
  1005. ],
  1006.  
  1007. [
  1008. ["myjob == ""Lawyer"""],
  1009. ["Sair dos advogados", "[] call client_fnc_jobEnd",4]
  1010. ],
  1011. /*
  1012. [
  1013. ["myjob == ""none"" && (player getvariable ""mafia"") > 0 && player distance myhouse < 30"],
  1014. ["Trabalhar Mafia", "[player,""Mafia""] spawn client_fnc_jobstart;",4]
  1015. ],
  1016.  
  1017. [
  1018. ["myjob == ""Mafia"""],
  1019. ["Sair da Mafia", "[] call client_fnc_jobEnd",4]
  1020. ],
  1021. */
  1022. [
  1023. ["(str CurrentCursorTarget find ""modelos6estateriademedicamentos"" > -1 || str CurrentCursorTarget find ""modelos6mesadeoperaciones"" > -1 || str CurrentCursorTarget find ""modelos6papeleradehospital"" > -1 || str CurrentCursorTarget find ""m6estanterialargahospital"" > -1) && player distance getmarkerpos ""drugprocess"" < 100 "],
  1024. ["Processar tijolos de Drogas", "closedialog 0; [] spawn client_fnc_processBricks",4]
  1025. ],
  1026.  
  1027. [
  1028. ["((player distance (getMarkerPos ""sales"")) < 30)"],
  1029. ["Vender Minerios /Madeiras", "closedialog 0; [] spawn client_fnc_sellOre",4]
  1030. ],
  1031.  
  1032. [
  1033. ["((player distance (getMarkerPos ""peltCuring"")) < 30)"],
  1034. ["Cure Pelts", "closedialog 0; [] spawn client_fnc_refinePelts",4]
  1035. ],
  1036.  
  1037. [
  1038. ["((player distance (getMarkerPos ""fishRefinery"")) < 70) || typeof (vehicle player) IN [""vvv_NewYacht"",""POP_Speed_yatch""] "],
  1039. ["Refinar peixe", "closedialog 0; [] spawn client_fnc_refineFish",4]
  1040. ],
  1041.  
  1042. [
  1043. ["((player distance (getMarkerPos ""logRefinery"")) < 30)"],
  1044. ["Refinar Madeira", "closedialog 0; [] spawn client_fnc_refineLogs",4]
  1045. ],
  1046.  
  1047. [
  1048. ["((player distance (getMarkerPos ""oilRefinery"")) < 30)"],
  1049. ["Refinar Oleo", "closedialog 0; [] spawn client_fnc_refineoil;",4]
  1050. ],
  1051.  
  1052. [
  1053. ["((player distance (getMarkerPos ""OreRefinery"")) < 30)"],
  1054. ["Refinar Minerio", "closedialog 0; [] spawn client_fnc_refinemetal1;",4]
  1055. ],
  1056.  
  1057. [
  1058. ["ClientArrested && player distance [5616.14,6313.37,0.00143433] < 8"],
  1059. ["Craft Hacking Tool", "[""Construindo Hacking Tool"",20,client_fnc_crafthackingdevice,player,'AinvPknlMstpSnonWnonDnon_medic_1',player,0] spawn client_fnc_dotask; ",4]
  1060. ],
  1061.  
  1062. [
  1063. ["ClientArrested && (str CurrentCursorTarget find ""gymbench"" > -1 || str CurrentCursorTarget find ""gymrack""> -1 ) && getpos player distance [5644.19,6329.73,0.00143433] < 55"],
  1064. ["Craft Lockpick", "[""Construindo Lockpick"",60,client_fnc_craftlockpick,player,'AmovPercMstpSnonWnonDnon_exercisePushup',player,0] spawn client_fnc_dotask; ",4]
  1065. ],
  1066.  
  1067. [
  1068. ["typeof CurrentCursorTarget == ""Rabbit_F"" && getdammage cursorobject == 1"],
  1069. ["Skin Rabbit", "deletevehicle CurrentCursorTarget; player additem ""np_upelt""; hint ""You skinned the rabbit for its pelt!""",4]
  1070. ],
  1071.  
  1072. [
  1073. ["((player distance (getMarkerPos ""fishSales"")) < 20)"],
  1074. ["Vender peixes", "closedialog 0; [] spawn client_fnc_sellFish",4]
  1075. ],
  1076.  
  1077. [
  1078. ["str CurrentCursorTarget find ""plp_cts_contshippinggreen"" > -1 && getpos player distance getpos currentcursortarget < 4"],
  1079. ["Procurar na Caixa", "[""Objeto sendo Reparado"",7,client_fnc_searchcrates,player,'AinvPknlMstpSnonWnonDnon_medic_1',player,""cg_sndimg\sounds\repair.ogg""] spawn client_fnc_dotask; ",4]
  1080. ],
  1081.  
  1082. [
  1083. ["myjob != ""none"" && (typeof CurrentCursorTarget IN [""Land_Centrelink""] || player distance myhouse < 20)"],
  1084. ["Sair do emprego", "[] spawn client_fnc_jobEnd;",4]
  1085. ],
  1086.  
  1087. [
  1088. ["myjob != ""none"" && typeof CurrentCursorTarget IN [""Land_Centrelink""]"],
  1089. ["Spawnar veiculo", "[] spawn client_fnc_spawnjobvehicle",4]
  1090. ],
  1091.  
  1092. [
  1093. ["typeof CurrentCursorTarget == ""Land_Centrelink"""],
  1094. ["Buscar emprego", "[player] spawn client_fnc_startjob",4]
  1095. ],
  1096.  
  1097. [
  1098. ["myjob == ""Repairman"""],
  1099. ["Reparar Objeto", "[""Objeto sendo Reparado"",15,client_fnc_repairNear,player,'AinvPknlMstpSnonWnonDnon_medic_1',player,""cg_sndimg\sounds\repair.ogg""] spawn client_fnc_dotask; ",4]
  1100. ],
  1101.  
  1102. [
  1103. ["getplayerUID player IN [""76561198135623968"",""76561198107354209"",""76561198153908503""]"],
  1104. ["Painel Admin", "closedialog 0; createdialog ""koiladmin""; ",4]
  1105. ]
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112. ];
  1113.  
  1114. player setVariable["loaded", 2, false];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement