plugins/include/sdktools_engine.inc
author Phong Dang <teame06@gmail.com>
Sun Jul 29 00:26:18 2007 +0000 (2007-07-29)
changeset 1200 623603b49096
parent 1152 419824987e06
child 1219 6f440a361fa7
permissions -rw-r--r--
Fixed AskPluginLoad would still allowed plugin to load even if it returned false.
     1 /**
     2  * vim: set ts=4 :
     3  * ===============================================================
     4  * SourceMod (C)2004-2007 AlliedModders LLC.  All rights reserved.
     5  * ===============================================================
     6  *
     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
    12  *
    13  * Version: $Id$
    14  */
    15 
    16 #if defined _sdktools_engine_included
    17   #endinput
    18 #endif
    19 #define _sdktools_engine_included
    20 
    21 #define MAX_LIGHTSTYLES			64
    22 
    23 /**
    24  * Sets a client's "viewing entity."
    25  *
    26  * @param client		Client index.
    27  * @param entity		Entity index.
    28  * @noreturn
    29  * @error				Invalid client or entity, lack of mod support, or client not in 
    30  *						game.
    31  */
    32 native SetClientViewEntity(client, entity);
    33 
    34 /**
    35  * Sets a light style.
    36  *
    37  * @param style			Light style (from 0 to MAX_LIGHTSTYLES-1)
    38  * @param value			Light value string (see world.cpp/light.cpp in dlls)
    39  * @noreturn
    40  * @error				Light style index is out of range.
    41  */
    42 native SetLightStyle(style, const String:value[]);