 |
|
Senior Member
Join Date: Nov 2009
Location: Lithuania
|

08-07-2011
, 14:20
Re: classname
|
#5
|
Why doesn't this work?
new classname[32]
pev( id, pev_classname, classname, charmax( classname ) )
new ent = -1
client_print(id, print_chat,"[debug] hit=%d; start=%d,%d,%d; end=%d,%d,%d; class=%i", hit, iStart[0], iStart[1], iStart[2], iEnd[0], iEnd[1], iEnd[2],classname[32]) // remove on final version
while(ent = find_ent_in_sphere( id, iEnd, 200.0 ))
{
if(is_valid_ent(ent))
dllfunc( DLLFunc_Use, ent, 0 );
}
|
|
|
|