3 * ===============================================================
4 * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
5 * ===============================================================
7 * This file is part of the SourceMod/SourcePawn SDK. This file may only be used
8 * or modified under the Terms and Conditions of its License Agreement, which is found
9 * in LICENSE.txt. The Terms and Conditions for making SourceMod extensions/plugins
10 * may change at any time. To view the latest information, see:
11 * http://www.sourcemod.net/license.php
16 #if defined _sdktools_engine_included
19 #define _sdktools_engine_included
21 #define MAX_LIGHTSTYLES 64
24 * Sets a client's "viewing entity."
26 * @param client Client index.
27 * @param entity Entity index.
29 * @error Invalid client or entity, lack of mod support, or client not in
32 native SetClientViewEntity(client, entity);
37 * @param style Light style (from 0 to MAX_LIGHTSTYLES-1)
38 * @param value Light value string (see world.cpp/light.cpp in dlls)
40 * @error Light style index is out of range.
42 native SetLightStyle(style, const String:value[]);
45 * Returns the client's eye position.
47 * @param client Player's index.
48 * @param pos Destination vector to store the client's eye position.
50 * @error Invalid client index, client not in game, or no mod support.
52 native GetClientEyePosition(client, Float:pos[3]);