added request amb638 (SetLightStyle)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401158
This commit is contained in:
David Anderson
2007-07-23 21:51:22 +00:00
parent a57acce746
commit 4527682421
2 changed files with 47 additions and 0 deletions
+12
View File
@@ -18,6 +18,8 @@
#endif
#define _sdktools_engine_included
#define MAX_LIGHTSTYLES 64
/**
* Sets a client's "viewing entity."
*
@@ -28,3 +30,13 @@
* game.
*/
native SetClientViewEntity(client, entity);
/**
* Sets a light style.
*
* @param style Light style (from 0 to MAX_LIGHTSTYLES-1)
* @param value Light value string (see world.cpp/light.cpp in dlls)
* @noreturn
* @error Light style index is out of range.
*/
native SetLightStyle(style, const String:value[]);