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.
[QUOTE=_Undefined;25086496]ent:SetKeyValue("spawnflags", "SPAWNFLAGSHERE") ent:Spawn()
Should do it.[/QUOTE]Thank you.
[editline]03:57PM[/editline]
Whata hell? [url]http://www.facepunch.com/showthread.php?t=1006928[/url] :D You lazy bastard.
Hah.
Sorry, you need to Log In to post a reply to this thread.