- Found in:
- Vanilla
eventOnPlayerJail(ObjectReferenceakSenderRef, ObjectReferenceakGuard, FormakFaction, LocationakLocation, intaeCrimeGold)
Description
Documentation Comment
Event that is triggered when the player goes to jail.
Parameters
Examples
Auto-Generated Example
Scriptname MyCoolScript extends RefCollectionAlias
event OnPlayerJail(ObjectReference akSenderRef, ObjectReference akGuard, Form akFaction, Location akLocation, int aeCrimeGold)
Debug.trace("Event received - OnPlayerJail: akSenderRef = " + akSenderRef + " akGuard = " + akGuard + " akFaction = " + akFaction + " akLocation = " + akLocation + " aeCrimeGold = " + aeCrimeGold)
endEvent