Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. /*
  2. By KevinRoldan
  3. /////////////////////////////////////
  4. ["recojer"] call roldan_fnc_armas;
  5. ["entregar"] call roldan_fnc_armas;
  6. /////////////////////////////////////
  7. */
  8.  
  9. _param = _this select 0;
  10.  
  11. if (side player == WEST) exitWith {hint "No eres civil!"};
  12. if (side player == INDEPENDENT) exitWith {hint "No eres civil!"};
  13.  
  14. if (_param isEqualTo "recojer") exitWith {
  15. //if (("ile" call ica_fnc_expToLevel) < 2) exitWith {hint "No sabes trabajar, ve a estudiar vago"};
  16. if (({side _x == WEST} count playableUnits < 2) AND !(call ica_fnc_editando)) exitWith {hint "Tienen que estar al menos 2 policias conectados, sino, no es divertido."};
  17. if (vehicle player != player) exitWith {hint "¿Pretendes que te atienda desde el vehículo? ¿Por la ventanilla? Venga va, no me seas vago..." };
  18.  
  19. if (llevo_armas) exitWith {hint "Ya tienes un pedido"};//variable dar 1 vez
  20. if (pop_din < 120000) exitwith {hint "No tienes suficiente dinero"};
  21. pop_din = pop_din - 120000;
  22. [format ["- 120000"]] call ica_fnc_infolog;
  23. llevo_armas = true;
  24.  
  25. 0 spawn {
  26. _minutos = 20;
  27. _segundos = 59;
  28. _txt = "Destino: Entrega La Empresa\nPedido: Armas\nTiempo Restante: %1:%2";
  29.  
  30. while {true} do {
  31. if ((_minutos == 0) AND (_segundos == 0)) exitWith {
  32. hint "No has llegado al destino"; llevo_armas = false;
  33. };
  34.  
  35. if ((_minutos == 0) AND (_segundos == 3)) then {
  36. _txt = _txt + "\n!No Llegas!";
  37. };
  38.  
  39. if (!llevo_armas) exitWith {
  40. hint ""; llevo_armas = false;
  41. };
  42.  
  43. if (_segundos == 0) then {
  44. _minutos = _minutos - 1;
  45. _segundos = 59;
  46. };
  47.  
  48. hint format [_txt, _minutos, _segundos];
  49. _segundos = _segundos - 1;
  50. sleep 1;
  51. };
  52. };
  53.  
  54. _caja = "Land_Box_AmmoOld_F" createVehicle position player;
  55. _caja addItemCargo ["RH_g19", 2];
  56.  
  57. any=[
  58. [
  59. ["LA EMPRESA - ARMAS ROLDAN","<t align = 'center' size = '0.7'>%1</t><br/>"],
  60. ["Bienvenido, Llevale este material al traficante de San Cristobal","<t align = 'center' size = '0.7'>%1</t><br/>"]
  61. ]
  62. ] spawn BIS_fnc_typeText;
  63. };
  64.  
  65. if (_param isEqualTo "entregar") exitWith {
  66. if (vehicle player != player) exitWith {hint "¿Pretendes que te atienda desde el vehículo? ¿Por la ventanilla? Venga va, no me seas vago..." };
  67. if (!llevo_armas) exitWith {hint "Ya no te quedan armas pillin A KR no le mientes!"};
  68. if !((["RH_g19"] call ica_fnc_tengo) >= 2) exitWith {hint "Faltan Armas tt!"};
  69.  
  70. pop_din = pop_din + 200000;
  71. [format ["+ 200000"]] call ica_fnc_infolog;
  72. llevo_armas = false;
  73. [10] call ica_fnc_ganoExp;
  74.  
  75. player removeItem "RH_g19";
  76. player removeItem "RH_g19";
  77.  
  78. any=[
  79. [
  80. ["LA EMPRESA - ARMAS ROLDAN","<t align = 'center' size = '0.7'>%1</t><br/>"],
  81. ["Bienvenido, gracias por el material, espero volverte a ver aqui","<t align = 'center' size = '0.7'>%1</t><br/>"]
  82. ]
  83. ] spawn BIS_fnc_typeText;
  84. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement