View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-14-2020 , 17:04   Re: [L4D2/L4D?]Incapped Weapons
Reply With Quote #8

I will still fail to compile on the forum due to: #include <l4d_info_editor>

You *could* copy the natives/forwards from the include into the plugin without having to use the include, but this goes against the standard scripting practices on AM. Actually you could do this in combination with #tryinclude <> and check "#if !defined _info_editor_included" then define the natvies/forwards. Only thing if the include is ever updated and breaks backwards compatibility (I have no plans on this). For simple plugins/includes with few natives/forwards used I may do this more often. For DHooks I wouldn't.
__________________

Last edited by Silvers; 01-14-2020 at 17:05.
Silvers is offline