Thread
:
Missing weapons when overwriting in OGNI
View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
04-06-2019 , 03:43 Re: Missing weapons when overwriting in OGNI
#
2
I can make some guesses:
You can't change the item class of a weapon in a
TF2Items_OnGiveNamedItem
callback. If you try, the game will reject your change and end up giving them nothing in that slot.
What you can do is block the item, then give them a different weapon a frame later.
__________________
Not currently working on SourceMod plugin development.
Last edited by Powerlord; 04-06-2019 at
03:47
.
Powerlord
View Public Profile
Find More Posts by Powerlord