add this code right after create_object_sid in both batch_item and undo_batch to set ammo to 0 on any weapon that is created or dismantled,gets rid of the exploit,requiers sfall
edit : for some reason the forum is "cropping" my code posts today,wtf?
Nirran
Code:
if (obj_item_subtype(restock_obj) == 3) then
begin
if (get_weapon_ammo_pid(restock_obj) > 0) then
begin
set_weapon_ammo_count(restock_obj, 0);
end
end
edit : for some reason the forum is "cropping" my code posts today,wtf?
Nirran