Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0

Ошибка в RPT (Рюкзак)

Иногда в логе проскакивает такая ошибка

14:12:34 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
14:12:34   Error position: <_actionSet) then {
14:12:34   Error Undefined variable in expression: _actionset
14:12:34 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13

Я так понимаю что это связано как то с рюкзаком...

Кто поможет?

Edited by stspartak (see edit history)

Share this post

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Нужен сам скрипт. Но судя по ошибке, не объявлена переменная

Share this post

Link to post
Share on other sites

  • 0


Нужен сам скрипт



private ["_holder","_type","_classname","_name","_actionSet"];
_holder = _this select 0;
_type = _this select 1;
_classname = _this select 2;

// Exit if player zombie
if(player isKindOf "PZombie_VB") exitWith {};

_name = getText (configFile >> _type >> _classname >> "displayName");

_actionSet = _holder getVariable["actionSet", false];

if (!_actionSet) then {
	s_player_holderPickup = _holder addAction [format[(localize "STR_DAYZ_CODE_1"),_name], "\z\addons\dayz_code\actions\object_pickup.sqf",[_type,_classname,_holder], 20, true, true];
	player reveal _holder;
	_holder setVariable["actionSet", true];

Этот скрипт?

Share this post

Link to post
Share on other sites
  • 0

ну судя по всему, нигде не объявляется переменная actionSet. Мб ее стерли где-нибудь

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By CubeIn
      Приветствую друзья, возникла неприятная ошибка.
      Подписал все ключи через DS Utils, вставил ключ в северную часть, но все равно при заходе на сервер пишет данную ошибку.
      Client contains PBO which is not part of server data
    • By Alex39
      Не могу понять какое значение поставить

      if (killFeedStr != "") { GetGame().ChatPlayer(0, killFeedStr); } Ругается на нулевое значение ChatPlayer(0
    • By zra47
      Exception code: C0000005 ACCESS_VIOLATION at 00838BCB
      Allocator: Z:\home\gameserver1838\serverfiles\dll\tbb4malloc_bi.dll
      graphics:  No
      resolution:  160x120x32
        CA_CommunityConfigurationProject_E_Gameplay_AddedMissingFlaresToChoppers in ca\communityconfigurationproject_e\gameplay_addedmissingflarestochoppers\
        CAMP_Armory_Misc in ca\mp_armory\misc\, CAWeapons_E_RPG18 in ca\weapons_e\rpg18\
        fal_trafficsigns in ca\fal_trafficsigns\
        CAStructures_E_HouseA_A_Office01 in ca\structures_e\housea\a_office01\
        CorePatch_CIT_24668 in CorePatch\corepatch_cit_24668\
        CorePatch_CCP_62628 in CorePatch\corepatch_ccp_62628\
        CAStructures_E_Ind_IndPipes in ca\structures_e\ind\ind_pipes\
        Farm_WTower in ca\buildings2\farm_wtower\
    • By Guliashik
      подскажите как исправить ошибку в логах ?
      Error Undefined variable in expression: pvdze_serverobjectmonitor
      Error position: <PVDZE_serverObjectMonitor set [count PVD>
    • By zra47
      Посмотрите,поделитесь решением

      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
  • Our picks

  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.