PayCrimeGold
Revision as of 13:35, 11 November 2011 by imported>Scornett-Bot (Script running global find and replace: Category:Console Commands for Category: Console Functions)
Syntax:
ActorRef.PayCrimeGold stolenItemsFlag (optional), moveToJailFlag (optional), factionID (optional)
Takes the amount of gold out your inventory equal to your total crime gold for the calling actor's crime faction, wipes your crime gold clean and takes all stolen items out of your inventory and places them in the crime faction's evidence chest, and moves you to the crime faction's exterior jail marker.
Notes:
- Crime faction is taken from the calling actor unless the optional factionID parameter is used.
- StolenItemsFlag defaults to 1, which is to remove stolen items. If 0, stolen items are NOT removed from the player's inventory.
- moveToJailFlag default to 1, which is to move the player to the exterior jail marker. If 0, the player is not moved when paying the fine.