Advertisement
Guest User

Untitled

a guest
Oct 4th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. _holder = _this select 0;
  2. _type = _this select 1;
  3. _classname = _this select 2;
  4.  
  5. _name = getText (configFile >> _type >> _classname >> "displayName");
  6.  
  7. _actionSet = _holder getVariable["actionSet", false];
  8.  
  9. if (!_actionSet) then {
  10. s_player_holderPickup = _holder addAction [format[(localize "str_init_take"),_name], "\z\addons\dayz_code\actions\object_pickup.sqf",[_type,_classname,_holder], 20, true, true];
  11. player reveal _holder;
  12. _holder setVariable["actionSet", true];
  13.  
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement