scripted_ents.Register
From GMod Wiki
| | |
| scripted_ents.Register is an internal function. This means you will be able to call it, but you really shouldn't. | |
| Function | |
| Syntax |
scripted_ents.Register( Table t, String name, Boolean reload ) Where is this used? |
| Description: | |
| Registers a new entity type and it's table to the scripted entities list. | |
| Returns: | nothing |
| Part of Library: | scripted_ents |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Scripted ents.Register]Scripted ents.Register [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- If "reload" is set to true, the entity will update each time it registered. If false, it won't be overriden.