HolyLib Wiki

GetStateFlags

  number pvs.GetStateFlags( Entity entity, boolean engine = false )

Description

Returns the state flags for the given entity.

Only use the engine argument if you know what your doing

Arguments

1Entity entity
the entity to add. Can also be a table and EntityList of entities
2boolean engine = false
If set to true you can override the edict flags themselfs instead of just the state flags

Returns

1number flags
The flags set on the entity. Returns a table(Key: Entity, Value: flags) when given a table or EntityList