Raised This Month: $ Target: $400
 0% 

Need Jailbreak /box plugin or sma file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Luu
Junior Member
Join Date: Mar 2011
Old 03-12-2011 , 15:17   Need Jailbreak /box plugin or sma file
Reply With Quote #1

Box.
-=Binds.=-
/box

-=Use.=-

Only CTs can type /box

-=Description=-

I want box for JailBreak , and Terrorists can only box , not CTs.



Help With plugin.
Luu is offline
Alon
Member
Join Date: Jan 2011
Old 03-13-2011 , 10:51   Re: Need Jailbreak /box plugin or sma file
Reply With Quote #2

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
         
register_clcmd("say /box""cmd_box").
}

public 
cmd_box(id)
{
    static 
i
    
if((id 0) || (is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT))
    {
        {
            if(
is_user_alive(i) && cs_get_user_team(i) == CS_TEAM_T)
            
set_user_health(i100)
            
set_cvar_num("mp_friendlyfire"1)                
            
boxnow true

        
}
    }
    return 
PLUGIN_HANDLED

Alon is offline
capozblack
Member
Join Date: Mar 2011
Location: Portugal
Old 03-13-2011 , 19:15   Re: Need Jailbreak /box plugin or sma file
Reply With Quote #3

Code:
 
#include <amxmodx> 
#include <cstrike> 
 
#define PLUGIN "JB Box" 
#define VERSION "0.1" 
#define AUTHOR "Capoz" 
 
new iFF, iHandler 
 
public plugin_init() { 
register_plugin(PLUGIN, VERSION, AUTHOR) 
iFF = get_cvar_pointer( "mp_friendlyfire" ) 
 
iHandler = get_pcvar_num( iFF ) 
 
register_clcmd( "say /box", "cmdBox" ) 
} 
 
public cmdBox( id ) { 
if( !is_user_connected( id ) || !is_user_alive( id ) || cs_get_user_team( id ) != CS_TEAM_CT ) { 
return PLUGIN_HANDLED 
} 
 
switch( iHandler ) { 
case 0: { 
server_cmd( "mp_friendlyfire 1" ) 
set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 6.0, 12.0) 
show_hudmessage(id, "Jailbreak Box Activated!") 
} 
case 1: { 
server_cmd( "mp_friendlyfire 0" ) 
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 12.0) 
show_hudmessage(id, "Jailbreak Box Deactivated!") 
} 
} 
 
iHandler = !iHandler 
 
return PLUGIN_HANDLED 
}
__________________
capozblack is offline
Send a message via MSN to capozblack
Terrex
BANNED
Join Date: May 2012
Old 05-23-2012 , 14:15   Re: Need Jailbreak /box plugin or sma file
Reply With Quote #4

you can add the Models glove ?

Last edited by Terrex; 05-23-2012 at 14:15.
Terrex is offline
Santaaa
BANNED
Join Date: May 2012
Old 05-23-2012 , 14:50   Re: Need Jailbreak /box plugin or sma file
Reply With Quote #5

Knife sounds aren't blocked + no screenshakes, + the ammount of damage.
I'd suggest you to place this into suggestion / requests.
Santaaa 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:29.


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