priority=GetWeaponPriority(player, weap_bin, select_mode);
GetWeaponPriority(player, weap_bin, select_mode);
select_mode: If valid, this integer becomes the senderref of the autoselect message.