View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-08-2011 , 09:32   Re: TF2Items - Items with custom attributes.
#646

1.4.3 Released.
  • Added TF2Items_OnGiveNamedItem_Post that gives you the entity index.
  • If the original items quailty was 0, it wont be changed to avoid deletion.
  • Fixed null entity bug (thanks to voogru).

Also, in two days, it's a year since TF2Items was released \o/ .

EDIT:
Don't use the classname, item def index, level or quality from the _Post forward, I missed an important bit of code and they could be wrong.
You can just use the netprops until the next update, as you are given the entity index.
__________________

Last edited by asherkin; 01-08-2011 at 14:19.
asherkin is offline