Closed hanicsgo closed 2 years ago
What you mean? How you can use OnPreviewItem or what?
Add callbacks
...
// Preview works only for ItemType_Toggleable
Shop_SetCallbacks(_, _, _, _, _, OnPreviewItem);
...
}
public void OnPreviewItem(int client, CategoryId category_id, const char[] category, ItemId item_id, const char[] item)
{
// do what you want with item.
}
can u make OnPreviewItem on syntax code, thanks u very much