View Single Post
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 04-07-2020 , 03:40   Re: [L4D2] Defibrillate via Menu
Reply With Quote #7

Quote:
Originally Posted by Silvers View Post
<insert code here>
Something like that. This uses the VScript method, I don't know the difference between SDKCall and VScript methods. Should be a good starting place for you anyway if you have time.

Thanks.
Wow, that's a lot of base code. Thanks a lot!

The difference between the Signature (SDKCall) and VScript methods is that using SDKCall offers more control, is guaranteed to defib players and can defib a person with a body of a different character; only downside is that it requires a body entity alongside a client.

VScript won't be able to work well if there are duplicate survivors; sometimes it does nothing when attempting to defib a corpse of a duplicate.

Last edited by Shadowysn; 08-30-2020 at 04:25.
Shadowysn is offline