Raised This Month: $32 Target: $400
 8% 

No Slashing Zones


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Exolent[jNr] (178)
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 08-10-2008 , 13:13   No Slashing Zones
Reply With Quote #1

No Slashing Zones

Credits :
- Connor - With his no killing zones

Discription :
This plugin allows you to create a zone wich disabled slashing .

Commands :
say /nsz - Opens the menu
nsz_menu - Opens the menu
amx_noslashingstyle (1= default)

Evry command uses ADMIN_CFG

Code:
amx_noslashstyle :

0 = enables slashing evrywhere
1 = turns slash into stab in the zones
2 = slash does nothing in the zones
3 = slash turns into stab evrywhere
4 = slash does nothing evrywhere
5 = slash does no damage in the zones
6 = slash does no damage , evrywhere
Modules :
amxmodx
amxmisc
fakemeta
hamsandwich
fun

Screenshot :



To Do List :
- Rewrite Menu (Done and now going for some tests)

Usage :
Open the menu (nsz_menu) , pick new zone to make a new 1 ore choose 1 of the current zones to edit them , look at the colors to move ore increase/decrease the size of the zones , when doing nothing the zone will turn invisible .

Instalation :
Instal the plugin like any other.

Code:
Version 1.6a:
- Fixed saving.

Version 1.6:
- Optimized : 
* You dont need to create the directory 'nsz' anymore .
* Changed some other stuff.

Version 1.5 :
- Added new style in cvar :
* Slashing does no damage in zones
* Slashing does no damage , evrywhere

Version 1.4 :
- Rewrote menu for easy usage !

Version 1.3 :
- Fixed not alive bug

Version 1.2 :
- Added Deleting all zones in the menu (Again Idea by Jon)

Version 1.1 :
- Added Godmode in menu (Idea by Jon)
- Added say command /nsz (Also Idea by Jon :D)

Version 1.0 :
- Release
Servers :
Do you hate it when people slash you on acer ? Find here a server wich is running this plugin.

Enjoy this plugin , if there are any problems ore if I have forgotten somthing , please let me know .


Note :
-This should only be used for Knife Servers.
-Read installation.
Attached Files
File Type: sma Get Plugin or Get Source (NSZ.sma - 2495 views - 16.4 KB)
__________________
I am out of order!

Last edited by grimvh2; 12-14-2009 at 12:58.
grimvh2 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-10-2008 , 13:15   Re: No Slashing Zones
Reply With Quote #2

Hum... nice code !! i guess cause i don't see any attachement...
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 08-10-2008 , 13:17   Re: No Slashing Zones
Reply With Quote #3

I knew I had forgotten somthing , I just dind see what

Thanks for fast reply , really fast .
__________________
I am out of order!
grimvh2 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-10-2008 , 13:22   Re: No Slashing Zones
Reply With Quote #4

why is engine included ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 08-10-2008 , 13:28   Re: No Slashing Zones
Reply With Quote #5

Hmm thats strange , I probaly removed it without knowing
__________________
I am out of order!
grimvh2 is offline
kevinikill
Member
Join Date: Mar 2008
Location: Home
Old 08-10-2008 , 14:16   Re: No Slashing Zones
Reply With Quote #6

YEAhR NEVER SLASHING ON ACER again GJ guy +karma
__________________

kevinikill is offline
maplebest
BANNED
Join Date: May 2007
Location: Sweden, Sverige
Old 08-10-2008 , 15:05   Re: No Slashing Zones
Reply With Quote #7

Woohoo Nice done, man
+Karma!
maplebest is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 08-10-2008 , 15:14   Re: No Slashing Zones
Reply With Quote #8

Thank Is good for Knife Arena
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 08-10-2008 , 18:33   Re: No Slashing Zones
Reply With Quote #9

I don't know if im right but you can do a switch statement on the cvar_slash function and the forward with the pcvar and the arg[0].
__________________
IneedHelp is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 08-10-2008 , 19:02   Re: No Slashing Zones
Reply With Quote #10

I prefer my methods . Evryone has his own way of coding .
__________________
I am out of order!
grimvh2 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 19:32.


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