Raised This Month: $ Target: $400
 0% 

Missing weapons when overwriting in OGNI


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-06-2019 , 03:43   Re: Missing weapons when overwriting in OGNI
Reply With Quote #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 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode