View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-22-2021 , 02:43   Re: [L4D & L4D2] Left 4 DHooks Direct (1.49) [13-Jul-2021]
Reply With Quote #394

Quote:
Originally Posted by xerox8521 View Post
Would it be possible for L4D1 to register the native L4D2_SpawnWitchBride but instead it should internally call L4D2_SpawnWitch function ?
Reason I'm asking is to avoid having 2 different downloads for an upcoming plugin just because the native is not registered for L4D1.
You don't need 2 versions, detect which game and use a bool switch to call either function depending on which game it's running on.
__________________
Silvers is offline