Raised This Month: $95 Target: $400
 23% 

AMX SlayAll v1.7


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 06-27-2009 , 14:14   AMX SlayAll v1.7
Reply With Quote #1

AMX SlayAll v1.7
by [email protected] & Teascu Dorin


[IMG]http://img237.**************/img237/8720/descriptionz.png[/IMG]

This plugin offers admin possibility to slay all alive players present on played map or all players in one team.
See the admin commands part to understand usage of this plugin.


.:: Installing ::.

  1. Copy amx_slayall.amxx into mod_dir/addons/amxmodx/plugins (mod_dir = cstrike, czero, dod etc)
  2. Copy slay_message.txt goes to mod_dir/addons/amxmodx/data/lang
  3. Open plugins.ini from mod_dir/addons/amxmodx/configs
  4. Add at the end of the list on a new line like follows:
    Code:
    amx_slayall.amxx
  5. Save and close plugins.ini
  6. Restart Server or Change Map


.:: Admin Commands ::.


  • amx_slayall @All | @CT | @T
    • @All - Slays all alive players
    • @CT - Slays all Counter-Terrorist Team
    • @T - Slays all Terrorist Team
ACCESS needed for this commands ADMIN_SLAY (can be changed in *.sma)


[IMG]http://img694.**************/img694/5438/notes.png[/IMG]

You can change/modify chat message colors in the language *.txt file located in addons/amxmodx/data/lang named slay_message.txt !
Message colors usage:
- !y - Yellow (Normal chat color)
- !t - Team Color (Red=T, Blue=CT, Grey=Spec)
- !g - Green


[IMG]http://img690.**************/img690/4107/snapshots.png[/IMG]

Slay All: [IMG]http://img145.**************/img145/7089/allmessagegrey.jpg[/IMG]

Slay T: [IMG]http://img205.**************/img205/4315/terroristmessagered.jpg[/IMG]

Slay CT: [IMG]http://img150.**************/img150/3221/ctmessageblue.jpg[/IMG]


[IMG]http://img694.**************/img694/4868/mlang.png[/IMG]

Code:
[en] English - Teascu Dorin
[ro] Romanian - Teascu Dorin
[nl] Dutch - crazyeffect
[fr] French - arkshine
[de] German - D o o m
[es] Spanish - Starsailor
[sv] Swedish - zacky
[lt] Lithuanian - hleV
[ru] Russian - xPaw & HoRRoR [CSM]
[pl] Polish - MmikiM
[bg] Bulgarian - GmTx
[tr] Turkish - TowerTurk [ C * ]
[cz] Cezech - jab
Any translations are useful !!!


[IMG]http://img691.**************/img691/5334/creditsk.png[/IMG]

- [email protected] for first release
- Alka for color stock. Forgot about this SRY
- Damaged Soul, teame06 and xPaw for ColorChat function


[IMG]http://img694.**************/img694/1227/change.png[/IMG]

Code:
Legend: f - fixed | ! - added | c - changed | r - removed

v1.7
- c case switch
- c to get players number at start of function

v1.6
- ! values for gUserConnected
- c loop section
- c from LANG_PLAYER to iPlayer[i] inside chat messages

v1.5
- c color stock to show CT in blue, T in red and All in Grey
- ! one more include (cstrike) to display colors for each team

v1.4
- ! colored chat messages
- ! amxmodx command logging

v1.3
- ! multilingual

v1.2
- c chat message from normal to show activity method

v1.1
- ! messages in chat about slayed targets

v1.0
- First release
.:: Game Monitor ::.

Server that using This Plugin


[IMG]http://img690.**************/img690/3448/downloade.png[/IMG]
Attached Files
File Type: sma Get Plugin or Get Source (amx_slayall.sma - 3148 views - 6.1 KB)
File Type: txt slay_message.txt (7.3 KB, 1095 views)

Last edited by dorin2oo7; 10-08-2010 at 15:24. Reason: Added v1.7
dorin2oo7 is offline
Simax
Member
Join Date: Apr 2009
Old 06-27-2009 , 14:21   Re: AMXX SlayAll v1.4
Reply With Quote #2

nice idea, thx, go test it
Simax is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 06-27-2009 , 14:24   Re: AMXX SlayAll v1.4
Reply With Quote #3

I'm curious why you didn't color the word "Counter-Terrorist" blue?
__________________
Brad is offline
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 06-27-2009 , 14:24   Re: AMXX SlayAll v1.4
Reply With Quote #4

Quote:
Originally Posted by Simax View Post
nice idea, thx, go test it

The idea existed a long time ago, but no one published it ! ;)

Quote:
Originally Posted by Brad View Post
I'm curious why you didn't color the word "Counter-Terrorist" blue?
the color is teamcolor... in a future version I will try to make show CT - Blue and T - red

THX for pointing that out
__________________

Last edited by dorin2oo7; 06-28-2009 at 17:31.
dorin2oo7 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-27-2009 , 14:25   Re: AMXX SlayAll v1.4
Reply With Quote #5

Quote:
Originally Posted by Brad View Post
I'm curious why you didn't color the word "Counter-Terrorist" blue?
Color change is not implemented in the stock he found in another plugin.
Also, i don't really see the need of public cvar.
End, you could use only 1 loop instead of 3.
__________________
- tired and retired -
ConnorMcLeod is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-27-2009 , 14:30   Re: AMXX SlayAll v1.4
Reply With Quote #6

I would edit admincmd.sma, but anyway gj
__________________
xPaw is offline
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 06-27-2009 , 14:33   Re: AMXX SlayAll v1.4
Reply With Quote #7

Quote:
Originally Posted by xPaw View Post
I would edit admincmd.sma, but anyway gj
Yes but if you (some other) own a server and you have no idea that admincmd.sma can be edited and changed what you will do?
__________________
dorin2oo7 is offline
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-27-2009 , 14:38   Re: AMXX SlayAll v1.4
Reply With Quote #8

Quote:
Originally Posted by dorin2oo7 View Post
Yes but if you (some other) own a server and you have no idea that admincmd.sma can be edited and changed what you will do?
Download this? xD
zacky is offline
Send a message via Skype™ to zacky
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 06-27-2009 , 15:01   Re: AMXX SlayAll v1.4
Reply With Quote #9

one question... why u use on every plugin this shit?

PHP Code:
/* Register plugin version */
    
register_cvar("slay_version"VERSIONFCVAR_SERVER FCVAR_SPONLY

.....
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 06-27-2009 , 15:02   Re: AMXX SlayAll v1.4
Reply With Quote #10

Quote:
Originally Posted by tuty View Post
one question... why u use on every plugin this shit?

PHP Code:
/* Register plugin version */
    
register_cvar("slay_version"VERSIONFCVAR_SERVER FCVAR_SPONLY
.....
To appear on game-monitor
__________________
alan_el_more is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode