Raised This Month: $ Target: $400
 0% 

What am I doing wrong? (Crash, code snippet included)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-22-2018 , 04:40   Re: What am I doing wrong? (Crash, code snippet included)
Reply With Quote #1

Did you try the FORCE_GENERATION flag? It exists for the cases where the classname is class-specific (like "tf_weapon_shotgun_soldier").

Code:
TF2Items_CreateItem(OVERRIDE_ALL|FORCE_GENERATION);
__________________

Last edited by asherkin; 05-22-2018 at 04:40.
asherkin is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-22-2018 , 05:29   Re: What am I doing wrong? (Crash, code snippet included)
Reply With Quote #2

I've got it figured out a short while ago, but thanks. That was it.
StrikerMan780 is offline
Reply


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:00.


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