Jump to content

Rapture

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Rapture

  1. Loved using this script on my server, but as of 1.0.4.2, it seems that the syntax is incorrect inside of the server_monitor.sqf . Any clues?

    12:06:31 Error Undefined variable in expression: _type
    12:06:31 File z\addons\dayz_server\compile\fnc_vehicle_ammo.sqf, line 5
    12:06:31 Error in expression <_object call fnc_veh_ResetEH;
    [_object, _class] call fnc_veh_Ammo;
    
    if(_ownerID >
    12:06:31 Error position: <_class] call fnc_veh_Ammo;
    
    if(_ownerID >
    12:06:31 Error Undefined variable in expression: _class
    12:06:31 File z\addons\dayz_server\system\server_monitor.sqf, line 228
    12:06:31 "DEBUG: VEHICLE: any Adding Ammo"
    12:06:31 Error in expression <rmat ["DEBUG: VEHICLE: %1 Adding Ammo", _type];
    
    switch (_type) do
    {
    case "Mi17_>
    12:06:31 Error position: <_type];
    
    switch (_type) do
    {
    case "Mi17_>
    12:06:31 Error Undefined variable in expression: _type
    12:06:31 File z\addons\dayz_server\compile\fnc_vehicle_ammo.sqf, line 5
    12:06:31 Error in expression <_object call fnc_veh_ResetEH;
    [_object, _class] call fnc_veh_Ammo;
    
    if(_ownerID >
    12:06:31 Error position: <_class] call fnc_veh_Ammo;
    
    if(_ownerID >
    12:06:31 Error Undefined variable in expression: _class
    12:06:31 File z\addons\dayz_server\system\server_monitor.sqf, line 228
    12:06:31 "DEBUG: VEHICLE: any Adding Ammo"
    12:06:31 Error in expression <rmat ["DEBUG: VEHICLE: %1 Adding Ammo", _type];
    
  2. It is supposed to trigger a file : execute.sqf that then runs "[] execVM "ADDONS\actions\crafting\init.sqf";"

     

    This then executes the script allowing a scroll-wheel menu to display and craft the different items I have added. I'm fairly certain the problem is in the fn_selfactions and not in the init.sqf file itself for the script.

     

     

×
×
  • Create New...