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?
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?
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); }
thank you my friend