Garry's Mod Wiki

construct

construct

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.

Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 23
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 6