Updated TF2_OnIsHolidayActive ret behavior to match doc (
bug 5155, r=fyren).
3 * =============================================================================
4 * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved.
5 * =============================================================================
7 * This file is part of the SourceMod/SourcePawn SDK.
9 * This program is free software; you can redistribute it and/or modify it under
10 * the terms of the GNU General Public License, version 3.0, as published by the
11 * Free Software Foundation.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
18 * You should have received a copy of the GNU General Public License along with
19 * this program. If not, see <http://www.gnu.org/licenses/>.
21 * As a special exception, AlliedModders LLC gives you permission to link the
22 * code of this program (as well as its derivative works) to "Half-Life 2," the
23 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
24 * by the Valve Corporation. You must obey the GNU General Public License in
25 * all respects for all other code used. Additionally, AlliedModders LLC grants
26 * this exception to all derivative works. AlliedModders LLC defines further
27 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
28 * or <http://www.sourcemod.net/license.php>.
33 #if defined _sdktools_engine_included
36 #define _sdktools_engine_included
38 #define MAX_LIGHTSTYLES 64
41 * Sets a client's "viewing entity."
43 * @param client Client index.
44 * @param entity Entity index.
46 * @error Invalid client or entity, lack of mod support, or client not in
49 native SetClientViewEntity(client, entity);
54 * @param style Light style (from 0 to MAX_LIGHTSTYLES-1)
55 * @param value Light value string (see world.cpp/light.cpp in dlls)
57 * @error Light style index is out of range.
59 native SetLightStyle(style, const String:value[]);
62 * Returns the client's eye position.
64 * @param client Player's index.
65 * @param pos Destination vector to store the client's eye position.
67 * @error Invalid client index, client not in game, or no mod support.
69 native GetClientEyePosition(client, Float:pos[3]);