Quote:
Originally Posted by Black Beard
its work in normal mod but in furien mod visibility when he move its return to visible so i think need event of movment not of curweapons to work in furien mod if there is event of movment
|
i think you should modify the plugin itself. I don't know "Furien Mod" and what it is about neither, but I downloaded it and found this:
PHP Code:
public Set_Furiens_Visibility( iEnt )
{
entity_set_float(iEnt, EV_FL_nextthink, get_gametime() + 0.1)
new iPlayers[MAX_PLAYERS], iNum, id, Float:fVecVelocity[3], iSpeed
get_players(iPlayers, iNum, "ae", g_iFuriensTeam == CS_TEAM_T ? "TERRORIST" : "CT")
for(new i; i<iNum; i++)
{
id = iPlayers[i]
if( get_user_weapon(id) == CSW_KNIFE )
{
entity_get_vector(id, EV_VEC_velocity, fVecVelocity)
iSpeed = floatround( vector_length(fVecVelocity) )
if( iSpeed < g_iInvisFactor*255 )
{
set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAlpha, iSpeed/g_iInvisFactor)
}
else
{
set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderNormal, 0)
}
}
else
{
set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderNormal, 0)
}
}
}
From that I could deduce that when you have the knife selected you are invisible (unless iSpeed < g_iInvisFactor*255). Is it correct? If so, do you want to make them invisible ONLY if they are terrorists AND IF they are carrying the bomb while ducking? Need more info...