Alright. Heres a M16A4 Inf Ammo code.

#M16A4 Inf. Ammo
;Credit KamaluNg
;Requires no reloading
0xFFFFFFFF 0x01306124
0x000010d0 0x00000000

Question: This question is mainly for more experienced coders.

Is there anyway to stop this code from freezing outside of the games mission? (Lobby, main page, start screen, etc)

I already know its possible for my pointer to be pointing to a different area then my weapons ammo count. But this code works, im just not sure why it will freeze every time.