neatek
10-25-2014, 05:13
it's real to get entity: func_rotating?
i tried:
GetClientAimTarget(param, false)
and
for(new i = 0; i < fMaxEntities; i++)
{
if(IsValidEntity(i))
{
GetEntPropVector(i, Prop_Send, "m_vecOrigin", position);
if(GetVectorDistance(position, position2, true) < 200)
{
GetEdictClassname(i, name, sizeof(name));
PrintToChatAll("object: #%s",name);
}
}
}
but it doesnt detect func_rotating...
i tried:
GetClientAimTarget(param, false)
and
for(new i = 0; i < fMaxEntities; i++)
{
if(IsValidEntity(i))
{
GetEntPropVector(i, Prop_Send, "m_vecOrigin", position);
if(GetVectorDistance(position, position2, true) < 200)
{
GetEdictClassname(i, name, sizeof(name));
PrintToChatAll("object: #%s",name);
}
}
}
but it doesnt detect func_rotating...