Skip to main content

LogAdd

Callable

  • LogAdd<T>(Name, Group, Value, Push): void

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


    Parameters

    • Name: LogNameType[T]

      The name of the log

    • Group: T

      The name of the log's group

    • optionalValue: number | string[]

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

    • optionalPush: boolean = true

      TRUE if we must push the log to the server

    Returns void

    • Nothing