construct.Magnet
From GMod Wiki
Function | |
Syntax |
construct.Magnet( Player pl, Vector pos, Angle angle, String model, String material, Number key, Number maxobjects, Number strength, Number nopull, Number allowrot, Number alwayson, Number toggle, Vector Vel, Vector aVel, Boolean frozen ) Where is this used? |
Description: | |
Creates a magnet. | |
Returns: | Entity magnet |
Part of Library: | construct |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Construct.Magnet]Construct.Magnet [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- A magnet not only attracts metal objects and other magnets, but it is a useful tool to make something you don't want to break indestructible, just turn it into a magnet
This article is a stub. You can help the GMod Wiki by expanding it. |