[Help] How do I get entity ID by string?
Hello, I need to get an entity ID by typing its model path. For example, how do I get "models/parachute.mdl" 's entity ID?
Thanks |
Re: [Help] How do I get entity ID by string?
|
Re: [Help] How do I get entity ID by string?
Quote:
What function should I use? What is "target" and "targetname"????? That page has no example. It says: PHP Code:
I need an example like: PHP Code:
Why first parmeter is -1 ? Thanks a lot mate |
Re: [Help] How do I get entity ID by string?
Quote:
Quote:
Some classnames: http://twhl.info/wiki.php?sub=2, http://twhl.info/wiki.php?sub=1 The rest can be found in already made plugins. Quote:
|
Re: [Help] How do I get entity ID by string?
Quote:
|
| All times are GMT -4. The time now is 15:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.