R4IDER 10 Posted October 27, 2013 Hi, I am currently working on a mission where I would like to limit the maximum number of magazines a player can carry. Each player is going to have different weapons so I need to be able to detect what ammo they have, to do this I have been trying to use primaryWeaponMagazine but the problem with this is that it returns "["30Rnd_65x39_caseless_mag"]" and I am not to sure how I can turn that into something I can use with removeMagazine. The end result should be player removeMagazine "30Rnd_65x39_caseless_mag"; Thanks Share this post Link to post Share on other sites
Zatan13th 10 Posted October 27, 2013 {_x == (primaryWeaponMagazine player)} count (magazines player) ? Share this post Link to post Share on other sites
Larrow 2822 Posted October 27, 2013 priMag = primaryWeaponMagazine player; player removeMagazine (priMag select 0); Share this post Link to post Share on other sites
R4IDER 10 Posted October 27, 2013 Is it possible to do something similar with first aid kits? Share this post Link to post Share on other sites