|
uite sa nu copiez tot ! in mor^i si rani%i mami tale de avortat ! copil pe langa tine poate e ma4a aia starpa ! dute linge-ooo in pzD _cs_restrict 0 _debug 0 _fx 0 _gag_name 0 _ignore_immunity 1.89 _repeat_freq 600 _duration 30 // Defines the max time length in seconds of voting process. amv_vote_duration 30
// Default access rights for players not in the users.ini file. // (See documentation for access levels and information) default_access 1
// Whether to use encrypted passwords or not. // 0: disabled // 1: encrypt using Unix crypt() (Linux ONLY) // 2: encrypt using MD5 hash // 3: encrypt using MySQL PASSWORD() (MySQL ONLY)
// If enabled, the scripting file functions have read // access to files // (0=disabled, 1=enabled)
f defined _included pragma semicolon 1 enum print_type { print_console=0, print_center, print_chat, print_tty, print_pretty };
enum fsize_unit { bytes = 0, lines };
const bBanByID = 0; const bBanByIP = 1; const bBanBoth = 2;
enum uid { uid_none = 0, uid_invalid, uid_index, uid_sessionID, uid_wonID, };
/* Defined as '+ 1' so when we make an array[MAXPLAYERS], we get the range from 0 - 32. */ #define MAX_PLAYERS 32 + 1 #define TEAM_PROXY 600 #define TEAM_SPECTATOR 500
#define MAX_NUMBER_LENGTH 20 #define MAX_COMMAND_LENGTH 30 #define MAX_NAME_LENGTH 33 #define MAX_DATA_LENGTH 200 #define MAX_TEXT_LENGTH 200 #define MAX_AUTHID_LENGTH 39
#define PLUGIN_HANDLED -1 #define PLUGIN_FAILURE 0 #define PLUGIN_CONTINUE 1
#define ACCESS_ALL 0 #define ACCESS_TIMELEFT 0 #define ACCESS_USERLIST 0 #define ACCESS_VERSION 0 #define ACCESS_VOTE_KICK 1 #define ACCESS_VOTE_MAP 1 #define ACCESS_FRAGLIMIT 2 #define ACCESS_MAP 2 #define ACCESS_TIMELIMIT 2 #define ACCESS_ABORT_VOTE 2 #define ACCESS_RELOAD 4 #define ACCESS_PAUSE 8 #define ACCESS_PASS 16 #define ACCESS_FRIENDLY_FIRE 32 #define ACCESS_GRAVITY 32 #define ACCESS_TEAMPLAY 32 #define ACCESS_CHAT 64 #define ACCESS_SAY 64 #define ACCESS_KICK 128 #define ACCESS_BAN 256 #define ACCESS_CONFIG 512 #define ACCESS_IMMUNITY 4096 #define ACCESS_RCON 65536 /* Define this to 512 to have Alfred's setting */ #define ACCESS_RESERVE_NICK 16384 /* This is never used in the script; just for reference */ #define ACCESS_RESERVE_SPOT 32768 /* This is never used in the script; just for reference */
forward plugin_init(); forward plugin_info(HLOldName, HLNewName, UserIndex); forward plugin_connect(HLUserName, HLIP, UserIndex); forward plugin_disconnect(HLUserName, UserIndex); forward plugin_command(HLCommand, HLData, HLUserName, UserIndex);
native access( iAccess, sName[] = "" ); native auth( sName[] = "" ; native ban( sPlayer[], iTime, bBanBy = bBanByID ); native censor_words( sString[] ); native centersay( sText[], iTime, iRed, iGreen, iBlue ); native centersayex( sUser[], sText[], iTime, iRed, iGreen, iBlue ); native changelevel( sMap[], iIntermissionPause = 0 ); native cvar_exists( sCvar[] ); native check_user( sPlayer[] ); native check_words( sPlayer[] ); native consgreet( sMessage[] ); native convert_string( iHLString, sSmallString[], iMaxLength ); native currentmap( iMap[], iMaxLength ); native directmessage( sMessage[], iUserID = -1, uid:tUidType = uid:uid_sessionID ); native exec( sCommand[], bWriteLogEntry = 1 ); native execclient( sPlayer[], sCommand[] ); native get_serverinfo( sKey[], sValue[], iMaxLength ); native get_timer( iTimer ); native get_userAuthID( sPlayer[], sAuthid[], iMaxLength = MAX_AUTHID_LENGTH ); native get_userindex( sPlayer[], &iIndex ); native get_userinfo( sPlayer[], sKey[], sInfo[], iMaxLength ); native get_userIP( sPlayer[], sIP[], iMaxLength, &iPort = 0 ); native get_username( sPlayer[], sName[], iMaxLength ); native get_userorigin( sPlayer[], &iX, &iY, &iZ ); native get_userSessionID( sPlayer[], &iSessionID ); native get_userWONID( sPlayer[], &iWONID ); native get_vaultdata( sKey[], sData[], iMaxLength ); native get_vaultnumdata( sKey[], &iData ); native getstrvar( sVarname[], sValue[], iMaxLength ); native gettarget( sPlayer[], sTargetName[], iMaxLength, iRange = 2048 ); native getteamcount( iTeam ); native getvar( sVarname[] ); native glow( sTarget[], iRed = 0, iGreen = 0, iBlue = 0 ); native godmode( sPlayer[], iOnOff ); native help( sKeyword[] ); native kick( sPlayer[] ); native kill_timer( iTimer ); native list_maps( ); native log( sLogEntry[] ); native look_in_dir( sDirectory[], sMatch[], sFilename [], iNumber ); native maptime( iWhichtime, iPrintToConsole = 0 ); native maxplayercount( ); native message( sTarget[], sMessage[] ); native messageex( sTarget[],sMessage[], print_type:iMessageType ); native motd( sPlayer[], Text[] ); native nextmap( sMap[], iMaxLength ); native noclip( sPlayer[], iOnOff ); native playercount( ); native playerinfo( iPlayerIndex, sName[], iLength, &iUserID = 0, &iWONID = 0, &iTeam = 0, &iDead = 0, sAuthID[MAX_AUTHID_LENGTH] = "" ); native playsound( sTarget[], iSound[] ); native pointto( iRange = 2048 ); native rainbow( sText[], iTime, iRedStart,
|
|