Entity.InitializeAsClientEntity
From GMod Wiki
| Function | |
| Syntax | Entity:InitializeAsClientEntity( ) |
| Description: | |
| Running this function in your scripted entity's Initialize hook allows you to create a completely clientside entity. There will be no communication with the server. | |
| Returns: | nil |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.InitializeAsClientEntity]Entity.InitializeAsClientEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |
Additional Notes
- Clientside entities should only be created clientside.