Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- By KevinRoldan
- /////////////////////////////////////
- ["recojer"] call roldan_fnc_armas;
- ["entregar"] call roldan_fnc_armas;
- /////////////////////////////////////
- */
- _param = _this select 0;
- if (side player == WEST) exitWith {hint "No eres civil!"};
- if (side player == INDEPENDENT) exitWith {hint "No eres civil!"};
- if (_param isEqualTo "recojer") exitWith {
- //if (("ile" call ica_fnc_expToLevel) < 2) exitWith {hint "No sabes trabajar, ve a estudiar vago"};
- 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."};
- if (vehicle player != player) exitWith {hint "¿Pretendes que te atienda desde el vehículo? ¿Por la ventanilla? Venga va, no me seas vago..." };
- if (llevo_armas) exitWith {hint "Ya tienes un pedido"};//variable dar 1 vez
- if (pop_din < 120000) exitwith {hint "No tienes suficiente dinero"};
- pop_din = pop_din - 120000;
- [format ["- 120000"]] call ica_fnc_infolog;
- llevo_armas = true;
- 0 spawn {
- _minutos = 20;
- _segundos = 59;
- _txt = "Destino: Entrega La Empresa\nPedido: Armas\nTiempo Restante: %1:%2";
- while {true} do {
- if ((_minutos == 0) AND (_segundos == 0)) exitWith {
- hint "No has llegado al destino"; llevo_armas = false;
- };
- if ((_minutos == 0) AND (_segundos == 3)) then {
- _txt = _txt + "\n!No Llegas!";
- };
- if (!llevo_armas) exitWith {
- hint ""; llevo_armas = false;
- };
- if (_segundos == 0) then {
- _minutos = _minutos - 1;
- _segundos = 59;
- };
- hint format [_txt, _minutos, _segundos];
- _segundos = _segundos - 1;
- sleep 1;
- };
- };
- _caja = "Land_Box_AmmoOld_F" createVehicle position player;
- _caja addItemCargo ["RH_g19", 2];
- any=[
- [
- ["LA EMPRESA - ARMAS ROLDAN","<t align = 'center' size = '0.7'>%1</t><br/>"],
- ["Bienvenido, Llevale este material al traficante de San Cristobal","<t align = 'center' size = '0.7'>%1</t><br/>"]
- ]
- ] spawn BIS_fnc_typeText;
- };
- if (_param isEqualTo "entregar") exitWith {
- if (vehicle player != player) exitWith {hint "¿Pretendes que te atienda desde el vehículo? ¿Por la ventanilla? Venga va, no me seas vago..." };
- if (!llevo_armas) exitWith {hint "Ya no te quedan armas pillin A KR no le mientes!"};
- if !((["RH_g19"] call ica_fnc_tengo) >= 2) exitWith {hint "Faltan Armas tt!"};
- pop_din = pop_din + 200000;
- [format ["+ 200000"]] call ica_fnc_infolog;
- llevo_armas = false;
- [10] call ica_fnc_ganoExp;
- player removeItem "RH_g19";
- player removeItem "RH_g19";
- any=[
- [
- ["LA EMPRESA - ARMAS ROLDAN","<t align = 'center' size = '0.7'>%1</t><br/>"],
- ["Bienvenido, gracias por el material, espero volverte a ver aqui","<t align = 'center' size = '0.7'>%1</t><br/>"]
- ]
- ] spawn BIS_fnc_typeText;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement