Added functionality for the auto-channeler

This commit is contained in:
David Anderson
2005-11-19 01:25:34 +00:00
parent 694d7c118c
commit 62e7e22a93
10 changed files with 78 additions and 16 deletions

View File

@ -11,9 +11,9 @@
#endif
#define _amxconst_included
#define AMXX_VERSION 1.60
#define AMXX_VERSION_NUM 160
stock const AMXX_VERSION_STR[]="1.60"
#define AMXX_VERSION 1.61
#define AMXX_VERSION_NUM 161
stock const AMXX_VERSION_STR[]="1.61"
#define ADMIN_ALL 0 /* everyone */
#define ADMIN_IMMUNITY (1<<0) /* flag "a" */

View File

@ -127,7 +127,11 @@ native register_event(const event[],const function[],const flags[],cond[]="", ..
*/
native register_logevent(const function[], argsnum, ... );
/* Sets format for hudmessage. */
/**
* Sets format for hudmessage.
* Note - as of AMX Mod X 1.61, setting the channel to -1
* will automatically choose the next available HUD channel for a player.
*/
native set_hudmessage(red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2,channel=4);
/* Displays HUD message to given player. */
@ -895,3 +899,8 @@ native abort(error, const fmt[]="", {Float,_}:...);
* module_exists("dbi")
*/
native module_exists(const logtag[]);
/**
* Returns the next valid hudchannel for a user, from 1-4.
*/
native next_hudchannel(player);