construct.Magnet
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 )
Description
Creates a magnet.
Arguments
12 number toggle
If != 0, pressing the key toggles the magnet, otherwise you'll have to hold the key to keep it enabled