Guest User

Untitled

a guest
Jan 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. function AddOneToMag(actor)
  2. local gun = ToAHuman(actor).EquippedItem;
  3. if gun ~= nil then
  4. local roundGet = ToHDFirearm(gun).Magazine.RoundCount + 1;
  5. ToHDFirearm(gun).Magazine.RoundCount = roundGet;
  6. end
  7. end
Add Comment
Please, Sign In to add comment