Garry's Mod Wiki

OnModelLoaded

OnModelLoaded( string modelName, number numPostParams, number numSeq, number numAttachments, number numBoneControllers, number numSkins, number size )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called by the engine when a model has been loaded. Caches model information with the sql.

Arguments

1 string modelName
Name of the model.
2 number numPostParams
Number of pose parameters the model has.
3 number numSeq
Number of sequences the model has.
4 number numAttachments
Number of attachments the model has.
5 number numBoneControllers
Number of bone controllers the model has.
6 number numSkins
Number of skins that the model has.
7 number size
Size of the model.

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 5
Generate Html 15
SaveChanges (1) 10
Render Body 0
Render Sidebar 11