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.

For players, the range is 0 to 10.

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

Arguments

1 number friction
Friction multiplier