classname
How can i get entitys classname, By classname I mean func_door
|
Re: classname
|
Re: classname
I want the other way around.I want that i could get classname from ent index
|
Re: classname
Code:
|
Re: classname
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 ); } |
Re: classname
Quote:
Code:
charsmax() |
Re: classname
also when putting code in here make it easier for us to read.
use the php and /php tags... put the in [] then it looks like PHP Code:
|
Re: classname
To clarify, he means to post code like this:
[php] public plugin_init() { register_clcmd("say", "cmdSay") register_clcmd("say_team", "cmdSay") } [/php] So it looks like this: PHP Code:
[noparse][php]client_print(id, print_chat, "WAS UP");[/php][/noparse] |
Re: classname
Quote:
|
Re: classname
So can you guys tell me what's wrong?
|
| All times are GMT -4. The time now is 03:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.