Raised This Month: $ Target: $400
 0% 

[Help] How do I get entity ID by string?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 01-09-2015 , 03:57   Re: [Help] How do I get entity ID by string?
Reply With Quote #1

Quote:
What function should I use?
What is "target" and "targetname"?????
What are you talking about?
Quote:
That page has no example. It says:

but it doesn't tell how "model_to_find" must be input (it could be "parachute", "parachute.mdl", "models/parachute.mdl"). A real working example would be appreciated instead of "model_to_find", "class_to_find", "target_to_find", blablabla. It is useless
Did you search on the forum?
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:
Why first parmeter is -1 ?
This is the start entity, the funtion will loop through all entity when called.
RateX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode