Player.SetAvoidPlayers
From GMod Wiki
Function | |
Syntax | Player:SetAvoidPlayers( Boolean AvoidPlayers ) |
Description: | |
If the player is Nocollided with another, he/she is pushed away when they move into the other player. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetAvoidPlayers]Player.SetAvoidPlayers [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- You may not be pushed out when moving at full speed through another player. You are only pushed when you stop moving while inside another player.