Raised This Month: $ Target: $400
 0% 

White lighting for black and white players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode