Skip to content

Commit

Permalink
bag head
Browse files Browse the repository at this point in the history
  • Loading branch information
ermaccer committed Apr 1, 2022
1 parent 1b58978 commit ab5d998
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions source/code/plugin/menu/eMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ void eMenu::Initialize()
AddWeaponEntry(CT_PIGSY_WIRE);
AddWeaponEntry(CT_PIGSY_SHARD);
AddWeaponEntry(CT_BAG);
//AddWeaponEntry(CT_BAG);

AddCategory("Weapons", true);

Expand Down Expand Up @@ -1016,12 +1015,7 @@ void SetDifficultyHard()
void PutBagOnPlayerHead()
{
CPed* ped = (CPed*)CScene::FindPlayer();
RwFrame* head = ped->GetBoneFrame(1001);

const RwV3d pos = { 1.15f, -1.25f, 4.05f };
RwFrameTranslate(head, &pos, rwCOMBINEPRECONCAT);
RwFrameUpdateObjects(head);
//ped->ChangePedHead("Bag_Head");
ped->ChangePedHead("Bag_Head");
}

void PlayerDropAllWeapons()
Expand Down

0 comments on commit ab5d998

Please sign in to comment.