The PayFine function removes the stolen items from the PCs inventory; it does not remove any gold. Call after paying a crime fee to clean AI. Also puts the PCs hands down (that is not ready to cast or fight).
[no fix] PayFineThief
Like PayFine function but does not remove stolen items from the PCs inventory. Call to "clean AI". May have incorrectly removed stolen items before one of the patches.
For examples check below, under "Useful global variables"