Garry's Mod Wiki

CNavArea:MarkAsDamaging

  CNavArea:MarkAsDamaging( number duration )

Description

Marks the area as damaging if traversed, for example when, for example having poisonous or no atmosphere, or a temporary fire present. See CNavArea:IsDamaging.

Arguments

1 number duration
For how long the area should stay marked as damaging. Multiple calls will overwrite the previous value.