Entity:GetSpawnFlags
Description
Returns the bitwise spawn flags used by the entity.
Returns
Example
An alternative to Entity:HasSpawnFlags
local sf = ent:GetSpawnFlags()
if( bit.band( sf, SF_PHYSPROP_PREVENT_PICKUP ) > 0 ) then
print( "This prop cannot be picked up." )
end