Raised This Month: $51 Target: $400
 12% 

Problems with includes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Godis
Senior Member
Join Date: Jan 2014
Old 03-14-2014 , 10:28   Problems with includes
Reply With Quote #1

Hello, i'm coding a plugin, and i want to include both the tf2 extension and the cstrike extension, the commands i'm using that are css & tf2 only is: TF2_RespawnPlayer and CS_RespawnPlayer. The problem is when the server starts. My plugin won't load on css because it can't load the tf2 extension, and i assume the same thing will happen on a tf2 server. The extensions can't be loaded within OnPluginStart so detecting the game then include it there won't work.
Godis is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-14-2014 , 10:43   Re: Problems with includes
Reply With Quote #2

Put this before the #include lines for the TF2 and CSS extensions:

Code:
#undef REQUIRE_EXTENSIONS
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Godis
Senior Member
Join Date: Jan 2014
Old 03-14-2014 , 10:51   Re: Problems with includes
Reply With Quote #3

Thanks
Godis is offline
Reply



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 08:27.


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