changed header and version info

This commit is contained in:
Felix Geyer 2004-02-01 18:45:44 +00:00
parent 9214a349a4
commit 51fe5a4822
22 changed files with 132 additions and 258 deletions

View File

@ -1,6 +1,8 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*/
@ -21,7 +23,7 @@ new g_cmdLoopback[16]
public plugin_init()
{
register_plugin("Admin Base","0.9","default")
register_plugin("Admin Base","0.1","default")
register_cvar("amx_mode","2.0")
register_cvar("amx_password_field","_pw")
register_cvar("amx_default_access","")

View File

@ -1,6 +1,8 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*/
@ -20,7 +22,7 @@ new g_Values[MAX_CLR][] = {{255,255,255},{255,0,0},{0,255,0},{0,0,255},{255,255,
new Float:g_Pos[4][] = {{0.0,0.0},{0.05,0.55},{-1.0,0.2},{-1.0,0.7}}
public plugin_init(){
register_plugin("Admin Chat","0.9","default")
register_plugin("Admin Chat","0.1","default")
register_clcmd("say_team","cmdSayAdmin",0,"@<text> - displays message to admins")
register_clcmd("say","cmdSayChat",ADMIN_CHAT,"@[@|@|@][w|r|g|b|y|m|c]<text> - displays hud message")
register_concmd("amx_say","cmdSay",ADMIN_CHAT,"<message> - sends message to all players")
@ -60,7 +62,7 @@ public cmdSayChat(id) {
new Float:verpos = g_Pos[i][1] + float(g_msgChannel) / 35.0
set_hudmessage(g_Values[a][0], g_Values[a][1], g_Values[a][2],
g_Pos[i][0], verpos , 0, 6.0, 6.0, 0.5, 0.15, g_msgChannel )
#if defined SHOW_NAMES
show_hudmessage(0,"%s : %s",name,message[i+1])
client_print(0,print_notify,"%s : %s",name,message[i+1])
@ -186,7 +188,7 @@ public cmdTsay(id,level,cid){
get_user_name(id,name,31)
userid = get_user_userid(id)
set_hudmessage(g_Values[a][0], g_Values[a][1], g_Values[a][2], tsay ? 0.05 : -1.0, verpos, 0, 6.0, 6.0, 0.5, 0.15, g_msgChannel)
#if defined SHOW_NAMES
show_hudmessage(0,"%s : %s",name,message[length])
client_print(0,print_notify,"%s : %s",name,message[length])
@ -196,7 +198,7 @@ public cmdTsay(id,level,cid){
client_print(0,print_notify,message[length])
console_print(id,message[length])
#endif
log_to_file(g_logFile,"Chat: ^"%s<%d><%s><>^" %s ^"%s^"",name,userid,authid,cmd[4],message[length])
log_message("^"%s<%d><%s><>^" triggered ^"%s^" (text ^"%s^") (color ^"%s^")",
name,userid,authid,cmd,message[length],g_Colors[a])

View File

@ -1,6 +1,8 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*/
@ -17,7 +19,7 @@ new bool:g_Paused
new g_addCvar[] = "amx_cvar add %s"
public plugin_init(){
register_plugin("Admin Commands","0.9","default")
register_plugin("Admin Commands","0.1","default")
register_concmd("amx_kick","cmdKick",ADMIN_KICK,"<name or #userid> [reason]")
register_concmd("amx_ban","cmdAddBan",ADMIN_BAN,"<minutes> <authid or ip> [reason]")
register_concmd("amx_banid","cmdBan",ADMIN_BAN,"<minutes> <name or #userid> [reason]")

View File

@ -1,9 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, tcquest78
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, tcquest78
* This file is provided as is (no warranties).
*
* Provides help for admin commands with amx_help command
*/
#include <amxmod>
@ -15,7 +15,7 @@ new g_timeInfo1[] = "Time Left: %d:%02d min. Next Map: %s"
new g_timeInfo2[] = "No Time Limit. Next Map: %s"
public plugin_init() {
register_plugin("Admin Help","0.9","tcquest78")
register_plugin("Admin Help","0.1","tcquest78")
register_concmd("amx_help","cmdHelp",0,"- displays this help")
setHelp(0)
}
@ -62,5 +62,4 @@ public dispInfo(id){
}
setHelp(id)
set_task(15.0,"dispInfo",id)
set_task(15.0,"dispInfo",id)

View File

@ -1,15 +1,10 @@
/* AMX Mod script.
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Kick a player without reservation who tries
* to enter to one of the reservered slots set
* by amx_reservation cvar.
*
* Cvar:
* amx_reservation <value> - sets amount of reserved slots.
*/
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* This file is provided as is (no warranties).
*/
#include <amxmod>
#include <amxmisc>
@ -21,7 +16,7 @@ new g_cmdLoopback[16]
public plugin_init()
{
register_plugin("Slots Reservation","0.9.7","default")
register_plugin("Slots Reservation","0.1","default")
register_cvar("amx_reservation","1")
format( g_cmdLoopback, 15, "amxres%c%c%c%c" ,

View File

@ -1,35 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2003, OLO
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* This file is provided as is (no warranties).
*
* I. Vote for changing the level:
* amx_votemap < map > [ map ] [ map ] [ map ]
*
* Examples:
* amx_votemap "de_dust"
* amx_votemap "de_dust" "de_dust2" "cs_italy"
*
* II. Vote for kicking the player:
* amx_votekick <name or #userid>
*
* Examples:
* amx_votekick "Player"
*
* III. Vote for banning and kicking the player for 30 minutes:
* amx_voteban <name or #userid>
*
* Examples:
* amx_voteban "Player"
*
* IV. Custom voting:
* amx_vote < question > < g_Answer1 > < g_Answer2 >
*
* Examples:
* amx_vote "sv_restart" "5" "0"
* amx_vote "mp_timelimit" "20" "45"
* amx_vote "are you hungry?" "yes" "no"
*
*/
#include <amxmod>
@ -55,7 +29,7 @@ new bool:g_execResult
new Float:g_voteRatio
public plugin_init() {
register_plugin("Admin Votes","0.9","default")
register_plugin("Admin Votes","0.1","default")
register_menucmd(register_menuid("Change map to ") ,(1<<0)|(1<<1),"voteCount")
register_menucmd(register_menuid("Choose map: ") ,(1<<0)|(1<<1)|(1<<2)|(1<<3),"voteCount")
register_menucmd(register_menuid("Kick ") ,(1<<0)|(1<<1),"voteCount")

View File

@ -1,10 +1,9 @@
/* AMX Mod script.
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* Cvar:
* amx_flood_time <time in sec.> - set frequency of chating
* This file is provided as is (no warranties).
*/
#include <amxmod>
@ -13,7 +12,7 @@ new Float:g_Flooding[33]
public plugin_init()
{
register_plugin("Anti Flood","0.9","default")
register_plugin("Anti Flood","0.1","default")
register_clcmd("say","chkFlood")
register_clcmd("say_team","chkFlood")
register_cvar("amx_flood_time","0.75")
@ -22,20 +21,20 @@ public plugin_init()
public chkFlood(id)
{
new Float:maxChat = get_cvar_float("amx_flood_time")
if ( maxChat )
{
new Float:nexTime = get_gametime()
if ( g_Flooding[id] > nexTime )
{
client_print( id , print_notify , "** Stop flooding the server!" )
g_Flooding[ id ] = nexTime + maxChat + 3.0
return PLUGIN_HANDLED
}
g_Flooding[id] = nexTime + maxChat
}
return PLUGIN_CONTINUE
}

View File

@ -1,8 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
*/
#include <amxmod>

View File

@ -1,20 +1,18 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Server command:
* amx_imessage <msg> <colour in RRRGGGBBB format>
*
*/
#include <amxmod>
#include <amxmisc>
#define MAX_MESSAGES 6
#define X_POS -1.0
#define Y_POS 0.30
#define HOLD_TIME 12.0
#define MAX_MESSAGES 6
#define X_POS -1.0
#define Y_POS 0.30
#define HOLD_TIME 12.0
new g_Values[MAX_MESSAGES][3]
new g_Messages[MAX_MESSAGES][384]
@ -22,7 +20,7 @@ new g_MessagesNum
new g_Current
public plugin_init(){
register_plugin("Info. Messages","0.9","default")
register_plugin("Info. Messages","0.1","default")
register_srvcmd("amx_imessage","setMessage")
register_cvar("amx_freq_imessage","10")
new lastinfo[8]
@ -73,4 +71,4 @@ public plugin_end(){
new lastinfo[8]
numtostr(g_Current,lastinfo,7)
set_localinfo("lastinfomsg",lastinfo)
}
}

View File

@ -1,20 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2002-2003, OLO
* This file is provided as is (no warranties).
*
* On two minutes before the timelimit plugin
* displays menu with 5 random maps to select.
* One of the options is also map extending.
* Map with most votes becomes the nextmap.
*
* Maps to selected are in maps.ini file.
*
* Cvars:
* amx_extendmap_max <time in mins.> - max. time for overall extending
* amx_extendmap_step <time in mins.> - with what time the map will be extended
*
* NOTE: Nextmap plugin is required for proper working of this plugin.
*/
#include <amxmod>
@ -38,7 +27,7 @@ new g_logFile[16]
public plugin_init()
{
register_plugin("Nextmap chooser","0.9","default")
register_plugin("Nextmap chooser","0.1","default")
register_menucmd(register_menuid("AMX Choose nextmap:"),(-1^(-1<<(SELECTMAPS+2))),"countVote")
register_cvar("amx_extendmap_max","90")
register_cvar("amx_extendmap_step","15")

View File

@ -1,41 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Content for configuation copied from ClanMod cfg. file.
*
* Admin command:
* amx_mapmenu - displays maps menu
*
* Example configuration in addons/amx/maps.ini
as_oilrig "OilRig - Assassination"
as_tundra "Tundra - Assassination"
de_aztec "Aztec - Bomb/Defuse"
de_cbble "Cobble - Bomb/Defuse"
de_chateau "Chateau - Bomb/Defuse"
de_dust "Dust - Bomb/Defuse"
de_dust2 "Dust II - Bomb/Defuse"
de_inferno "Inferno - Bomb/Defuse"
de_nuke "Nuke - Bomb/Defuse"
de_prodigy "Prodigy - Bomb/Defuse"
de_storm "Storm - Bomb/Defuse"
de_survivor "Survivor - Bomb/Defuse"
de_train "Trainyard - Bomb/Defuse"
de_torn "Torn - Bomb/Defuse"
de_vegas "Vegas - Bomb/Defuse"
de_vertigo "Vertigo - Bomb/Defuse"
cs_747 "747 Hijack - Hostage Rescue"
cs_assault "Assault - Hostage Rescue"
cs_backalley "Alleyway - Hostage Rescue"
cs_estate "Zaphod's Estate - Hostage Rescue"
cs_havana "Havana - Hostage Rescue"
cs_italy "Italy - Hostage Rescue"
cs_militia "Militia - Hostage Rescue"
cs_office "The Office Complex - Hostage Rescue"
cs_siege "Canyon Siege - Hostage Rescue"
*/
@ -61,7 +29,7 @@ new g_choosed
public plugin_init()
{
register_plugin("Maps Menu","0.9","default")
register_plugin("Maps Menu","0.1","default")
register_clcmd("amx_mapmenu","cmdMapsMenu",ADMIN_MAP,"- displays changelevel menu")
register_clcmd("amx_votemapmenu","cmdVoteMapMenu",ADMIN_MAP,"- displays votemap menu")

View File

@ -1,8 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
*/
#include <amxmod>
@ -95,7 +96,7 @@ new g_funModule
public plugin_init()
{
register_plugin("Menus Front-End","0.9","default")
register_plugin("Menus Front-End","0.1","default")
register_menucmd(register_menuid("AMX Mod Menu"),1023,"actionMenu")
register_clcmd("amxmodmenu","cmdMenu",ADMIN_MENU,"- displays menus")

View File

@ -1,27 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* This file is provided as is (no warranties).
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* This plugin contains:
* o multikill announcement
* o bomb events
* o killing streak
* o enemy remaining
* o round counter
* o italy bonus kill
* o knife kill
* o headshot kill
* o greanade kill
* o last man
* o double kill
* o player name
* o first blood sound
*
* To use with AMX 0.9.6 (and higher) and Counter-Strike.
* Stats can be enabled with amx_statscfg and amx_statscfgmenu commands.
* NOTE: For pernament disable, comment file from plugins.ini
* or use amx_pausecfg and amx_pausecfgmenu commands.
* Rest of stats can be found in csstats plugin.
* This file is provided as is (no warranties).
*/
#include <amxmod>
@ -138,7 +120,7 @@ new g_teamsNames[2][] = {
}
public plugin_init(){
register_plugin("Misc. Stats","0.9","default")
register_plugin("Misc. Stats","0.1","default")
register_event("DeathMsg","eDeathMsg","a")
register_event("TextMsg","eRestart","a","2&#Game_C","2&#Game_w")
register_event("SendAudio", "eEndRound", "a", "2&%!MRAD_terwin","2&%!MRAD_ctwin","2&%!MRAD_rounddraw")

View File

@ -1,14 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Mapcycle is immune to manual map changes and map votes.
*
* Cvars:
* amx_nextmap < mapname > - sets nextmap
* Commands:
* say nextmap - dispalys the nextmap (available for all clients)
*/
#include <amxmod>
@ -24,8 +19,8 @@ new g_pos
public plugin_init()
{
register_plugin("NextMap","0.9","default")
register_event( "30" , "changeMap", "a" )
register_plugin("NextMap","0.1","default")
register_event("30","changeMap","a")
register_clcmd("say nextmap","sayNextMap",0,"- displays nextmap")
register_cvar("amx_nextmap","",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY)

View File

@ -1,15 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Admin commands:
* amx_kickmenu - displays kick menu
* amx_banmenu - displays ban menu
* amx_slapmenu - displays slap/slay menu
* amx_teammenu - displays team menu
* amx_clcmdmenu - displays client commands menu
*
*/
#include <amxmod>
@ -24,7 +18,7 @@ new g_menuSettings[33]
new g_menuSelect[33][64]
new g_menuSelectNum[33]
#define MAX_CLCMDS 24
#define MAX_CLCMDS 24
new g_clcmdName[MAX_CLCMDS][32]
new g_clcmdCmd[MAX_CLCMDS][64]
@ -37,7 +31,7 @@ new g_cstrikeRunning
public plugin_init()
{
register_plugin("Players Menu","0.9","default")
register_plugin("Players Menu","0.1","default")
register_clcmd("amx_kickmenu","cmdKickMenu",ADMIN_KICK,"- displays kick menu")
register_clcmd("amx_banmenu","cmdBanMenu",ADMIN_BAN,"- displays ban menu")
register_clcmd("amx_slapmenu","cmdSlapMenu",ADMIN_SLAY,"- displays slap/slay menu")

View File

@ -1,10 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Server command:
* amx_scrollmsg <msg> <freq. in sec.>
*/
#include <amxmod>
@ -21,7 +20,7 @@ new g_Length
new g_Frequency
public plugin_init(){
register_plugin("Scrolling Message","0.9","default")
register_plugin("Scrolling Message","0.1","default")
register_srvcmd("amx_scrollmsg","setMessage")
}

View File

@ -1,19 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Plugin works with Stats Settings Plugin. Just run both of them.
* By amx_statscfg command (from Stats Settings Plugin)
* you will be able to set all settings and save them to a file.
*
* Example of usage for some options:
* amx_ststacfg on ShowAttackers
* amx_ststacfg on SayHP
*
* Accept able are also parts of name:
* amx_statscfg off say
* amx_statscfg on show
*/
#include <amxmod>
@ -55,7 +45,7 @@ new g_teamScore[2]
new g_disabledMsg[] = "Server has disabled that option"
public plugin_init() {
register_plugin("Stats","0.9","default")
register_plugin("Stats","0.1","default")
register_event("CS_DeathMsg","eCSDeathMsg","a")
register_event("ResetHUD","eResetHud","b")
register_event("SendAudio","eRoundEnd","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")

View File

@ -1,9 +1,10 @@
/* AMX Mod script. (Feb 4th, 2003)
*
* Stats Logging
* by JustinHoMi
*
*/
/* AMX Mod X script.
*
* (c) 2002-2004, JustinHoMi
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* This file is provided as is (no warranties).
*/
#include <amxmod>
#include <csstats>
@ -12,7 +13,7 @@ new g_pingSum[33]
new g_pingCount[33]
public plugin_init()
register_plugin("Stats Logging","0.9","JustinHoMi")
register_plugin("Stats Logging","0.1","JustinHoMi")
public client_disconnect(id) {
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
@ -56,4 +57,4 @@ public getPing( id ) {
get_user_ping( id , iPing, iLoss)
g_pingSum[ id ] += iPing
++g_pingCount[ id ]
}
}

View File

@ -1,11 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Admin command:
* amx_statscfgmenu - displays stats configuration menu
* amx_statscfg - displays help for stats configuration commands
*/
#include <amxmod>
@ -27,7 +25,7 @@ public plugin_precache(){
}
public plugin_init() {
register_plugin("Stats Configuration","0.9","default")
register_plugin("Stats Configuration","0.1","default")
register_menucmd(register_menuid("\yStats Configuration"),1023,"actionCfgMenu")
build_path( g_fileToSave , 63 , "$basedir/stats.ini" )
loadSettings(g_fileToSave)

View File

@ -1,13 +1,10 @@
/* AMX Mod script.
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Fun Module is required!
*
* Admin command:
* amx_teleportmenu - displays teleport menu
*/
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* This file is provided as is (no warranties).
*/
#include <amxmod>
#include <amxmisc>
@ -22,7 +19,7 @@ new g_cstrikeRunning
public plugin_init()
{
register_plugin("Teleport Menu","0.9","default")
register_plugin("Teleport Menu","0.1","default")
register_clcmd("amx_teleportmenu","cmdTelMenu",ADMIN_CFG,"- displays teleport menu")
register_menucmd(register_menuid("Teleport Menu"),1023,"actionTelMenu")
get_logfile(g_logFile,15)

View File

@ -1,23 +1,9 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*
* Commands:
* say timeleft - displays timeleft (available for all clients)
* amx_time_display < flags time > ... - sets time displaying
* Flags:
* "a" - display text
* "b" - use voice
* "c" - don't add "remaining" (only in voice)
* "d" - don't add "hours/minutes/seconds" (only in voice)
* "e" - show/speak if current time is less than this set
* Example:
* amx_time_display "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
*
* Cvars:
* amx_time_voice < 1|0 > - announces "say thetime"
* and "say timeleft" with voice when set to 1
*/
#include <amxmod>
@ -28,7 +14,7 @@ new g_CountDown
new g_Switch
public plugin_init() {
register_plugin("TimeLeft","0.9","default")
register_plugin("TimeLeft","0.1","default")
register_cvar("amx_time_voice","1")
register_srvcmd("amx_time_display","setDisplaying")
register_cvar("amx_timeleft","00:00",FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPONLY)

View File

@ -1,6 +1,8 @@
/* AMX Mod script.
/* AMX Mod X script.
*
* (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer
*
* (c) 2003, OLO
* This file is provided as is (no warranties).
*/
@ -20,7 +22,7 @@ new g_motdFile[64]
public plugin_init()
{
register_plugin("Welcome Message","0.9","default")
register_plugin("Welcome Message","0.1","default")
g_cstrikeRunning = is_running("cstrike")
#if defined READ_FROM_FILE
build_path( g_motdFile , 63 , "$basedir/conmotd.txt" )