plugins/include/sdktools_client.inc
author Ryan Stecker <voidedweasel@gmail.com>
Fri Dec 14 15:18:30 2012 -0500 (2012-12-14)
changeset 3705 23ac06d0c633
parent 3339 ab8bc0494926
permissions -rw-r--r--
Fixed VoteMenuToAll stock adding bots to list (bug 5253, r=asherkin).
bluebriansimon@3339
     1
/**
bluebriansimon@3339
     2
 * vim: set ts=4 :
bluebriansimon@3339
     3
 * =============================================================================
bluebriansimon@3339
     4
 * SourceMod (C)2004-2008 AlliedModders LLC.  All rights reserved.
bluebriansimon@3339
     5
 * =============================================================================
bluebriansimon@3339
     6
 *
bluebriansimon@3339
     7
 * This file is part of the SourceMod/SourcePawn SDK.
bluebriansimon@3339
     8
 *
bluebriansimon@3339
     9
 * This program is free software; you can redistribute it and/or modify it under
bluebriansimon@3339
    10
 * the terms of the GNU General Public License, version 3.0, as published by the
bluebriansimon@3339
    11
 * Free Software Foundation.
bluebriansimon@3339
    12
 * 
bluebriansimon@3339
    13
 * This program is distributed in the hope that it will be useful, but WITHOUT
bluebriansimon@3339
    14
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
bluebriansimon@3339
    15
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
bluebriansimon@3339
    16
 * details.
bluebriansimon@3339
    17
 *
bluebriansimon@3339
    18
 * You should have received a copy of the GNU General Public License along with
bluebriansimon@3339
    19
 * this program.  If not, see <http://www.gnu.org/licenses/>.
bluebriansimon@3339
    20
 *
bluebriansimon@3339
    21
 * As a special exception, AlliedModders LLC gives you permission to link the
bluebriansimon@3339
    22
 * code of this program (as well as its derivative works) to "Half-Life 2," the
bluebriansimon@3339
    23
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
bluebriansimon@3339
    24
 * by the Valve Corporation.  You must obey the GNU General Public License in
bluebriansimon@3339
    25
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
bluebriansimon@3339
    26
 * this exception to all derivative works.  AlliedModders LLC defines further
bluebriansimon@3339
    27
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
bluebriansimon@3339
    28
 * or <http://www.sourcemod.net/license.php>.
bluebriansimon@3339
    29
 *
bluebriansimon@3339
    30
 * Version: $Id$
bluebriansimon@3339
    31
 */
bluebriansimon@3339
    32
bluebriansimon@3339
    33
#if defined _sdktools_client_included
bluebriansimon@3339
    34
  #endinput
bluebriansimon@3339
    35
#endif
bluebriansimon@3339
    36
#define _sdktools_client_included
bluebriansimon@3339
    37
bluebriansimon@3339
    38
/**
bluebriansimon@3339
    39
 * Sets the client to an inactive state waiting for a new map
bluebriansimon@3339
    40
 *
bluebriansimon@3339
    41
 * @param client		The client index
bluebriansimon@3339
    42
 * @noreturn
bluebriansimon@3339
    43
 */
bluebriansimon@3339
    44
native InactivateClient(client);
bluebriansimon@3339
    45
bluebriansimon@3339
    46
/**
bluebriansimon@3339
    47
 * Reconnect a client without dropping the netchannel
bluebriansimon@3339
    48
 *
bluebriansimon@3339
    49
 * @param client		The client index
bluebriansimon@3339
    50
 * @noreturn
bluebriansimon@3339
    51
 */
bluebriansimon@3339
    52
native ReconnectClient(client);