Raised This Month: $ Target: $400
 0% 

Redemption Blocker 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   Gameplay       
Mevrael
Junior Member
Join Date: Jul 2008
Location: Riga, Latvia
Old 08-30-2009 , 05:12   Redemption Blocker 1.1
Reply With Quote #1

Redemption Blocker 1.1

This is very simple and useful plugin for servers running ExtraLevels which blocks alien ability "redemption" in CO maps only.

Author: Mev-Rael (Mevrael @steam)

Version: 1.1 (16.09.2009)

Mod: Natural-Selection

Modules required:
amxmodx
engine
ns
fakemeta

Installation:
1) Put RedempBlock.amxx file into the addons/amxmodx/plugins foldier
2) Add RedempBlock.amxx line at the bottom of the addons/amxmodx/configs/plugins.ini file
3) Create file RedempBlock.txt in addons/amxmodx/data/lang foldier and add:
PHP Code:
[en]
TITLE Redemption Blocker
TEXT 
Redemption is not allowed in CO maps
4) Restart server or changelevel.

Langauges:
PHP Code:
[nl]
TITLE Verlossing Blokkeerder
TEXT 
Verlossen is niet toegestaan in CO mappen!

[
lv]
TITLE Glabsanas noslegs
TEXT 
Glabsana nav atlaujama CO mapees!

[
es]
TITLE Bloqueador de Rescate
TEXT 
El rescate no esta permitido en mapas CO
Changelog:
PHP Code:
v1.1 (16.09.2009):
      
Multilanguage added (Thanks to crazyeffect)

v1.0 (30.08.2009):
      
Initial Release
Tested on windows server running AMX mod X 1.8.1
Attached Files
File Type: sma Get Plugin or Get Source (RedempBlock.sma - 767 views - 1.2 KB)

Last edited by Mevrael; 11-17-2016 at 17:48.
Mevrael is offline
Send a message via ICQ to Mevrael
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 08-30-2009 , 05:44   Re: Redemption Blocker
Reply With Quote #2

If is a mod for only natural selection i think you have to change this:

Quote:
Modification: ALL
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Mevrael
Junior Member
Join Date: Jul 2008
Location: Riga, Latvia
Old 08-30-2009 , 06:37   Re: Redemption Blocker
Reply With Quote #3

It seemed to me that I have chosen ns Fixed.
Mevrael is offline
Send a message via ICQ to Mevrael
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-30-2009 , 07:43   Re: Redemption Blocker
Reply With Quote #4

I think you can remove set_pev(id, pev_impulse, 0)

PHP Code:
if ((is_user_alive(id)) && ( is_user_connected(id) ))

// ->

if( is_user_aliveid ) ) 
__________________
xPaw is offline
Mevrael
Junior Member
Join Date: Jul 2008
Location: Riga, Latvia
Old 08-30-2009 , 12:27   Re: Redemption Blocker
Reply With Quote #5

Quote:
Originally Posted by xPaw View Post
I think you can remove set_pev(id, pev_impulse, 0)
Actually this line is blocking redemption
Mevrael is offline
Send a message via ICQ to Mevrael
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-07-2009 , 01:23   Re: Redemption Blocker
Reply With Quote #6

This plugin needs testing. If anyone can report that it does or doesn't work, please post.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approval pending on changes.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Old 09-13-2009, 11:18
fruktkak
This message has been deleted by Roach.
present
New Member
Join Date: Sep 2009
Old 09-15-2009 , 05:54   Re: Redemption Blocker
Reply With Quote #7

фиг его знает!
present is offline
Mevrael
Junior Member
Join Date: Jul 2008
Location: Riga, Latvia
Old 09-16-2009 , 12:11   Re: Redemption Blocker
Reply With Quote #8

Version 1.1 released. Multilanguage added (Thanks to crazyeffect).

Last edited by Mevrael; 09-16-2009 at 12:14.
Mevrael is offline
Send a message via ICQ to Mevrael
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 09-16-2009 , 13:26   Re: Redemption Blocker
Reply With Quote #9

PHP Code:
[es]
TITLE Blockeador de Redencion
TEXT 
La redencion no es permitida en mapas CO
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 09-16-2009 , 13:41   Re: Redemption Blocker
Reply With Quote #10

Quote:
Originally Posted by #8 SickneSS View Post
PHP Code:
[es]
TITLE Blockeador de Redencion
TEXT 
La redencion no es permitida en mapas CO
Shouldn't be "Bloqueador"?
__________________
"There is no knowledge, that is not power"
fezh is offline
Reply



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 04:41.


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