ItsMods
[Request] Model analyser - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Request] Model analyser (/Thread-Request-Model-analyser.html)



Model analyser - RaZ - 07-11-2012

Can anyone make a mod/code what is reading the model name ingame when I press F while I am looking on a object?
Like if I look at a benzinbarrel, after I press F it will write "iPrintLnBold":
Code:
This is a "com_barrel_benzin" model.

I meant about something like this:
Code:
if (usebuttonpressed) readmodelname [whereisplayerlookingon.something] self iPrintLnBold "This is a [.something] model."

Can't explain it easier. Big Grin


RE: Model analyser - zxz0O0 - 07-11-2012

Use your code here and then print entity.model Huh http://www.itsmods.com/forum/Thread-Is-that-possible.html


RE: Model analyser - RaZ - 07-11-2012

(07-11-2012, 17:25)zxz0O0 Wrote: Use your code here and then print entity.model Huh http://www.itsmods.com/forum/Thread-Is-that-possible.html

I thought this, but I can not pick up all object -> can not get all object's name.

And it is just writing: Unbound
Code:
self iPrintLnBold ("[{entity.model}] [{entityname}]");