Skip to main content

InfiltrationPenitentiaryRoleIs

Callable

  • InfiltrationPenitentiaryRoleIs(Role: string): boolean

  • Checks if the role in parameter is the current player role


    Parameters

    • Role: string

      The role to evaluate (I for Inmate, G for Guard)

    Returns boolean

    • TRUE if the role matches the parameter