Raised This Month: $ Target: $400
 0% 

amx freeze


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   ConnorMcLeod (74)
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-05-2010 , 17:24   amx freeze
Reply With Quote #1

Code:
    amx_freeze 
    by Drekes
    
    Description:
        Makes it able for admins to freeze a player, this will make him unable to move or jump.
        
    Cvars:
        amx_freeze_knife_only 0/1    Makes a frozen player hold only his knife
        
    Command:
        amx_freeze <@all/@T/@CT/player> <0/1> <seconds>
        
        seconds is optional.
        
    Changelog: 
        v1.0: - Release
        
        v1.1: - Merged several functions.                    darkgod's suggestion
              - Remade the activity code.                    darkgod's suggestion
              - Changed the numtime code.                    darkgod's suggestion
              - Added a timer.                                Elite Taco's suggestion
              - Added cvar for game-monitor
              
        v1.2: - Changed way of freezing                       Many peoples suggestion
              - knife only (cvar)
        
        v1.3: - Added @ct/@t/@all support                    ConnorMcleod's suggestion.
              - Filtered curweapon                             ConnorMcleod's suggestion.
              - changed timer code.
             
        v1.4: - Converted to fakemeta.
              - Made cstrike version.
        
        v1.5: - Blocked players view when frozen.            ConnorMcleod's suggestion.
              - Used bits to check and set frozen players.    ConnorMcleod's suggestion.
             
        v1.6: - Remove reduntant code.                        ConnorMcleod's suggestion.
              - Removed cstrike version since 
                get_user_team isn't used anymore.
              - unregistered PlayerPreThink when it's not
                needed.                                        ConnorMcLeod's suggestion.
            
        v1.7: - optimized code                                ConnorMcLeod's suggestion.
        
        v1.8: - Changed syntax of command                     Seta00's suggestion.
              
    Credits:
        - RedRobster: Helping me find an annoying mistake that kept crashing my server.
        - Bugsy: For the bitfield tutorial and the macro's.
        - ConnorMcleod / ArkShine / Seta00: Suggestions to improve the plugin.
        - All the other people that suggested and helped improving the plugin
Attached Files
File Type: sma Get Plugin or Get Source (amx_freeze.sma - 5783 views - 6.0 KB)
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.

Last edited by drekes; 11-03-2010 at 06:02.
drekes is offline
Send a message via MSN to drekes
 



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 16:14.


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