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
svalom

Ошибка в скрипте (STR_EVAL_TYPENAN )

private ["_position","_locationRadius","_aiPos"];
_position = _this select 2; // position [x,y,z]
_locationRadius = (_this select 3) select 4; // радиус 50 динамический
_aiPos = [(_position select 0) - _locationRadius + random( 2 * _locationRadius), (_position select 1) - _locationRadius + random( 2 * _locationRadius), 0];

///////////////////////////////////////////

18:42:09 String STR_EVAL_TYPENAN not found
18:42:09 Error in expression <andom;
_aiPos = [(_position select 0) - _locationRadius + random( 2 * _locationR>
18:42:09   Error position: <_locationRadius + random( 2 * _locationR>
18:42:09   Error Undefined variable in expression: _locationradius
18:42:09 File ..., line 4

к слову, _aiPos расчитывается внутри for [], весь код не выкладываю -много букф.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

:facepalm:

нашлась ошибка, не был передан параметр _locationRadius для скрипта :D

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 mrakobes08
      Здравствуйте хотелось бы спросить у знающих людей, нашел
      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
    • 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
      Addons:
        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>
  • 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.