Raised This Month: $ Target: $400
 0% 

Need some jailbreak plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
peni
Junior Member
Join Date: Jan 2010
Old 06-05-2010 , 09:45   Need some jailbreak plugins
Reply With Quote #1

Hello

need some plugins

1.Plugin where i add with cvar max CT number
2.plugin that shows the upper left of the day and in the upper right that for why you are in prison, they show only for terrorist
3.top left shows the number of prisoners are in prison and how many have died
, they show for CT

just give me the code and i edit (the reasons and stuff)
4.when terrorist hit ct the siren will start and 3 sec after it stops
5.terrorists can not buy guns - plugin

its all in jailbreak extreme 1.8 but i don't want it beacuse there's much more what i don't want

thank you and sorry for my bad english

Last edited by peni; 06-05-2010 at 09:49.
peni is offline
t*stylez
BANNED
Join Date: Apr 2010
Old 06-05-2010 , 09:48   Re: Need some plugins
Reply With Quote #2

use a descriptive topic name

edit:

they're all on the forums
except #4 im not sure what you're talking about.
t*stylez is offline
peni
Junior Member
Join Date: Jan 2010
Old 06-05-2010 , 09:49   Re: Need some jailbreak plugins
Reply With Quote #3

i think now it's okey
peni is offline
t*stylez
BANNED
Join Date: Apr 2010
Old 06-05-2010 , 09:59   Re: Need some jailbreak plugins
Reply With Quote #4

well here is block buy:

PHP Code:
#include <amxmodx>
#include <fakemeta>

new g_msgStatusIcon;

// Define the Plugin Version
new const VERSION[] = "1.0";

public 
plugin_init()
{
 
register_plugin("Block Buy Menu"VERSION"Shuttle_Wave/ConnorMcleod")
 
// Block BuyZone
 
g_msgStatusIcon get_user_msgid("StatusIcon");
 
register_message(g_msgStatusIcon"msgStatusIcon");
}

// Block buyzone (by ConnorMcLeod)
public msgStatusIcon(msgidmsgdestid)
{
 static 
szIcon[8];
 
get_msg_arg_string(2szIcon7);
 
 if(
equal(szIcon"buyzone") && get_msg_arg_int(1))
 {
  
set_pdata_int(id235get_pdata_int(id235) & ~(1<<0));
  return 
PLUGIN_HANDLED;
 }
 
 return 
PLUGIN_CONTINUE;

CT limiter (Team limiter by exolent)

and i'll get the others for you when i find them


Wanted prisoners & reasons

Last edited by t*stylez; 06-05-2010 at 10:08.
t*stylez is offline
peni
Junior Member
Join Date: Jan 2010
Old 06-05-2010 , 10:21   Re: Need some jailbreak plugins
Reply With Quote #5

thw wanted prisoners & reasons is jailbreak extreme 1.8
i said that i don't want it beacuse there plugins what i dont want
and i dont now how to disable them
peni is offline
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 06-05-2010 , 23:05   Re: Need some jailbreak plugins
Reply With Quote #6

for number 4 u want it so only the siren comes on or u want it so it displays the rebel message?
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 06-06-2010 , 01:33   Re: Need some jailbreak plugins
Reply With Quote #7

here u go. Use cvar to not use rebel. that means that it wont glow the player when they become a rebel and wont show message.

Cvar is jb_allowrebel

PHP Code:
/*
*    -----------------
*     Coded in 2010, 
*     Shuttle_Wave
*     -----------------
*     
*    .:: Description ::.
*     
*     JailBreak Siren Sound
*
*
*
*    .:: Contacts ::.
*
*    Email: [email protected]
*
*    Steam: shuttle_wave or lengjonathon

*/
#pragma semicolon 1

#include <amxmodx>
#include <cstrike>
#include <fun>

#define MAX_PLAYERS    32 
#define IsPlayer(%1)    ( 1 <= %1 <= g_iMaxPlayers ) 

// Define the Plugin Version
new const VERSION[] = { "1.0" };

new const 
PREFIX[] = { "!g[ JailBreak ]!n" };

new 
g_iMaxPlayers;
new 
g_Siren[MAX_PLAYERS+1];

new const 
sound_Siren[] = { "ambience/siren.wav" };

new 
p_Rebel;

public 
plugin_init()
{
    
register_plugin("JailBreak: Siren"VERSION"Shuttle_Wave");

    
register_event("Damage""Event_Damage""b""2>0""3=0");
    
    
p_Rebel register_cvar("jb_allowrebel""1");
    
    
g_iMaxPlayers get_maxplayers();
}

public 
plugin_precache()
{
    
precache_sound(sound_Siren);
}

public 
Event_Damage(id

    if( (
read_data(4) || read_data(5) || read_data(6)) && cs_get_user_team(id) == CS_TEAM_CT 
    { 
        new 
iAttacker get_user_attacker(id);
        
        if(
IsPlayer(iAttacker) && !g_Siren[iAttacker] && is_user_alive(iAttacker) && cs_get_user_team(iAttacker) == CS_TEAM_T
        { 
            
g_Siren[iAttacker] = true;
            
siren_sound();
            
            if(
get_pcvar_num(p_Rebel)) 
            {
                new 
szName[32];
                
get_user_name(iAttackerszNamecharsmax(szName)); 
                
                
client_printc(0"%s !g%s!n is a Rebel !t(Glowing Red)!n Take Him Down!"PREFIXszName);
                
set_user_rendering(iAttackerkRenderFxGlowShell25000kRenderNormal1);
            }
        } 
    }
    
    return 
PLUGIN_HANDLED;
}

public 
siren_sound()
{
    
client_cmd(0"spk %s"sound_Siren);
}

// Colour Chat
stock client_printc(const id, const input[], any:...)
{
    new 
count 1players[32];
    static 
msg[191];
    
vformat(msg190input3);
    
    
replace_all(msg190"!g""^x04"); // Green Color
    
replace_all(msg190"!n""^x01"); // Default Color
    
replace_all(msg190"!t""^x03"); // Team Color
    
    
if (idplayers[0] = id; else get_players(playerscount"ch");
    {
        for (new 
0counti++)
        {
            if (
is_user_connected(players[i]))
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }
        }
    }

__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave 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 08:58.


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