From Garry's Mod
Jump to: navigation, search
 Entity:GibBreakClient( )


Causes the entity to break into its current models gibs, if it has any.

You must call Entity:PrecacheGibs on the entity before using this function, or it will not create any gibs.

If called on server, the gibs will be spawned on the currently connected clients and will not be synchronized. Otherwise the gibs will be spawned only for the client the function is called on.

Note, that this function will not remove or hide the entity it is called on.

For more expensive version of this function see Entity:GibBreakServer.


Vector force

The force to apply to the created gibs
Personal tools