Skip to main content

CheatFactor

Callable

  • CheatFactor(CheatName: string, Factor: number): number

  • Gets the factor for a given cheat. The bonus factor is added if active.


    Parameters

    • CheatName: string

      Name of the cheat to check for

    • Factor: number

      Bonus factor on top of the cheat

    Returns number

    • The total factor for the given cheat