Entity.HasSpawnFlags
From GMod Wiki
Revision as of 04:48, 25 September 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax | Entity:HasSpawnFlags( Integer ) |
Description: | |
Returns true if the specified spawnflag is part of that entities's spawnflags. | |
Returns: | Boolean |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.HasSpawnFlags]Entity.HasSpawnFlags [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Notes
- Set spawnflags using Entity:SetKeyValue( "spawnflags", integer )
- Refer to an entity's page on the Source SDK wiki to know it's possible spawn flags.