Jump to content

Vap0rub

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Vap0rub

  1. Obviously a mess up on my end but any help would be appreciated

     

    Error in expression <lock,_lock];

    if (_typeOfCursorTarget in ColourVehicles) then {
    private ["_paint">
      Error position: <ColourVehicles) then {
    private ["_paint">
      Error Undefined variable in expression: colourvehicles

    File mpmissions\__CUR_MP.chernarus\ZSC\compiles\fn_selfActions.sqf, line 304

     

    the block from my fn_selfActions.sqf

    if(_player_lockUnlock_crtl) then {

    if (s_player_lockUnlock_crtl < 0) then {
    _hasKey = _ownerID in _temp_keys;
    _oldOwner = (_ownerID == dayz_playerUID);
    if(locked _cursorTarget) then {
    if(_hasKey || _oldOwner) then {
    _Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",[_cursorTarget,(_temp_keys_names select (parseNumber _ownerID))], 2, true, true, "", ""];
    s_player_lockunlock set [count s_player_lockunlock,_Unlock];
    s_player_lockUnlock_crtl = 1;
    } else {
    if(_hasHotwireKit) then {
    _Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",_cursorTarget, 2, true, true, "", ""];
    } else {
    _Unlock = player addAction [format["<t color=#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_VEHLOCKED], "",_cursorTarget, 2, true, true, "", ""];
    };
    s_player_lockunlock set [count s_player_lockunlock,_Unlock];
    s_player_lockUnlock_crtl = 1;
    };
    } else {
    if(_hasKey || _oldOwner) then {
    _lock = player addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",_cursorTarget, 1, true, true, "", ""];
    s_player_lockunlock set [count s_player_lockunlock,_lock];
    if (_typeOfCursorTarget in ColourVehicles) then {
    private ["_paint"];
    _paint = player addAction ["Paint", "Paint\player_paint_init.sqf",_cursorTarget, 2, true, true, "", ""];
    s_player_lockunlock set [count s_player_lockunlock,_paint];
    };
    s_player_lockUnlock_crtl = 1;
    };
    };
    };

     

  2. I'm having trouble with this script breaking the JAEM v1.6 script I'm currently using. It seems like the Deploy Anything script blocks the custom variables.sqf file JAEM uses

     

    dayz_allowedObjects = dayz_allowedObjects + ["HeliHRescue"];

     

    The issue I get is the Helipad is disappearing as soon as it is placed

     

    19:46:14 Error in expression


    };>
    19:46:14 Error position: <};>
    19:46:14 Error Missing {
    19:46:14 File mpmissions\__cur_mp.chernarus\custom\JAEM\variables.sqf, line 3
    19:46:14 Error in expression
    };>
    19:46:14 Error position: <};>
    19:46:14 Error Missing {
    19:46:14 File mpmissions\__cur_mp.chernarus\custom\JAEM\variables.sqf, line 3

     

    and

     

    19:05:49 Error in expression <

    if (isServer) then {

    if (parseNumber _id > 0) then {

    _key = format["CHILD:30>
    19:05:49 Error position: <_id > 0) then {

    _key = format["CHILD:30>
    19:05:49 Error Undefined variable in expression: _id
    19:05:49 File z\addons\dayz_server\compile\server_deleteObj.sqf, line 11

     

    are the errors I get, I've tried to add "HeliHRescue" to the dayz_allowedObjects list in the original variables file and removed the call compile for JAEMs variables.sqf

     

    I am probably missing something simple but It's late here, any help would be appreciated

×
×
  • Create New...