Welcome to AC Web.
Results 1 to 2 of 2

Thread: Help

  1. #1

    Help


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Please help me when compiling the error

    error C2664: "float World::getFloatConfig(WorldFloatConfigs) const": невозможно преобразовать аргумент 1 из "WorldIntConfigs" в "WorldFloatConfigs"
    else if (Type == ARENA_TEAM_5v5) // 1v1 Arena
    points *= sWorld->getFloatConfig(CONFIG_ARENA_1V1_ARENAPOINTS_MULTI );

    error C2664: "float World::getFloatConfig(WorldFloatConfigs) const": невозможно преобразовать аргумент 1 из "WorldIntConfigs" в "WorldFloatConfigs"
    2>d:\trinity off\trinitycore-3.3.5\src\server\game\battlegrounds\arenateam.cpp( 644): note: Для преобразования в перечисляемый тип требуется явное приведение (static_cast, приведение в стиле С или приведение в стиле функции)

    else if (Type == ARENA_TEAM_5v5) // 1v1 Arena
    points *= sWorld->getFloatConfig(CONFIG_ARENA_1V1_ARENAPOINTS_MULTI );

    error C2144: синтаксическая ошибка: перед "void" требуется ";"
    / This is where scripts' loading functions should be declared:
    void AddCustomScripts()
    void AddSC_npc_1v1arena();

    // The name of this function should match:
    // void Add${NameOfDirectory}Scripts()
    void AddCustomScripts()
    {
    AddSC_npc_1v1arena();
    }

  2. #2

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Show me the code, because I don't understand shit the fuck you posted.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •