|
Junior Member
|
02-19-2011
, 18:37
Re: L4D2 Melee Weapons Mod 1.9.1
|
#81
|
1.9.1 Source 1 warning
public Action:SaveHIM(Client)
{
// Check if its a valid player
if (Client == 0 || !IsClientInGame(Client) || IsFakeClient(Client)) return;
if (g_bSurvivorisEnsnared[Client])
{
SetConVarInt(FindConVar("director_no_death_ch eck"), 1);
***** g_bSurvivorisEnsnared[Client] = false;****** Warning
if (g_bSurvivorisRidden[Client] == true)
SetEntData(Client, FindSendPropInfo("CTerrorPlayer", "m_isIncapacitated"), 1, 1, true);
else
SetEntData(Client, FindSendPropInfo("CTerrorPlayer", "m_lifeState"), 2, 1, true);
CreateTimer(1.0,Timer_RestoreState, Client);
CallOnPummelEnded(Client);
}
}
Error has been corrected. Warning, there's a good one but is does? Please get 1.9 source
|
|
|
|