It is of my understanding that TF2Items_OnGetLoadoutItem should pass through the TF2Item handle object of the already created items, however the handle passed is always invalid.
public Action TF2Items_OnGetLoadoutItem(int client, int class, int slot, Handle &item) {
TF2Items_SetNumAttributes(item, 1);
TF2Items_SetQuality(item, 5);
TF2Items_SetAttribute(item, 0, 134, float(5)));
return Plugin_Changed;
}
Creating an item and assigning it to the handle also breaks all weapons.
Using latest release r5