Gonobob 1 Posted April 23, 2013 Hi all, can anyone help me how to know how many empty slots in player magazines if empty slots < 6 then "you cant pickup this item" - something like this thanks, sorry for bad english ;) Share this post Link to post Share on other sites
Silderoy 1 Posted April 23, 2013 there is no way to know how many bullets are in a specific magazine as far as I know. Share this post Link to post Share on other sites
Gonobob 1 Posted April 23, 2013 (edited) there is no way to know how many bullets are in a specific magazine as far as I know. i dont need to know how many bullits, i need if empty slots >= 6 i can add partwheel to player if empty slots < 6 i cant add partwheel to player dont know how it make Edited April 23, 2013 by Gonobob Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 23, 2013 There is BIS_fnc_InvAdd I think that will add things to inventory and return true or false in no space. Also you can count bullets in magazines. Share this post Link to post Share on other sites
Gonobob 1 Posted April 23, 2013 (edited) _result = [player,"PartWheel"] call BIS_fnc_invAdd; hint format ["RESULT: %1",_result]; _result is always true(( dont know why, anyone can help? thx or any example pls and where can i find this function BIS_fnc_invAdd? killzone can u tell me ur skype or icq? Edited April 23, 2013 by Gonobob Share this post Link to post Share on other sites
panther42 52 Posted April 23, 2013 BIS_fnc_invAdd Some of the BIS Functions You can find more complete list in game using BIS_fnc_help Share this post Link to post Share on other sites
MrSherenai 1 Posted April 24, 2013 You may find this usefull: getMagazineCargo Share this post Link to post Share on other sites
Gonobob 1 Posted April 27, 2013 Thanks all, i did to create item under player, not add to backpack. Share this post Link to post Share on other sites