Advertisement
DeanReid

old

Apr 28th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. _cursorTarget = cursorTarget;
  2. _banker = _cursorTarget getVariable["BankerBot",0];
  3.  
  4. if((_banker == 1) and (player distance _cursorTarget < 3)) then {      
  5.     if (s_bank_dialog3 < 0) then {
  6.         s_bank_dialog3 = player addAction ["Banker Menu", "custom\bank\Gold_Coin_system\Bank_Dialog\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
  7.     };         
  8. } else {       
  9.      player removeAction s_bank_dialog3;
  10.      s_bank_dialog3 = -1;
  11. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement