AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   Old AMX_Super Posts. (https://forums.alliedmods.net/showthread.php?t=54514)

bmann_420 10-19-2005 03:22

Old AMX_Super Posts.
 
50 Attachment(s)
Read Below First Please
  • Version. 2.8 (Check to make sure--amx_plugins--)
  • -Big Thanks to BAIL for the AMX Plugin Stats Page You may also check Game-Monitor
    -
  • Changelog
    -
  • This is a replacement for the All-in-One Plugin! It is updated with many new recent plugins & has quite a few new additions.
  • I would Highly suggest using the Admin Slash plugin. It is extremely usefull. Almost makes the consol obsolete for quick commands.
  • There is no Required extra sounds/models to download (no Client download). You may enable the llama sounds, other than that, no client will need to download anything with this plugin. The language file is nesseccary of course.
  • Please Read the Cvars to disable/enable many diffrent portions of the plugin if you dont need/use them :D Or you dont want to use the resources
  • A Menu will NOT be made. --The reason I made this is no Menu-- (admin_slash)

============================================= ============================================= =================
This is the Manual for Amx_Super | :rtfm: Please! Im beggin you :up:

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.
10. Restart Server

If that diddnt work
- Click Here
- Or Installation Help FAQ, Here -TY Hawk

Compiling Locally
Why?:
Different versions of Amx Mod X all have different versions of the compiler.
If you have a different version than the newest, it is always suggested to compile locally since you have a diff version of amxx means you have a diff version of the compiler.

1. Download the "Source" or .sma version of the plugin
2. You may open it up with notepad/wordpad/Studio and edit the command flags/cvars or whatevery you need as long as you know what your doing If you dont then down worry and follow the cvar help section.
3. Place that file into your addons/amxmodx/scripting Folder
4. Double click compile.exe Then let the dos window come up and show you how the compile is goin, then exit that when done.
5. Go into addons/amxmodx/scripting/compiled and grab you .amxx version of the sma you just compiled :up: Hope this helped

FAQ If using vers. 1.75 or above: Disreguard the modules section
--Not Sure on how to enable modules? Go HERE to enable your modules. :D
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:
-Engine <-- Need to enable
-Fun <-- Should be enabled
-Cstrike <-- Should be enabled


Question:I get ML_NOTFOUND when using admin commands
Answer:Check if you have amx_super.txt in your addons/amxmodx/data/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
HelpFull Hints

Additional Info
- Read This Post if you want to change Admin Levels for each Command.
- If you do not like the High Ping Kicker, Read below 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
- Here is the Weapon list A great reference to your weapon command.
- Lean how to Bind all your weapons to one key. Or groups of weapons to one key Here!

Support
* -) 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
* -) Kensai for some Coding
* -) 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
* -) ADMIN ALLTALK 1.0 by BigBaller --Enable/Disable 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 --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 Below Here -- Some of these were on the last All-in-one, but they did not work, so I replaced and/or Fixed them.

* -) ADMIN MONEY 1.0 by XxAvalanchexX --Gives money
* -) 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 to 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/BradLet dead people have Alltalk
* -) ADMIN HIGH PING KICKER OLO/Shadow --Kicks people who are laggin your server (optional with amx_super-nohpk)
* -) 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 --(27 Songs when connecting to the server)
* -) DAMAGE DONE/RECIEVED HUD by Manip, ported and fixed by JTP10181 and Vittu --Shows damage Recieved/Given above cross hairs
* -) SERVER SHUTDOWN by Remo Williams --Lets people reconnect automatically when you restart the server for quick fixes or additions
* -) SERVER SPECTATOR BUG FIX --Are you ducking when you die and the spectator menu pops up? This fixes that issue!
* -) SHOWNDEAD BUG FIX by Vantage aka Mouse v.0.9.4 --Gets rid of those pesky players that are not there but on teh scoreboard
* -) SOUND FIX Fix Echo Sound by Throstur v. 1.0 --Gets rid of the Echo in certain maps
* -) DEATHMESSAGE FIX by Simon Logic v1.0.1 --Accidental death message fix


Commands/Usage


-say /fixsound Stops the Echo
-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,"<au thid, 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_LEVE L_A,"<authid, nick, or #userid>
-amx_stack","admin_stack",ADMIN_LEVEL_A,"<auth id, nick or #userid> [0|1|2]
-amx_givemoney","cmd_givemoney",ADMIN_KICK,"<p layer> <amount> - gives specified player money"
-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,"<nic k 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,"<au thid, nick, @team or #userid>
-amx_disarm","admin_disarm",ADMIN_LEVEL_B,"<au thid, nick, @team or #userid>
-amx_uberslap","admin_slap",ADMIN_LEVEL_B,"<au thid, nick or #userid>
-amx_slay2","admin_slay",ADMIN_LEVEL_B,"<authi d, nick, @team or #userid> [1-lightning|2-blood|3-explode]
-amx_fire","fire_player",ADMIN_LEVEL_B,"<authi d, nick or #userid>")
-amx_rocket","rocket_player",ADMIN_LEVEL_B,"<a uthid, 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,"<au thid, nick, @all, @team, or #userid> <weapon #>
-amx_revive","admin_revive",ADMIN_BAN,"<authid , nick, @team or #userid>
-amx_exec","doExec",ADMIN_IMMUNITY,"<nick,@TEA M,*(all),@SERVER>")
-amx_ammo","admin_ammo",ADMIN_LEVEL_A,"<authid , nick, @team or #userid>
-amx_unammo","admin_unammo",ADMIN_LEVEL_A,"<au thid, nick, @team or #userid>
-amx_shutdown","servershutdown",ADMIN_IMMUNITY ," - Lets people reconnect automatically when you restart the server for quick fixes or additions
-amx_pass", "pass", ADMIN_BAN, "- Sets a server password
-amx_nopass", "nopass", ADMIN_BAN, "- Removes the server password
-srvcmd soundfix Removes the Echo Sound

Cvars

Values: 0 = Disabled | 1 = Enabled

The values they have on them now are the default values.

amx_hpk_tests 8
amx_hpk_delay 60

amx_hpk_on 1
-Enalbes/Disabled the High Ping Kicker
amx_hpk_ping 200
-Max Ping for the kicker to start kicking people
amx_hpk_check 12
-How many checks the plugin does before deciding to kick somebody
amx_deadchat 1
-Enable/Disable the Dead players chatting with opposing teammates when Alltalk is off
amx_llamasound 1
-Enable/Disable the Llama sounds comming from somebody who is Llama'd
amx_moneymsg 1
-Enable/Disable the Money message in chat when an admin gives somebody money
amx_revivemsg 1
-Enable/Disable the HUD Revive message when somebody is Revived
amx_loadsong 1
-Enable/Disable the Loading Songs when your joining the server (Requires no Download)
adminmodx_sounds 1
-Enable/Disable the AdminModX sounds in game (Choke & Thuderclap sounds)
bullet_damage 1
-Enable/Disable the Bullet Damage HUD above your cross hairs when you hit your opponents. (HP Damage)
amx_revivewithguns 1
-Enable/Disable the ability to be revived with or without a gun.

Cvar Help-Cvars are vaiables in the server for YOU to change how you see fit.
Cvar Explination

Examples:
amx_loadsong 1 = Enabled the loading sound
amx_loadsong 0 = Disables the loading sound
bullet_damage 1 = Shows the Bullet Damage HUD when attacking or being attacked
bullet_damage 0 = Disable the Damage HUD


:arrow: Either Edit the Cvars in the sma, and then recompile or Put the cvars how you see fit in the server.cfg
:arrow: Dont forget to add a line to your server.cfg: mapchangecfgfile server.cfg


Plugins

Link: The latest version of Admin Slash, which is highly recommended.
:arrow: You Always want to put the admin_slash.amxx at the Bottom of your plugins.ini list, no matter what. It may interfear with other plugin commands otherwise.

amx_super-nohpk.sma = The regular super with no high ping kicker

Download count before vers. 2.1: 34,683 views
Current Version:
2.8

DarlD 10-19-2005 03:33

WOHA super plugin man! great job will try it on soon!

bmann_420 10-19-2005 04:49

O yea Son. Its a nice Improvement :P Its a good thing they have a karma mod :up: Always enjoy good karma

pulpy 10-19-2005 05:22

hey you did some work to though, you went through and grabbed the best aspects of each one and reorganized the code somewhat, so it will work. Im using it, works great so far :)

bmann_420 10-19-2005 05:34

Thankx :D

eFrigid 10-19-2005 09:57

YES!!!!!! I told you bmann420 he would lol great job!!! :P

pulpy 10-19-2005 12:32

whoa!! lol alot of shouting, lol bmann im trying to do the same thing u did, and im adding a few lines to urs (amdin listen, std color chat or w/e) of course just for my personal use heh. Not gonna realease it unless i have alot of ppls approvals (and if it works lol)

bmann_420 10-19-2005 14:26

you mostlikely cannot add std_chat since it has to above helf the origional plugins. But others sure. :D

pulpy 10-19-2005 18:04

ya i alrdy tried compiling it and got 5 errors :S lol, o well my first time even trying to really change an sma file to a great extent. But ya i tried adding std chat, but i'm prob gonna remove that, and also adminlisten i dunno if it was working i wasnt getting feedback when i typed it in (but also i couldnt tell as server was empty at the time lol)

O btw funny thing, with the revival thing if your spec u can revive urself (u stay spec and look ct at ct spawn with a usp) rofl i wanna try it with ppl in server haha

bmann_420 10-19-2005 20:32

Yes thats pretty funny, then you do amx_glow 0000 and your invisible. but you cannot do std_chat, its impossible. you have to place that line Above over half you Stock Plugins, so you cant do it.

BACARRA 10-19-2005 21:56

good job . ur hints did wonders to my comp. ty

bmann_420 10-19-2005 22:40

Awesome :D

Lord_Destros 10-19-2005 23:28

lol sounds good, i never knew god mode has 2 e's :lol:

bmann_420 10-20-2005 00:03

eh, what are you gonn ado. O yea Edit it! :D

Curryking 10-20-2005 09:35

Thx will update to your version!

Cheers, Curry

Btw. you should also attach required files, like the llama-sounds...

pulpy 10-20-2005 13:55

Re: Amx_Super (AllinOne + Additions)
 
Quote:

Originally Posted by bmann_420
82=vest
83=flash
84=HE
43=M4
42=AK
44=PullPup

lol spelling mistake, its bullpup for xbox version, and AUG for PC unless they changed it, but im still pretty sure its not Pullpup lol

bmann_420 10-20-2005 18:29

Quote:

Originally Posted by Curryking
Thx will update to your version!

Cheers, Curry

Btw. you should also attach required files, like the llama-sounds...


!!!!! Thankx, forgot that one

44 is the bulpup

Lord_Destros 10-20-2005 19:45

lmao bullpup*

bmann_420 10-20-2005 20:47

Changelog:

1.0
--Origional Release of those 15 added plugins to the Origional All-in-One Plugin.
--Changed some code to integrate them and deleted much non needed code.

1.5
--Added/Fixed Many small issues with those additions.

1.9
--Added Spec Fix, Server shutdown, Bullet Damage

2.0
--Fixed a few bugs with some plugins

2.1
--Added support for the Weapon command with new weapons

2.2
--Code Cleanup, and added an Fcvar to be Tracked.
--Big Thanks to BAILOPAN for the Amx Mod X Plugin Stats Page Also you can check Game-Monitor

2.3
--Added up to 27 songs on the loading song (requires no download!)
--Changed client_print for heal to show how much hp was given
--Changed console_print to show which weapon was given to any particular person for logs

2.4
--Added XxAvalanchexX's Admin Give Money for better logging
--Fixed small bug with the HP not showing up when doing amx_heal

2.5
--Added Vittu's additon to Bullet Damage.
Quote:

Originally Posted by Vittu
I made a define to choose if you want both damage done and received or only damage done to show. I also changed manip/jtp version to use connected instead of alive so that it will still show damage when you kill someone because it wouldn't with the alive check.

define is set to show damage done and received by default, comment out for damage done only

2.6
--Added
-SHOWNDEAD BUG FIX by Vantage aka Mouse v.0.9.4 --Gets rid of those pesky players that are not there but on teh scoreboard
-SOUND FIX Fix Echo Sound by Throstur v. 1.0 --Gets rid of the Echo in certain maps
-DEATHMESSAGE FIX by Simon Logic v1.0.1 --Accidental death message fix

2.7
-Fixed Runtime Error

2.8 4/11/07
-Fixed AMX Heal

pulpy 10-20-2005 23:05

damn well better be sry :x lol just kidding :D

pulpy 10-21-2005 00:52

What are the flags for this plugin?

bmann_420 10-21-2005 02:15

There in teh sma, but if you dont want to look... Here you go

Code:
    register_plugin("Super All-In-One-Commands","1.6","AMX(x) Community")     register_concmd("amx_heal","admin_heal",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <life to give>")     register_concmd("amx_armor","admin_armor",ADMIN_LEVEL_A,"<part of nick> <amount>")     register_concmd("amx_godmode","admin_godmode",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <0=OFF 1=ON>")     register_concmd("amx_noclip","admin_noclip",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <0=OFF 1=ON>")     register_concmd("amx_teleport","admin_teleport",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> [x] [y] [z]")     //register_concmd("amx_userorigin","admin_userorigin",ADMIN_LEVEL_A,"<authid, nick, or #userid>")     register_concmd("amx_stack","admin_stack",ADMIN_LEVEL_A,"<authid, nick or #userid> [0|1|2]")     //register_concmd("amx_weapon","admin_weapon",ADMIN_LEVEL_A,"<part of nick> or <@team> <weapon # to give > ")     register_concmd("amx_givemoney","give_money",ADMIN_LEVEL_A,"<nick> OR <#userid> <amount>")     register_concmd("amx_takemoney","take_money",ADMIN_LEVEL_A,"<nick> OR <#userid> <amount>")     register_concmd("amx_gag","amx_gag",ADMIN_LEVEL_A,"<authid, nick or #userid> <a|b> [time]")     register_concmd("amx_ungag","amx_ungag",ADMIN_LEVEL_A,"<authid, nick or #userid>")     register_concmd("amx_alltalk","admin_alltalk",ADMIN_LEVEL_A,"1|0 to enable and disable")     register_clcmd("say","block_gaged")     register_clcmd("say_team","block_gaged")     register_concmd("amx_gravity","admin_gravity",ADMIN_LEVEL_A,"< gravity >")     register_clcmd("say /gravity","check_gravity")     register_clcmd("say_team /gravity","check_gravity")     register_concmd("amx_glow","admin_glow",ADMIN_LEVEL_B,"<authid, nick, @team or #userid> <red> <green> <blue> <alpha>")     register_concmd("amx_bury","admin_bury",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_concmd("amx_unbury","admin_unbury",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_concmd("amx_disarm","admin_disarm",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_concmd("amx_uberslap","admin_slap",ADMIN_LEVEL_B,"<authid, nick or #userid>")     register_concmd("amx_slay2","admin_slay",ADMIN_LEVEL_B,"<authid, nick, @team or #userid> [1-lightning|2-blood|3-explode]")     register_concmd("amx_fire","fire_player",ADMIN_LEVEL_B,"<authid, nick or #userid>")     register_concmd("amx_rocket","rocket_player",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_cvar("amx_llamasound","1")     register_concmd("amx_llama","llama",ADMIN_LEVEL_A,"- <authid, nick, @team or #userid>")     register_concmd("amx_unllama","unllama",ADMIN_LEVEL_A,"- <authid, nick, @team or #userid>")     register_concmd("amx_weapon","admin_weapon",ADMIN_LEVEL_C,"<authid, nick, @all, @team, or #userid> <weapon #>")     register_cvar("amx_revivemsg","0")     register_concmd("amx_revive","admin_revive",ADMIN_BAN,"<authid, nick, @team or #userid>")     register_cvar("amx_moneymsg","0")     register_clcmd("amx_exec","doExec",ADMIN_IMMUNITY,"<nick,@TEAM,*(all),@SERVER>")

pulpy 10-21-2005 03:58

ahh so all the admin level a and level b and level c means flags abc?

bmann_420 10-21-2005 04:59

Code:
; Access flags: ; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands) ; b - reservation (can join on reserved slots) ; c - amx_kick command ; d - amx_ban and amx_unban commands ; e - amx_slay and amx_slap commands ; f - amx_map command ; g - amx_cvar command (not all cvars will be available) ; h - amx_cfg command ; i - amx_chat and other chat commands ; j - amx_vote and other vote commands ; k - access to sv_password cvar (by amx_cvar command) ; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command) ; m - custom level A (for additional plugins) ; n - custom level B ; o - custom level C ; p - custom level D ; q - custom level E ; r - custom level F ; s - custom level G ; t - custom level H ; u - menu access ; z - user (no admin)

Its actually level m & n. a-b for teh additional plugin part.

also look in your scripting/include/amxconst.inc too see further explination of flags and so on. :D

pulpy 10-21-2005 16:31

so what would i change if i wanted to change some to different access levels?

bmann_420 10-21-2005 16:35

well waht admin levels do you want?

Captain Tuffy 10-22-2005 16:05

bmann420 has this plugin been tested for linux with condition zero?? I don't mean to be a pest, I usually just download and try however I have been experiencing problems lately in my server and don't want to further complicate things....

Btw, this plugin really does look awesome...Congratulations.

bmann_420 10-22-2005 16:12

TY, and no I have not tested it for czero and linux. I have never had a single error or anything though in 4 months, so I would say it is worth a try. If your willing :D

Captain Tuffy 10-23-2005 08:46

I know this sounds like a silly question, but where do I install the Llama sounds? In sounds/llama sounds/ or sounds/?

Captain Tuffy 10-23-2005 09:05

Ok, I am not trying to spam the thread. I installed the sounds in both places and works fine. I have one problem though bmann. I use the plugin voicecomm_ban.amxx and it does not work with deadchat. Also, possibly because the voicecomm_ban.amxx plugin is activated, amx_gag does not work. Is there a way I can disable deadchat in the .sma??I believe the way the half-life engine is set up you cannot get them both to work correctly or something like that...So if I could, I would just like to remove it because amx_banvoice is more important.

bmann_420 10-23-2005 15:58

This version of deadcht was made by Brad, it was integrated to work with amx_gag and amx_voice ban by EKS. there is a way to disable it, but lemme see something before you do.

bmann_420 10-23-2005 16:02

Code:
/* AMX Mod script.   *   * DeadChat by SuicideDog   * Minor revisions by v3x and Brad Jones * This file is provided as is (no warranties).   * This plugin will allow you to voice chat the other team when you are dead.   * Basically it turns on "all talk" to only the dead people, but people that alive   * can't hear any of the dead ppl.   *   * This plugin is good for those more social servers!   *   */   #include <amxmodx> #include <engine> public death(){         if ( get_cvar_num("amx_deadchat")!=1 ) return PLUGIN_CONTINUE         new id = read_data(2)         if( !is_user_connected(id) || get_speak(id) == SPEAK_MUTED ) return PLUGIN_CONTINUE         set_speak(id, SPEAK_LISTENALL)         client_print(id,print_center,"You are dead now, you can chat with other team via voice")         return PLUGIN_CONTINUE }     public alive(id){         if ( get_cvar_num("amx_deadchat")!=1 ) return PLUGIN_CONTINUE         if( !is_user_connected(id) || get_speak(id) == SPEAK_MUTED ) return PLUGIN_CONTINUE         set_speak(id, SPEAK_NORMAL)         return PLUGIN_CONTINUE } public plugin_init() {     register_plugin("Dead_Can_Talk","0.1","SuicideDog")     register_event("DeathMsg","death","a")     register_event("ResetHUD","alive","b")     register_cvar("amx_deadchat","1") }
This is the code. Itegrated with amx_gag and voiceban both my EKS. That is in the sma.

I just downloaded my sma. I have reformatted my Hard Drive since i uploaded it, so i gatta upload it again, it was not the updated DeadChat, sorry bud. Just redownload the sma, and it is fixed. Thanks for pointing that out.

bmann_420 10-24-2005 16:27

Ny suggestions on what to add?

DarlD 10-24-2005 18:53

i think you made a fine plugin, though, when i try to load it on my server it says invalid plugin (amx_super.amxx) any idea?

bmann_420 10-24-2005 19:36

compile it locally.

it requires cstrike, fun, and engine.

DarlD 10-24-2005 23:44

I found a few errors..

you have plugin_init 3 times at differant spot in your script plus 3 times the includes

please fix...

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <fun> #include <engine> #define USING_STEAM 1 // comment this line if your using WON CS 1.5 #define MESSAGES 4 #define MAX_NAME_LENGTH 32 #define MAX_PLAYERS 32 #define MAX_TEXT_LENGTH 192 public plugin_init() {     register_plugin("Super All-In-One-Commands","1.6","AMX(x) Community")     register_concmd("amx_heal","admin_heal",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <life to give>")     register_concmd("amx_armor","admin_armor",ADMIN_LEVEL_A,"<part of nick> <amount>")     register_concmd("amx_godmode","admin_godmode",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <0=OFF 1=ON>")     register_concmd("amx_noclip","admin_noclip",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> <0=OFF 1=ON>")     register_concmd("amx_teleport","admin_teleport",ADMIN_LEVEL_A,"<authid, nick, @team or #userid> [x] [y] [z]")     //register_concmd("amx_userorigin","admin_userorigin",ADMIN_LEVEL_A,"<authid, nick, or #userid>")     register_concmd("amx_stack","admin_stack",ADMIN_LEVEL_A,"<authid, nick or #userid> [0|1|2]")     register_concmd("amx_givemoney","give_money",ADMIN_LEVEL_A,"<nick> OR <#userid> <amount>")     register_concmd("amx_takemoney","take_money",ADMIN_LEVEL_A,"<nick> OR <#userid> <amount>")     register_concmd("amx_gag","amx_gag",ADMIN_LEVEL_A,"<authid, nick or #userid> <a|b> [time]")     register_concmd("amx_ungag","amx_ungag",ADMIN_LEVEL_A,"<authid, nick or #userid>")     register_concmd("amx_alltalk","admin_alltalk",ADMIN_LEVEL_A,"1|0 to enable and disable")     register_clcmd("say","block_gaged")     register_clcmd("say_team","block_gaged")     register_concmd("amx_gravity","admin_gravity",ADMIN_LEVEL_A,"< gravity >")     register_clcmd("say /gravity","check_gravity")     register_clcmd("say_team /gravity","check_gravity")     register_concmd("amx_glow","admin_glow",ADMIN_LEVEL_B,"<authid, nick, @team or #userid> <red> <green> <blue> <alpha>")     register_concmd("amx_bury","admin_bury",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_concmd("amx_unbury","admin_unbury",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_concmd("amx_disarm","admin_disarm",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_concmd("amx_uberslap","admin_slap",ADMIN_LEVEL_B,"<authid, nick or #userid>")     register_concmd("amx_slay2","admin_slay",ADMIN_LEVEL_B,"<authid, nick, @team or #userid> [1-lightning|2-blood|3-explode]")     register_concmd("amx_fire","fire_player",ADMIN_LEVEL_B,"<authid, nick or #userid>")     register_concmd("amx_rocket","rocket_player",ADMIN_LEVEL_B,"<authid, nick, @team or #userid>")     register_cvar("amx_llamasound","1")     register_concmd("amx_llama","llama",ADMIN_LEVEL_A,"- <authid, nick, @team or #userid>")     register_concmd("amx_unllama","unllama",ADMIN_LEVEL_A,"- <authid, nick, @team or #userid>")     register_concmd("amx_weapon","admin_weapon",ADMIN_LEVEL_C,"<authid, nick, @all, @team, or #userid> <weapon #>")     register_cvar("amx_revivemsg","0")     register_concmd("amx_revive","admin_revive",ADMIN_BAN,"<authid, nick, @team or #userid>")     register_cvar("amx_moneymsg","0")     register_clcmd("amx_exec","doExec",ADMIN_IMMUNITY,"<nick,@TEAM,*(all),@SERVER>")     register_srvcmd("amx_exec","doExec")     register_event("DeathMsg","death","a")         register_event("ResetHUD","alive","b")         register_cvar("amx_deadchat","1") }

Code:
#include <amxmodx> #include <engine> public plugin_init() {     register_plugin("Dead_Can_Talk","0.1","SuicideDog")     register_event("DeathMsg","death","a")     register_event("ResetHUD","alive","b")     register_cvar("amx_deadchat","1") }

hard some hard time finding the 3rd again... ones at the top the other at the bottom!

bmann_420 10-25-2005 01:07

Fixed, I made some last minut changes sorry. its handled. That diddnt do anything anyway, but its fixed.

ThatOneCoolGuy 10-28-2005 19:35

Wow Bmann, that is one SEXILICIOUS plugin. I mean I was looking for a cool plugin and I found this forum and I saw your topic, and I was like "i feel the sexy in this already" and so i go to it and BOOM SEXINESS ALL OVER. This plugin really helps, I mean if I had to I would go gay for this plugin. Seriously. No joke.

ghdtpwls 10-29-2005 12:59

um...how do u install this plugin.....

bmann_420 10-29-2005 15:42

okay, click on get plugin, put that in your plugins folder. Goto amxmodx/configs/plugins.ini goto the bottom and add the line
amx_super.amxx

then download that allinone text and put it in the file specified
amxmodx/data/lang


All times are GMT -4. The time now is 19:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.