[Help] How to set maps, prohibit transactions, and can not discard items

Results 1 to 3 of 3
  1. #1
    Apprentice jstzxuqi is offline
    MemberRank
    Apr 2017 Join Date
    5Posts

    shout [Help] How to set maps, prohibit transactions, and can not discard items

    I set up the map without dropping the map according to the tutorials in the forum, but he has some BUG. The player can pick up the discarded items by throwing away the items. Can you help me?


  2. #2
    Valued Member dldanny05 is offline
    MemberRank
    Jun 2016 Join Date
    139Posts

    Re: How to set maps, prohibit transactions, and can not discard items

    Search for

    Code:
    if( !plr->IsSwimming() )
    {
        var[0].SetString("$FR_PAUSE_INVENTORY_DROP_ITEM");
        var[1].SetInt(HPA_DROP_ITEM);
        gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
    }

    Change to

    Code:
    
    if( !plr->IsSwimming() && gClientLogic().m_gameInfo.mapId != GBGameInfo::MAPNAMEHERE )
    {
        var[0].SetString("$FR_PAUSE_INVENTORY_DROP_ITEM");
        var[1].SetInt(HPA_DROP_ITEM);
        gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
    }

  3. #3
    Apprentice jstzxuqi is offline
    MemberRank
    Apr 2017 Join Date
    5Posts

    Re: How to set maps, prohibit transactions, and can not discard items

    thank you my friend



Advertisement