Jump to content

Virus Cure


juandayz

Recommended Posts

i want to share it... make it sometime ago.. but never was tested (so really dont know if works or not)....(VERY SORY FOR POST SOMETHING THAT WAS NOT TESTED-but i dont want loose it :) )

its about a trader who offer the cure to the Z virus.... you can get sick and suffer an epilepsy attack,lose blood,lost humanity..get sick and get in pain or get a reward,and humanity if works.

The install process its the same as "alchemy lab".

INSTALL:
 

virus.sqf ( put into MPMISSIONS/YOURINSTANCE/CUSTOM/ ).

  Reveal hidden contents

2-Now open your server_traders_cherno_11.sqf ( for coins users )  or server_traders.sqf ( for goldbars users)  and choose one of the traders IDs.

The trader you pick will have the option to execute the alchemy lab

in this example i will choose RU_Functionary1

3-In your CUSTOM fn_selfactions.sqf:

find:

if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {

above paste:

if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "RU_Functionary1")) then {
	if (s_player_virus < 0) then {
	s_player_virus = player addAction ["<t color='#ff5200'>Try Virus Cure</t>", "custom\virus.sqf", [], 5, false];
	};
	} else {
	player removeAction s_player_virus;
    s_player_virus = -1;
	};

4-Near of the end of fn_selfactions:

Find lines in grey and add only lines in blue.

  Reveal hidden contents

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...