Jail_andaman cells fix (AMXX)

Makes the cells in jail_andaman map close faster, in order to keep terrorists inside cells in the beginning og each round

#include 
#include 

#define CELLDOOR_SPEED    "500"

new bool: g_bCheckKeyValue;

public plugin_precache()
{
    register_plugin( "jail_andaman Fast doors", "0.0.1", "hornet" );
    
    new szMap[ 32 ];
    get_mapname( szMap, charsmax( szMap ) );
    
    if( equal( szMap, "jail_andaman" ) )
        g_bCheckKeyValue = true;
}

public pfn_keyvalue( iEnt )
{
    if( !g_bCheckKeyValue || !is_valid_ent( iEnt ) )
        return PLUGIN_CONTINUE;
    
    static szClassName[ 32 ], szKeyName[ 32 ], szValue[ 32 ];
    
    copy_keyvalue( szClassName, charsmax( szClassName ), szKeyName, charsmax( szKeyName ), szValue, charsmax( szValue ) );
    
    if( equal( szClassName, "func_door" ) && ( equal( szValue, "celler_venstre" ) || equal( szValue, "celler_hoejre" ) ) )
    {
        DispatchKeyValue( iEnt, "speed", CELLDOOR_SPEED );
    }
    
    return PLUGIN_CONTINUE;
}

This script is an AMX mod X script, that makes the cell doors close faster in the jail_andaman map. This is scriptet by Hornet from amxmodx.org, so I will not take any credits. Many people asked for something like this, because the terrorists were able to escape the cells in the beginning of each round when the cell doors were closing.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Script.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Script a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Script.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

None found

Credits

Submitter
krogsgaard's Levels
  • P1: Beggar
    Points: 115
  • C1: Member
  • A4: Graduate
    Account Age: 4 years
krogsgaard (Creator/Co-creator)
Key Authors
Hornet
Scripter
KROGSGAARD
Mapper

Rating

?/10
Not yet rated.

Stats

Post Count
0
ViewCount
725
Date Added
10 months ago
Date Modified
10 months ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share