Here's how you can get them with CLEO..
while true
wait 0
if
0ADC: "AMMO"
then
gosub @GET_AMMO_IN_CLIP
printf "You have %d ammo in clip" 2000 3@
end
end
:GET_AMMO_IN_CLIP
wait 0
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x718 // Current Weapon Slot
0A8D: 1@ = read_memory 0@ size 1 virtual_protect 0
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x5A0 // Start of weapon data (28 bytes)
1@ *= 28
005A: 0@ += 1@ // Get weapon structure
0@ += 8 // Pointer to "Ammo in clip"
0A8D: 3@ = read_memory 0@ size 1 virtual_protect 0 // Ammo in clip
return