Garry's Mod Wiki

Entity:SetFriction

  Entity:SetFriction( number friction )

Description

Sets friction multiplier for this entity when sliding against a surface. Entities default to 1 (100%) and can be higher.

This may not affect all entities, but does work for players (the range is 0 to 10), as well as other entities using MOVETYPE_STEP

This only multiplies the friction of the entity, to change the value itself use PhysObj:SetMaterial.

Arguments

1 number friction
Friction multiplier