Adding SpawnFlags on spawning.

How can i add spawnflags to an entity when spawning through a script?

FALCON Bump!

No, seriously, even if there isn’t a way please tell so that i could stop searching.

[lua]
ent:SetKeyValue(“spawnflags”, “SPAWNFLAGSHERE”)
ent:Spawn()
[/lua]

Should do it.

Thank you.

[editline]03:57PM[/editline]

Whata hell? http://www.facepunch.com/showthread.php?t=1006928 :smiley: You lazy bastard.

Hah.