View Single Post
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 02-15-2012 , 20:30   Re: [EXTENSION] Sound Info Library v1.0.1
Reply With Quote #9

Quote:
Originally Posted by naris View Post
The .inc file should *really* have double inclusion protection.
Something like this:

Code:
#if defined _soundlib_included
  #endinput
#endif
#define _soundlib_included
That would also allow #tryinclude to be used (in conjunction with #if defined _soundlib_included blocks) to allow plugins to provide advanced features when this plugin is available and yet still be compilable by the web compiler.
It already has this in it. function list != <include>.ini
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline