<b>!!!ATENTION!!! DELETE MY "Store Weapons in Dufflebag" and "Backpack" mod if you're gonna use this one</b>
<b>Description</b>

<i>DEFAULT CONTROLLS</i>
<b>Hold "SelectUnarmed" for backpack menu #1</b>
-Backpack Menu #1 :
1.Take off/Put on Bag;
2.Take off/Put on Helmet(only when NOT in car);
3.Holster/Unholster pistol (can be customized in .ini file wich one you want to use, just replace numbers after "PISTOL =")
-a) 453432689 - PISTOL
-b) 1593441988 - COMBATPISTOL
-c) 58464620 - APPISTOL
-d) 2578377531 - PISTOL50
-e) 3249783761 - REVOLVER

<b>Hold "Duck in vehicle" button for backpack menu #2</b>
-Backpack Menu #2 :
1.Take off/Put on headset;
2.Take off/Put on hat/mask;
3.Hold/Unhold backpack's strap;

if you have backpack ,just take it off in vehicle using BACKPACK_MENU1 button in vehicle and it will be saved as your stash vehicle;
When you carrying the backpack you can use your inventory and any weapon you like,also you can put on/off helmet, however it will slow you down a bit.
When you're not carrying the backpack yours speed will slightly increase but your inventory will be locked unless you grab your backpack again.

Hold "PHONE_LEFT_BUTTON" to open cig menu.You can pause and leave cig in mouth or leave it in hands depending wich frame anim is playing.The smoking will replenish players health.

<b>How to install</b>

1.Drop all folders and files in Script folder to your ../gta5/Scripts/ (Just like all the other Scripthookvdotnet2 .dll scripts)
2.You need to replace Backpack models and textures if you dont want to change them in .ini file (i've included tutorial and models in archive) 
<b>For backpack:</b>
I've made it possible to choose which model of clothes will be set on character in .ini file, but i suggest you to
 replace any decals in Grand Theft Auto V\mods\x64v.rpf\models\cdimages\streamedpeds_players.rpf\player_zero/one/two\ for the 
Rockstar backpack model with my texture pack(included in zip archive) and then to change number of model and texture 
in .ini file (i advise you to replace models in archive,so you wouldnt have to change it in .ini file : Michael (Player_Zero):decl_008;/Franklin (Player_One):decl_003;/Trevor (Player_Two):decl_005;
<b>For Hat/Mask:</b>
You can change any mask/hat you will wear in .ini file in ([TREVORS PROP] for Trevors hat/mask for example) ,also you can change the hairstyle that will apply when character is wearing the mask(For modded hairstyle,so the hairs wouldnt came through hat or mask);

<b>REQUIREMENTS</b>

.NET Framework 4.5.2 
Visual C++ 2015 
ScriptHookV Latest 
ScriptHookVDotNet Latest
Naudio.dll (Included in arhive) 

<b>Changelogs</b>

1.1

-Added DuffleBag option in .ini file (IF set to "true" and character has backpack AND carrying longbarrel weapons he will put on duffle bag to be able to carry them,but it will reduce his speed even more);
-Fixed bug where holster icon was shown even if character dont have the pistol;

1.1b

-Added Gunrunning and Doom's day Heist long-barrel weapons;

1.1c

-Duffle bag will now drop off with bagpack in the car;
-Pistol switch improvements;
-Code optimization;

1.2

-Fixed bug with dufflebag blinking when sitting in any vehicle;

1.3

-Added option to choose pistol character will be able to carry without backpack;
-----FIND STRING iN .INI FILE NAMED "PISTOL = 2578377531" and replace "2578377531" with:
------"453432689" for Pistol; 
-----"1593441988" for CombatPistol;
-----"2578377531" for Pistol50;
-----"584646201" for ApPistol;
------"3249783761" for Revolver;

-Fixed critical issues that could cause script crash;
-Improved helmet system;
-Improved Blip system and car saving;
-Improved personal pistol switch;
-Controller support added;

1.4

-Code optimization;
-Bug with hint looping in vehicle while holding "select unarmed" button fixed;

1.5

-Added control customization in .ini file <i>(Look at CONTROLS_VARIATIONS.txt file  that i've included in archive to see controls numbers)</i>;
-Improved control system (look in discription);
-Improved hat/mask wearing system (Now you just need to set Model of hat/mask from Ped Props list and hairstyle you want to apply with this mask(I've left this option to in case if you're using modded hairstyles that doesnt fit well with standart gta hats/masks);

1.6

-Added custom weapon holster/unholster animation (can be turned of in .ini file);

1.7

-Fixed double sound effect;
-Added backpack animation on each weapon change key;
-Fixed "bag put on" issue (now it will put on only if you hold backpack_menu1 key);


1.8

-Added duffle bag compobility with story missions;

1.9

-Fixed issue with bag status that was applied even if character wasnt wearing any bag;

2.0

-Added possobility to collect backpacks at characters main houses if bag doesnt exists in the world yet,they will we bliped with white color (If you're using mp character you can collect backpack at Franklins New Mansion);
-Added possobility to drop off bag in any place and pick it up again untill you switch character or die;
-Fixed alot bugs and issues;

2.1

-Added option to create bag near character by holding "BACKPACK_MENU1" button and pressing "BACKPACK_SELECT" button.

2.2

<b>Replace .ini file</b>

-Added smoke feauture on foot(Hold "PHONE_LEFT_BUTTON" to open cig menu.You can pause and leave cig in mouth or leave it in hands depending wich frame anim is playing.The smoking will replenish players health);
-ReAdded mask feauture;

2.3

-Fixed issues with weapon changing while smoking anim is playing(Character will hide all weapons until you pause or stop smoke);

2.4

-Added function to smoke in car;
-Fixed issue with stucking cig after script reload(Now you can reload script and if character is having cig in his hands or mouth the script will detect it automaticly and will apply smoking mode);
-Script improvments(If you're moving the character will take cig in his mouth automaticly,also if smoking anim playing the character wont be able to take out weapon until you pause smoking);

2.5

<b>Note</b><i>Dont use previous version in the same time with my BadHabits script</i>
-Separated smoke script;

2.6

-Removed icon (Added it to PistolHoslter script);

2.7

-The bag will disapear when character has parachute on his back;
-Improved bag summon function (Now it should apear near character even inside the buildings and not on top of the buildings);

2.8

-Improved weapon drop system without bag (If character doesnt have any bag, he can still hold any long barrel weapon in his hands,but he cant holster it);
-Added possobility to switch to any pistol without backpack;
-Fixed issues with breaking animation while Michaele is hanging on the meathook (Mission where you have to save Michael from Chineese Mafia);

2.9

-Improved weapon drop system without bag;
-Added possobility to drop off all standart gta dufflebag models if custom backpack is not equiped;

3.0

-Replcaced mask function with drop weapons function;
-Anim bug fixes;
-Code optimization;

3.0b

-Improved hoslter/unholster anim;

