Raised This Month: $51 Target: $400
 12% 

What is the GenEntProp for Survivors that are Biled?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MonkeyDrone
AlliedModders Donor
Join Date: Jul 2011
Old 08-21-2011 , 09:08   What is the GenEntProp for Survivors that are Biled?
Reply With Quote #1

Hi, i'm looking for the property that will check if the Survivor is biled, where a boomer puked on the survivor.

if (GetEntProp(i_client, Prop_Send, "bile property")) == 1)

Do this{
}
MonkeyDrone is offline
BrianGriffin
Senior Member
Join Date: Oct 2008
Old 08-21-2011 , 14:17   Re: What is the GenEntProp for Survivors that are Biled?
Reply With Quote #2

Code:
new biled = GetEntProp(entity, Prop_Send, "m_glowColorOverride");
if (biled == -4713783)
{
    // entity is biled
}
I use this for common infected but it should also work for players.

Alternatively this might also work:

Code:
new Float:specialisbiled = GetEntPropFloat(entity, Prop_Send, "m_vomitFadeStart");
if (specialisbiled != 0.0 && specialisbiled + 5.0 > GetGameTime())
{
    // entity is biled
}

Last edited by BrianGriffin; 08-21-2011 at 14:21.
BrianGriffin is offline
MonkeyDrone
AlliedModders Donor
Join Date: Jul 2011
Old 08-21-2011 , 16:44   Re: What is the GenEntProp for Survivors that are Biled?
Reply With Quote #3

Quote:
Originally Posted by BrianGriffin View Post
Code:
new biled = GetEntProp(entity, Prop_Send, "m_glowColorOverride");
if (biled == -4713783)
{
    // entity is biled
}
I use this for common infected but it should also work for players.

Alternatively this might also work:

Code:
new Float:specialisbiled = GetEntPropFloat(entity, Prop_Send, "m_vomitFadeStart");
if (specialisbiled != 0.0 && specialisbiled + 5.0 > GetGameTime())
{
    // entity is biled
}
Alright, Thanks man. Will put it into practice
MonkeyDrone is offline
Reply



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 02:03.


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