Garry's Mod Wiki

Garry's Mod Wiki

The construct library is used to control the physical properties of entities.

Methods

Entity construct.Magnet( Player ply, Vector pos, Angle ang, string model, string material, number key, number maxObjects, number strength, number nopull = 0, number allowrot = 0, number startOn = 0, number toggle, Vector vel = Vector( 0, 0, 0 ), Angle aVel = Angle( 0, 0, 0 ), boolean frozen = false )
Creates a magnet.
construct.SetPhysProp( Player ply, Entity ent, number physObjID, PhysObj physObj, table data )
Sets props physical properties.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...