Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(bc)
- {
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_CHANGEBP");
- var[1].SetInt(6);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }
- else if (wi.itemID == 301321) // Jerry Can
- {
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_VEHICLE_REFUEL");
- var[1].SetInt(7);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }
- else if(wac){
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_ATTACH");
- var[1].SetInt(4);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- var[0].SetString("$FR_PAUSE_COMBINE_CLIP");
- var[1].SetInt(8);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }else if(gc){
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_EQUIP");
- var[1].SetInt(3);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }else if(wc)
- {
- if(wc->category >= storecat_ASR && wc->category <= storecat_SMG)
- {
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_UNLOAD_WEAPON");
- var[1].SetInt(2);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }
- if((wc->category == storecat_MELEE || (wc->category >= storecat_ASR && wc->category <= storecat_GRENADE)))
- {
- if((slotID != wiCharDataFull::CHAR_LOADOUT_WEAPON1 && slotID != wiCharDataFull::CHAR_LOADOUT_WEAPON2) || (slotID >= wiCharDataFull::CHAR_LOADOUT_ITEM1 && slotID <= wiCharDataFull::CHAR_LOADOUT_ITEM4))
- {
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_EQUIP");
- var[1].SetInt(3);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }
- }else if(wc->category != storecat_Backpack){
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_USE_ITEM");
- var[1].SetInt(5);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }
- }else if(fc){
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_USE_ITEM");
- var[1].SetInt(5);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }
- Scaleform::GFx::Value var[2];
- var[0].SetString("$FR_PAUSE_INVENTORY_DROP_ITEM");
- var[1].SetInt(1);
- gfxMovie.Invoke("_root.api.Main.Inventory.addContextMenuOption", var, 2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement