Post by AE86
晕,显示 HP 、 盾甲还不如显示命中率、生存率、杀敌数……
这样的插件能不能写出?
当OP输入amx_slapplayer #xxxx后自动对该玩家执行amx_slap 1扣HP值100次,直到他死亡。最好能做成菜单形式的,比如输入amx_slaplayermenu 可以现在菜单。。。 这个已经有了
不过是一个大的插件 还有别的很多功能 我把它贴出来 有点多阿 你说的命令是 amx_superslap
Amx_Super -- Finished! No More Updates! ---- So download the latest version!
Read Below First:
This is a replacement for the All-in-One Plugin! It is updated with many new updates & has quite a few new features.
I would Highly suggest using the Admin Slash plugin below. That plugin will allow the need for the consol almost obsolete.
I have placed it below my plugin so you can use it. How to use it is written below in quotes.
============================================= ============================================= =================
Credits
Support
* -) Mangrapes for porting admin_slash and letting me add this.
* -) BigBaller for Porting it Origionally & the AMXX Community
* -) Zor for the compilation of AdminModX & the DOD Community
* -) Iceman (Clan Member) Who helped with the additions
* -) Good Old Kensai
* -) Sether for Code Update & Additions (#2 for godmode/noclip)
* -) Bo0m! for Coding & cleanup/helping in my absence!
Plugins & What they do
* -) ADMIN HEAL v0.9.3 by f117bomb
Heals who you select to however much HP you want
* -) ADMIN ARMOR v1 by Rav
Gives Armor
* -) ADMIN NO CLIP v0.9.3 by f117bomb
Gives No Clip
* -) ADMIN TELEPORT v0.9.3 by f117bomb
Teleports People to a Specified Point
* -) ADMIN STACK v0.9.3 by f117bomb
Stacks people on top of eachother
* -) DARK MONEY 1.0 by DarkShadowST
Gives money
* -) ADMIN ALLTALK 1.0 by BigBaller
Gives all talk
* -) ADMIN GRAVITY v0.2 by JustinHoMi
Changes gravity
* -) ADMIN BURY v0.9.3 by f117bomb
Buries someone
* -) ADMIN DISARM v1.1 by mike_cao
Disarms someone
* -) AMX UBER SLAP v0.9.3 by BarMan (Skullz.NET)
Slapps till 1 HP (when they fall they die)
* -) ADMIN SLAY 2 v0.9.2 by f117bomb
3 Options to slay someone [1-lightning|2-blood|3-explode]
* -) ADMIN ROCKET v1.3 by f117bomb
Turn someone into a rocket
======***New Additions by bmann_420***======= Some of these were on the last All-in-one, but they did not work, so I replaced and/or Fixed them.
* -) ADMIN FIRE v1.0.0 by f117bomb
Burn someone
* -) ADMIN GLOW v1.3.3 by EKS
Make people Glow! ( 6 diff colors)
* -) ADMIN LLAMA by SniperBeamer
Make them llama talk when they try to say anything
* -) ADMIN WEAPON II By SniperBeamer (Replaced Old One)
Give yourself a weapon, better yet bind it. Learn How HERE
* -) ADMIN EXEC 2.3 by v3x
Execute certain commands on clients computer
* -) ADMIN REVIVE by SniperBeamer
Revive someone
* -) ADMIN UNLIMITED AMMO AssKicR
Give someone Unlimited Ammo
* -) ADMIN DEADCHAT by SuiCideDog/Brad
Let dead people have Alltalk
* -) ADMIN HIGH PING KICKER OLO/Shadow
Kicks people who are laggin your server
* -) ADMIN GAG by EKS
Gag anybody. Say/voice/both // a == normal say / b == team say / c == voicecomm
* -) ADMIN GODMODE
Gives godmode (god/godall/god 2 [gives god untill amx_godmode 0])
* -) ADMIN QUIT
Quits assholes to the desktop
* -) ADMIN STATUS
See status of who in more depth
* -) ADMIN PASSWORD by Sparky 911
Gives password to the server
* -) PUBLIC LOADINGSONG
Plays music while connecting (No download Needed!)
* -) PUBLIC BULLET DAMAGE by f117, ported by Kingpin
Shows how much damage to an opponent ina small hud above them
* -) SERVER SPECTATOR BUG FIX <-- Are you ducking when you die and the spectator menu pops up? This fixes that issue!
Fixed that issue
* -) SERVER SHUTDOWN by Remo Williams -- Lets people reconnect automatically when you restart the server for quick fixes or additions
Shutdown and have people reconnect automatically
Commands
Code:
-amx_heal","admin_heal",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <life to give>-amx_armor","admin_armor",ADMIN_LEVEL_A,"<part of nick> <amount>-amx_godmode","admin_godmode",ADMIN_LEVEL_A,"<authid, nick, @team/all or #userid> <0=OFF 1=ON 2=ON + ON EACH ROUND>-amx_godall", "godmode", ADMIN_LEVEL_A, "- Sets all players to god mode-amx_quit", "quit", ADMIN_LEVEL_A, "<nick | steam> - Will quit assholes to the desktop-amx_status", "status", ADMIN_KICK, "- This will show you a list of info on each person kinda like the status but more detailed-amx_noclip","admin_noclip",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <0=OFF 1=ON 2=ON + ON EACH ROUND>-amx_teleport","admin_teleport",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> [x] [y] [z]-amx_userorigin","admin_userorigin",ADMIN_LEVEL_A,"<authid, nick, or #userid>-amx_stack","admin_stack",ADMIN_LEVEL_A,"<authid, nick or #userid> [0|1|2]-amx_givemoney","give_money",ADMIN_LEVEL_A,"<nick> OR <#userid> <amount>-amx_takemoney","take_money",ADMIN_LEVEL_A,"<nick> OR <#userid> <amount>-amx_gag","CMD_GagPlayer",ADMIN_KICK,"<nick or #userid> <a|b|c> <time> a == normal say / b == team say / c == voicecomm"-amx_ungag","CMD_UnGagPlayer",ADMIN_KICK,"<nick or #userid>-amx_alltalk","admin_alltalk",ADMIN_LEVEL_A,"1|0 to enable and disable-amx_gravity","admin_gravity",ADMIN_LEVEL_A,"< gravity >-amx_glow","CMD_Glow",ADMIN_KICK,"<nick or #userid> <color>-amx_unglow","CMD_UnGlow",ADMIN_KICK,"<nick or #userid>-amx_bury","admin_bury",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>-amx_unbury","admin_unbury",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>-amx_disarm","admin_disarm",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>-amx_uberslap","admin_slap",ADMIN_LEVEL_B,"<authid, nick or #userid>-amx_slay2","admin_slay",ADMIN_LEVEL_B,"<authid, nick, @team or #userid> [1-lightning|2-blood|3-explode]-amx_fire","fire_player",ADMIN_LEVEL_B,"<authid, nick or #userid>")-amx_rocket","rocket_player",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>-amx_llama","llama",ADMIN_LEVEL_A,"- <authid, nick, @team or #userid>-amx_unllama","unllama",ADMIN_LEVEL_A,"- <authid, nick, @team or #userid>-amx_weapon","admin_weapon",ADMIN_LEVEL_C,"<authid, nick, @all, @team, or #userid> <weapon #>-amx_revive","admin_revive",ADMIN_BAN,"<authid, nick, @team or #userid>-amx_exec","doExec",ADMIN_IMMUNITY,"<nick,@TEAM,*(all),@SERVER>")-amx_ammo","admin_ammo",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> -amx_unammo","admin_unammo",ADMIN_LEVEL_A,"<authid, nick, @team or #userid>=amx_shutdown","servershutdown",ADMIN_IMMUNITY," - Shuts down server in 10seconds-amx_pass", "pass", ADMIN_BAN, "- Sets a server password-amx_nopass", "nopass", ADMIN_BAN, "- Removes the server password
Cvars
Code:
-amx_hpk_on 1 1=on 0=off-amx_hpk_ping 200 <----Max Ping for the kicker to start kicking people (after 12 checks)-amx_hpk_check 12-amx_hpk_tests 8-amx_hpk_delay 60-amx_deadchat 1=on -amx_llamasound 1 -amx_moneymsg 1 -amx_revivemsg 1 -amx_loadsong 1-adminmodx_sounds 1-bullet_damage 1-amx_revivewithguns 1
----->Either Edit them in the sma, and then recompile or Put the cvars how you see fit in the server.cfg
Installation:
1. Download the plugin
2. Put your plugin (amx_super.amxx) in addons/amxmodx/plugins folder
3. Go in the addon/amxmodx/configs and open up plugins.ini
4. Then add the following line at the end of the file: amx_super.amxx
5. Save your plugins.ini
6. Download the Llama sounds and amx_super.txt (language file)
7. Place your amx_super.txt in the addons/amxmodx/data/lang foler
8. Then Place the sounds in your sound/misc folder.
9. If the sound/misc folder doesn not exists, then create it.
FAQ(Frequently Asked Questions):
--Not Sure on how to enable modules? Go HERE to enable your modules.
Question: It says bad load and it is not running. (also check on Compiling Locally to fix this problem)
Answer:Then Make sure all modules are Enabled for this plugins to work, those are:
Modules Required:
-Fun <-- Should be enabled
-Engine <-- Need to enable
-Cstrike <-- Should be enabled
Question:I get ML_NOTFOUND when using admin commands
Answer:Check if you have amx_super.txt in your addons/amxmodxdata/lang folder
Question:Is it compatible with other mods than CS?
Answer:No, it is only for CS / CZ
Help & Some Bonus Material!
For those of you who run a server at home, check these sites out
Lagg-Free<---Back up your Registry!!
HelpFull Hints
Read This Also
-Read through the posts if you want to change Admin Levels for each Command.
-If you do not like the High Ping Kicker, Read above to disable it (cvar) or click on the link below to have one with absolutely no HPK.
-If you have LoadingSound plugin already, just look at the cvars to turn it off (amx_loadsong 0) Default is on
You must take out All-in-One or place this above AllinOne in plugins.ini list.
Read through this top page for Troubleshooting before posting on this thread!
If you make a menu, good for you and it will help you but UAIO is already made for that particuar reason. I personally dont like wasting time so that is why this is here. The End
1. The latest version of amx_super without the high ping kicker.
2. The latest version of amx_super made for amxx versions below 1.7.
3. The latest version of Admin Slash, which is highly recommended.
Attached FilesGet Plugin or Get Source (amx_super.sma - 23187 |