Entity.GibBreakServer
From GMod Wiki
Function | |
Syntax | Entity:GibBreakServer( Vector Position ) |
Description: | |
Running this function will cause gibs to be spawned serverside instead of clientside whenever the entity breaks. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GibBreakServer]Entity.GibBreakServer [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- This is believed to only work on props.
- This usually isn't a good idea, as serverside gibs tend to pile up and lag the server down. This could be tolerated in the case of large things, like the chimney which breaks into several large pieces, but used sparingly.