[Include] ALL model names (and bone names)
#1

sup,
I'm working on a "hold object studio" to help finding, placing, and rotating objects in SetPlayerHoldingObject. I wanted it to show the name of whichever model being viewed, so I made this! I will add search functionality in the future aswell.
This contains the names of 14831 model IDs and all the available bones.

Example usage:
pawn Код:
new
    szBoneName[ MAX_BONE_NAME ],
    szModelName[ MAX_MODEL_NAME ]
;

GetBoneName( 4, szBoneName );
GetBoneName( 1234, szModelName );
Download: model_info.inc (908 kb)
Reply
#2

that's awesome! nice one slice
Reply
#3

Lol... Wow. That's a nice long include.
Reply
#4

Thanks you, I know some people will use it.
Reply
#5

Great, thanks for your dedication.
Reply
#6

Quote:
Originally Posted by g_aSlice
Посмотреть сообщение
sup,
I'm working on a "hold object studio" to help finding, placing, and rotating objects in SetPlayerHoldingObject. I wanted it to show the name of whichever model being viewed, so I made this! I will add search functionality in the future aswell.
This contains the names of 14831 model IDs and all the available bones.

Example usage:
pawn Код:
new
    szBoneName[ MAX_BONE_NAME ],
    szModelName[ MAX_MODEL_NAME ]
;

GetBoneName( 4, szBoneName );
GetBoneName( 1234, szModelName );
Download: model_info.inc (908 kb)
Looks great, but your example usage is wrong. Pretty sure you meant GetModelName.
Reply
#7

Nice work slice <3.
Reply
#8

That is actually pretty, cool.
Reply
#9

In what way did you get this code?
Did you really type in every single model name, or did you use some kind of generator to make the code?

Either way, this is awesome!
Reply
#10

Quote:
Originally Posted by LarzI
Посмотреть сообщение
In what way did you get this code?
Did you really type in every single model name, or did you use some kind of generator to make the code?

Either way, this is awesome!
I made a php script that went through all GTA .ide files and generated the switch statement.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)