View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-26-2021 , 13:36   Re: White lighting for black and white players
Reply With Quote #3

Gold Fish

PHP Code:
if( GetEntProp(clientProp_Send"m_currentReviveCount") == FindConVar("survivor_max_incapacitated_count").IntValue )
{
    ... 
// Player is B/W

Or if you want hook-method, use "revive_success" and "heal_success" to check that.

You may also want to check this plugin: Heartbeat (Revive Fix - Post Revive Options) (there are some useful natives and bug fixes).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline