Skip to main content

TypedItemInit

Callable

  • TypedItemInit(Data, C, Item, Push, Refresh, field): boolean

  • Initialize the typed item properties


    Parameters

    • Data: TypedItemData | VibratingItemData

      The item's extended item data

    • C: Character

      The character that has the item equiped

    • Item: Item

      The item in question

    • Push: boolean = true

      Whether to push to changes to the server

    • Refresh: boolean = true

      Whether to refresh the character. This should generally be true, with custom script hooks being a potential exception.

    • field: Type | Mode = "Type"

    Returns boolean

    Whether properties were initialized or not