Jump to content

Th3-Hunter333

Member
  • Posts

    118
  • Joined

  • Last visited

  • Days Won

    1

Th3-Hunter333 last won the day on January 10 2022

Th3-Hunter333 had the most liked content!

Recent Profile Visitors

10901 profile views

Th3-Hunter333's Achievements

Newbie

Newbie (1/14)

8

Reputation

  1. Does anyone know if its possible to customize a right click option and add Banking (Zupa coins) to a right click option of for example the radio? Ive been trying to get this to work but cant seem to figure out the right way based on other code around it, im not the best at this lol. This below is what im trying to utilize to launch the atm anywhere on the map in the click actions script ["ItemRadio",localize "STR_ZSC_BANK_TELLER","execVM 'scripts\zsc\atmDialog.sqf';","true"], Using this code above seems like it will work if i can figure out how to rewrite the current atmDialog.sqf to work like this way. atmDialog.sqf below if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; dayz_actionInProgress = true; private ["_typeOf"]; player setVariable["isBusy",true,true]; _typeOf = typeOf cursorTarget; if !(_typeOf in ZSC_bankObjects || _typeOf in ZSC_bankTraders) exitWith { dayz_actionInProgress = false; player setVariable["isBusy",false,true]; format [localize "STR_ZSC_BANKING_NOT_AVAIL",_typeOf] call dayz_rollingMessages; }; createDialog "atmDialog"; call AtmDialogUpdateAmounts; waitUntil {!dialog}; dayz_actionInProgress = false;
×
×
  • Create New...