View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-25-2023 , 18:28   Re: [L4D & L4D2] Left 4 DHooks Direct (1.134) [10-Jul-2023]
Reply With Quote #948

Quote:
Originally Posted by BRU7US View Post
Maybe...

stock int L4D2_GetPlayerUseActionTarget(int client)

//client - player who using medkit / defibrillator
This is for L4D2 only and would only work in the post hooks.

Use the native: L4D_FindUseEntity and see the include file for details.
__________________
Silvers is offline