Forum Jump :

Author Message


Posts: 165

Level: Member

Country: uk
Location: [0, 0, 1000]
Occupation: Full Stack Developer
Age: 23
In-game name: Haz

#199366 Posted at 2018-06-23 04:58        
Yes. Examples:
getNumber (configFile >> "CfgWeapons" >> "arifle_AKM_F" >> "reloadTime")
getNumber (configFile >> "CfgWeapons" >> typeOf primaryWeapon player >> "reloadTime");
You can also set the reload time to your own liking however, I don't believe there is an engine solution to return it so if you do change it to a custom value, the above method won't return the change. You'd have to store it manually somewhere.