scripted_ents.GetList

From GMod Wiki

Jump to: navigation, search
Function
Syntax scripted_ents.GetList( )
Where is this used?
Description:
Returns a table containing the tables of all registered SENTs
Returns: Table
Part of Library: scripted_ents
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Scripted ents.GetList]Scripted ents.GetList [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrint all registered SENTs
Used onNewerShared.png
Code
for k, v in pairs( scripted_ents.GetList( ) ) do
	print( v.ClassName )
end
OutputText of all class names, varies depending on what addons you have installed.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox