Entity/IsEffectActive

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=IsEffectActive
 
|Parent=Entity
 
 
|Description=Returns whether an entity has engine effect applied or not.
 
|Description=Returns whether an entity has engine effect applied or not.
 
|Realm=Shared
 
|Realm=Shared
Line 13: Line 11:
 
{{Ret
 
{{Ret
 
|type=boolean
 
|type=boolean
|desc=whether an entity has the engine effect applied or not.
+
|desc=Whether the entity has the engine effect applied or not.
 
}}
 
}}

Latest revision as of 13:04, 11 October 2019

 Entity:IsEffectActive( )

Description

Returns whether an entity has engine effect applied or not.

Arguments

number effect

The effect to check for, see EF_ Enums.

Returns

boolean

Whether the entity has the engine effect applied or not.
Personal tools
Navigation