Skip to main content

LogAdd

Callable

  • LogAdd<T>(NewLogName: LogNameType[T], NewLogGroup: T, NewLogValue?: number, Push?: boolean): void

  • Adds a new entry to the player's logs, renews the value if it already exists.


    Type parameters

    Parameters

    • NewLogName: LogNameType[T]

      The name of the log

    • NewLogGroup: T

      The name of the log's group

    • optionalNewLogValue: number

      Value for the log as the time in ms. Is undefined if the value is permanent

    • optionalPush: boolean

      TRUE if we must push the log to the server

    Returns void

    • Nothing