I cannot seem to get a grasp on Handles and I feel like I am just hitting my head against a brick wall...
How can I populate the handle hItem as per
PHP Code:
public Action:TF2Items_OnGiveNamedItem(client, String:classname[], iItemDefinitionIndex, &Handle:hItem)
I get the error:
Code:
TF2Items_OnGiveNamedItem()
[SM] Native "TF2Items_GetNumAttributes" reported: Invalid TF2ItemType handle 0 (error 4)
I feel so dumb, because I know the answer must be rather simple.