// team selection control
amx_ptb limitjoin on // set limits on team joining
是否開啟參加模式控制
amx_ptb limitafter 0 // number of rounds after which teams limiting begins
開始幾場後才會開始限制
amx_ptb limitmin 5 // number of minimum players on map for team limiting
最少多少玩家才會開始(轉)切換(設值3.5.7..)
amx_ptb maxsize 28 // maximum team size per team
設總人數的大小
amx_ptb maxdiff 3 // maximum team size difference
兩隊最大差距人數
amx_ptb autorounds 3 // number of first rounds into match, which allow autojoin only
剛開始的前幾場不能自由選擇隊伍
amx_ptb wtjauto 3 // wtj tries needed to become autojoined
新玩家加入戰局,欲強迫加入強方則會累積次數,設x次之後便自動
加入弱方
amx_ptb wtjkick 10 // wtj tries needed to become kicked
玩家自行強迫更換隊伍以累積計算,達x則SEVER自行踢除玩家
amx_ptb kick on // kick for wtj counts
是否開啟踢除模式
amx_ptb savewtj on // save wtjs to wtj.log
將玩家是否不斷選擇強勢一方的行為記錄下來,做為參考
// team balancing actions
amx_ptb switch on // switch/transfer players
是否開啟轉送或交換
amx_ptb switchafter 2 // number of rounds after which switching begins
在幾場過後會開始交換
amx_ptb switchmin 6 // number of minimum players on map for switching
最少要多少玩家人數會開始交換(設值2.4.6..)
amx_ptb switchfreq 2 // relative next possible switch round
一次最多換多少人
amx_ptb playerfreq 4 // relative next possible switch round for player
一個玩家在一張地圖最多被換幾次
amx_ptb forceswitch 4 // number of tries after which PTB switches alive, if neccessary
如果一直都無法進行交換(前幾名的玩家都沒死,無法交換),
達到次數,則會強制交換,不論死活
amx_ptb deadonly on // switch dead only
是否不論死活一定進行交換
// messages
amx_ptb tellwtj on // tell about wtj tries
是否顯示關於WTJ做的動作(預設值on)
amx_ptb announce off // announce team status at beginning of round
是否公佈給所有玩家
amx_ptb sayok off // announce team status, if teams are alright
如沒有動作是否開啟"沒有動作"的訊息
amx_ptb typesay off // use HUD messages
是否使用admin_tsay
// team strength limits一隊很強的限制<判斷條件> amx_ptb maxstreak 2 // max. allowed team win streak
一隊最多連贏幾次後,則會有交換或轉移的動作
amx_ptb maxscore 2 // max. allowed team score difference
兩隊勝場數最大的差距,則會有交換或轉移的動作
amx_ptb minrating 1.0 // minimum critical team rating
強的那一隊, 假如贏的比率 大於 最小比率
amx_ptb maxrating 2.0 // maximum critical team rating
有點強的那一方, 假如贏的比率 大於 最大比率
mx_ptb superrating 2.5 // super critical team rating
超級強, 史無前例的強的那一隊, 贏的比率 大於 超大比率 超正呀 人間amxx天堂呀 thx......................... 件列表(改版後)(08/02/2007 加入分類):
管理員指令:
Adminrestart
管理員語音
伺服器管理:
進入server後無法更改名字
伺服器與論壇註冊融合
伺服器關閉
反外掛 - 插件(反不停旋轉360度外掛)
反不雅發言多項懲罰<中文化>
舉報插件中文版
伺服器規則
對話紀錄器
被封禁時會影相 /* AMX MOD X script.
*
* Weapon Storage version 1.1, by KinSprite
*
* :
*
* With this plugin, you can drop a weapon model that can provide a number of weapons each round.
*
* When a player touch this entity, he may get a weapon/item on condition that such as touch
* a weapon in fy_iceworld. Also, you can set the cvar to allow multi weapons .
*
* A storage has two parameters . 1, belong to which team (Terrorist, CT or All teams); 2, provide
* how many weapons in this model.
*
* You can save these options in map config file loaded when change map.
*
* The menu command "ws_menu" is powerful. You can drop a storage in front of you ; remove a storage
* aimed at; remove all storages in the map; clear storage options saved in the map config file.
*
*
* :
*
* 1. Engine
* 2. Fun
* 3. Cstrike
*
* :
*
* 1. copy weaponstorage.sam to "addons/amxmodx/amxmodx/scripting"; "weaponstorage.txt" to "<amxx_datadir> (default is "addons/amxmodx/data")/lang"
* 2. compile weaponstorage.sam
* 3. copy "addons/amxmodx/scripting/compiled/weaponstorage.amxx" to <amxx_pluginsdir> (default is "addons/amxmodx/plugins")
* 4. in <amxx_plugins> (default is "addons/amxmodx/configs/plugins.ini") add a line "weaponstorage.amxx"
* 5. in "<amxx_configsdir>(default is "addons/amxmodx/configs")/amxx.cfg" config the Cvars.
*
* :
*
*
*
* ws_menu
* // - Show Weapon Storage Menu
*
* amx_weaponstorage_menu
* // - Show Weapon Storage Menu, the same as "ws_menu"
*
* amx_weaponstorage_drop
* // - Drop weapons in world and Save for the map?
* // : amx_weaponstorage_drop <wpnID> <team> <amount>
*
* amx_weaponstorage_clear
* // - Clear weapon storages in the map
*
* amx_weaponstorage_clmapcfg
* // - Clear weapon storages' option in the map config file
*
*
*
*
* amx_createweaponstorage
* // - Drop weapons in world
* // amx_createweaponstorage <wpnID> <team> <amount> <Float:Origin> <Float:Angles>
*
* :
*
* amx_weaponstorage "1"
* // Use this plugin's effect. To disable, set to 0
* amx_weaponstorage_allowmulti "0"
* // allow muti weapons, set to 1
* amx_weaponstorage_c4ct "0"
* // allow CT pick up C4 in C4 storage, set to 1
* amx_weaponstorage_ctplant "0"
* // allow CT plant C4 when pick up C4 in C4 storage, set 1
* amx_weaponstorage_kitt "0"
* // allow Terrorist pick up defuse kit in kit storage, set 1
*
* :
*
* v1.1, add item Nightvision Goggles
* use cs_get_user_shield() instead of custom stock function.
* use register_touch() instead of pfn_touch(), and optimize this function.
* use static flag ADMIN_IMMUNITY instead.
*
* v1.0, finished on 9/18, 2006
*
*
*/
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fun>
#include <cstrike>
new const PLUGIN_NAME[] = "Weapon Storage"
new const PLUGIN_VERSION[] = "1.1"
new const PLUGIN_AUTHOR[] = "KinSprite"
#define CSW_SHIELD 2
#define ITEM_NVG 33
#define ITEM_DEFUSEKIT 34
#define ITEM_LONGJUMP 35
#define ITEM_MEDICALKIT 36
#define ITEM_BATTERY 37
#define NROFITEMS 38
// Globals
new const WEAPONNAME[] = {
"", //0 First should be empty
"SIG P228", //1 CSW_P228
"Tactical Shield", //2 shield
"Steyr Scout", //3 CSW_SCOUT
"HE Grenade", //4 CSW_HEGRENADE
"Benelli XM1014", //5 CSW_XM1014
"C4 Time Bomb", //6 CSW_C4
"Ingram MAC-10", //7 CSW_MAC10
"Steyr Aug", //8 CSW_AUG
"Smoke Grenade", //9 CSW_SMOKEGRENADE
"Dual Beretta 96G Elite", // 10 CSW_ELITE
"FN Five-Seven", // 11 CSW_FIVESEVEN
"H&K UMP45", // 12 CSW_UMP45
"Sig SG-550 Sniper", // 13 CSW_SG550
"Galil", // 14 CSW_GALIL
"Famas", // 15 CSW_FAMAS
"H&K USP .45 Tactical", // 16 CSW_USP
"Glock18 Select Fire", // 17 CSW_GLOCK18
"AI Arctic Warfare/Magnum", // 18 CSW_AWP
"H&K MP5-Navy", // 19 CSW_MP5NAVY
"FN M249 Para", // 20 CSW_M249
"Benelli M3 Super90", // 21 CSW_M3
"Colt M4A1 Carbine", // 22 CSW_M4A1
"Steyr Tactical Machine Pistol",// 23 CSW_TMP
"H&K G3/SG-1 Sniper Rifle", // 24 CSW_G3SG1
"Flashbang", // 25 CSW_FLASHBANG
"Desert Eagle .50AE", // 26 CSW_DEAGLE
"Sig SG-552 Commando", // 27 CSW_SG552
"AK-47", // 28 CSW_AK47
"Knife", // 29 CSW_KNIFE
"FN P90", // 30 CSW_P90
"Kevlar Vest", // 31 CSW_VEST
"Kevlar Vest & Helmet", // 32 CSW_VESTHELM
"Nightvision Goggles", // 33 item Nightvision Goggles
"Defuse Kit", // 34 defuser
"Long Jump", // 35 item Long Jump
"Medical Kit", // 36 item Medical Kit
"Battery" // 37 item battery
};
new const WEAPONSTRINGS[] = {
"", // 0 First should be empty
"weapon_p228",
"weapon_shield", // 2 shield
"weapon_scout",
"weapon_hegrenade", // 4 CSW_HEGRENADE
"weapon_xm1014",
"weapon_c4", // 6 CSW_C4
"weapon_mac10",
"weapon_aug",
"weapon_smokegrenade", // 9 CSW_SMOKEGRENADE
"weapon_elite",
"weapon_fiveseven",
"weapon_ump45",
"weapon_sg550",
"weapon_galil",
"weapon_famas",
"weapon_usp",
"weapon_glock18",
"weapon_awp",
"weapon_mp5navy",
"weapon_m249",
"weapon_m3",
"weapon_m4a1",
"weapon_tmp",
"weapon_g3sg1",
"weapon_flashbang", // 25 CSW_FLASHBANG
"weapon_deagle",
"weapon_sg552",
"weapon_ak47",
"weapon_knife", // 29 CSW_KNIFE
"weapon_p90",
"item_kevlar", // 31 CSW_VEST
"item_assaultsuit", // 32 CSW_VESTHELM
"", // 33 item Nightvision Goggles
"item_thighpack", // 34 defuser
"item_longjump", // 35 item Long Jump
"item_healthkit", // 36 item Medical Kit
"item_battery" // 37 item battery
};
new const WEAPONMODEL[] = {
"", // 0 First should be empty
"w_p228",
"w_shield", // 2 shield
"w_scout",
"w_hegrenade", // 4 CSW_HEGRENADE
"w_xm1014",
"w_backpack", // 6 CSW_C4
"w_mac10",
"w_aug",
"w_smokegrenade", // 9 CSW_SMOKEGRENADE
"w_elite",
"w_fiveseven",
"w_ump45",
"w_sg550",
"w_galil",
"w_famas",
"w_usp",
"w_glock18",
"w_awp",
"w_mp5",
"w_m249",
"w_m3",
"w_m4a1",
"w_tmp",
"w_g3sg1",
"w_flashbang", // 25 CSW_FLASHBANG
"w_deagle",
"w_sg552",
"w_ak47",
"w_knife", // 29 CSW_KNIFE
"w_p90",
"w_kevlar", // 31 CSW_VEST
"w_assault", // 32 CSW_VESTHELM
"p_tripmine", // 33 item Nightvision Goggles
"w_thighpack", // 34 defuser
"w_longjump", // 35 item Long Jump
"w_medkit", // 36 item Medical Kit
"w_battery" // 37 item battery
};
new const AMMO_IN_BACKPACK = {
0, //0 First should be empty
52, //1 CSW_P228
0, //2 shield
90, //3 CSW_SCOUT
0, //4 CSW_HEGRENADE
32, //5 CSW_XM1014
0, //6 CSW_C4
100, //7 CSW_MAC10
90, //8 CSW_AUG
0, //9 CSW_SMOKEGRENADE
gd
gd不過下次唔好啦:D thxxxxxxxxxxxxxxxxxxx 好有用囉我覺得做咩-佢分