pvs.GetStateFlags
Description
Returns the state flags for the given entity.
Only use the engine argument if you know what your doing
Arguments
2boolean engine = false
If set to true you can override the edict flags themselfs instead of just the state flags