Quote:
Originally Posted by RateX
|
Hello!!!! emm i have already read that. I ask for help because i dont understand. That tutorial is very poor and incomplete.
What function should I use?
What is "target" and "targetname"?????
That page has no example. It says:
PHP Code:
find_ent_by_model(-1,"classname_to_find","model_to_find")
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
I need an example like:
PHP Code:
find_ent_by_model(-1,"primaryweapon", "models/w_ak47.mdl")
(i dont know if it should be "models/w_ak47.mdl", "weapon_ak47", "w_ak47", etc. That's why that guide is poor.)
Why first parmeter is
-1 ?
Thanks a lot mate