AlliedModders
XFactor Servers

[REQ]JailBreak MOD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mR.
Junior Member
Karma: Neutral
Old 11-07-2009 , 05:10   [REQ]JailBreak MOD
Reply With Quote #1

Hi , I am searching for a JailBreak MOD , I just find helping plugins , but no JailBreak MOD Plugin ... can help me .... ? or some plugins to make server MOD : JailBreak .

Thanks .

L.E : Like this http://www.youtube.com/watch?v=jGT6OQokj4k

Last edited by mR.; 11-07-2009 at 05:20..
mR. is offline
izzle
Senior Member
Karma: Neutral
Old 11-07-2009 , 09:13   Re: [REQ]JailBreak MOD
Reply With Quote #2

thats source
__________________
Zombie-Swarm: 208.103.225.249:27015

Last edited by izzle; 11-07-2009 at 14:01..
izzle is offline
shadow.hk
Senior Member
Karma: Neutral
Location: WA, Australia
Old 11-07-2009 , 11:24   Re: [REQ]JailBreak MOD
Reply With Quote #3

Quote:
Originally Posted by izzle View Post
thats source and there is no mod
That's public.
__________________
+Karma if i helped in any way.
shadow.hk is offline
Send a message via MSN to shadow.hk
DruGzOG
Veteran Member
Karma: Neutral
Location: www.zombiezealots.com
Old 11-07-2009 , 13:55   Re: [REQ]JailBreak MOD
Reply With Quote #4

use the "search" function.
__________________
Zombie ZeaLoTs
~ The Fun Zombie Nation
Website +|+ Purchase Servers +|+ Image Up-loader
DruGzOG is offline
Send a message via AIM to DruGzOG
just75100
Member
Karma: Neutral
Old 11-07-2009 , 22:07   Re: [REQ]JailBreak MOD
Reply With Quote #5

not know what you said is not the


Quote:
/* AMX Mod script by Kyku*/


#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <engine>

new kary[100][192]
new kary_n
new dzien[33];
new dzien_n = 0;
new dzien_n2[20];
new siedzi_za[33];
new ataki;
new moznabic=1;
new tag[] = "[JailBreak]"
new sound;



public plugin_init()
{
register_plugin ( "JailBreak", "1.3", "kyku")
register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")
register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin")

register_concmd ( "amx_dodajkare", "dodaj_kare", ADMIN_IMMUNITY , " kara " )
register_dictionary("jailbreakdodatki.txt")


register_cvar("jailbreak_bunt", "1");
register_cvar("jailbreak_buntalarm", "1");
register_cvar("jailbreak_cel", "1");
register_cvar("jailbreak_win", "1");
register_cvar("jailbreak_dzien", "1");
register_cvar("jailbreak_poczasie", "30");


RegisterHam(Ham_Spawn, "player", "Fwd_PlayerSpawn_Post", 1);
RegisterHam(Ham_TakeDamage,"player", "hook_TakeDamage");

readList()
}

public hook_TakeDamage(Victim, Useless, Attacker, Float:damage, damagebits)
{
if(!moznabic && get_user_team(Attacker) == 1){
SetHamParamFloat(4, 0.0)
return PLUGIN_HANDLED
}

if(get_cvar_num("jailbreak_bunt") == 1){
if(is_user_connected(Attacker) && is_user_connected(Victim) && get_user_team(Attacker) == 1 && get_user_team(Victim) == 2){
ataki++;
if(ataki == 3){
set_hudmessage(255, 0, 0, -1.0, 0.2, 0, 6.0, 20.0)
show_hudmessage(0, "%L", LANG_PLAYER,"JB_MSG1")
client_print(0, print_chat, "%s %L",tag, LANG_PLAYER,"JB_MSG1")

if(get_cvar_num("jailbreak_buntalarm") == 1){
if(!moznabic && task_exists(4321))
remove_task(4321);
sound = 1;
client_cmd(0, "spk misc/klaxon1")
set_task(1.0, "dzwiek", 4321, _, _, "b", 0);
}

}
}

}
return HAM_IGNORED;
}



public plugin_precache(){

precache_sound("misc/klaxon1.wav")

}
public dzwiek(){
if(!sound && task_exists(4321))
remove_task(4321);

client_cmd(0, "spk misc/klaxon1")
}




public client_PreThink(id)
{
if(get_cvar_num("jailbreak_cel") == 1){
new id2, body
get_user_aiming(id, id2, body)
if(is_user_alive(id2) && get_user_team(id2) == 1){
set_hudmessage(255, 212, 0, -1.0, 0.7, 0, 6.0, 0.1)
new name[33];
get_user_name(id2, name, 32);
if(dzien[id]){


show_hudmessage(id, "%L", LANG_PLAYER,"JB_MSG2", name,dzien[id] ,kary[siedzi_za[id2]])
} else {
show_hudmessage(id, "%L", LANG_PLAYER,"JB_MSG3", name ,kary[siedzi_za[id2]])
}
}
}
}
public mozna_b(){

moznabic = 1;
set_hudmessage(255, 0, 0, -1.0, 0.2, 0, 6.0, 7.0)

show_hudmessage(0, "%L", LANG_PLAYER,"JB_MSG4", get_cvar_num("jailbreak_poczasie"))
client_print(0, print_chat, "%s %L",tag, LANG_PLAYER,"JB_MSG4", get_cvar_num("jailbreak_poczasie"))

}

public ct_win()
{

sound = 0;
if(get_cvar_num("jailbreak_win") == 1){
client_print(0, print_chat, "%s %L",tag, LANG_PLAYER,"JB_MSG5")
}
dzien_n++
ataki = 0;
if(get_cvar_num("jailbreak_poczasie") != 0){
moznabic = 0;
if(task_exists(666))
remove_task(666)
new ttask = get_cvar_num("jailbreak_poczasie") + get_cvar_num("mp_freezetime") + 3;
new ttask2[10]
num_to_str(ttask, ttask2, 9)
set_task(str_to_float(ttask2), "mozna_b", 666)
} else {
moznabic = 1;
}

}
public t_win()
{

sound = 0;
if(get_cvar_num("jailbreak_win") == 1){
client_print(0, print_chat, "%s %L",tag, LANG_PLAYER,"JB_MSG6")
}

dzien_n++
ataki = 0;
if(get_cvar_num("jailbreak_poczasie") > 0){
moznabic = 0;
if(task_exists(666))
remove_task(666)
new ttask = get_cvar_num("jailbreak_poczasie") + get_cvar_num("mp_freezetime") + 4;
new ttask2[10]
num_to_str(ttask, ttask2, 9)
set_task(str_to_float(ttask2), "mozna_b", 666)
} else {
moznabic = 1;
}

}

public Fwd_PlayerSpawn_Post(id){
sound = 0;
if(get_cvar_num("jailbreak_dzien") == 1){
switch (dzien_n)
{

case 1: formatex(dzien_n2,19, "%L",LANG_PLAYER,"DAY1")
case 2: formatex(dzien_n2,19, "%L",LANG_PLAYER,"DAY2")
case 3: formatex(dzien_n2,19, "%L",LANG_PLAYER,"DAY3")
case 4: formatex(dzien_n2,19, "%L",LANG_PLAYER,"DAY4")
case 5: formatex(dzien_n2,19, "%L",LANG_PLAYER,"DAY5")
case 6: formatex(dzien_n2,19, "%L",LANG_PLAYER,"DAY6")
default: {
formatex(dzien_n2, 19, "%L",LANG_PLAYER,"DAY7")
dzien_n = 0;
}

}

if(is_user_alive(id)){
dzien[id]++
siedzi_za[id] = 0;
if(dzien[id]){
client_print(id, print_chat, "%s %L",tag, LANG_PLAYER,"JB_MSG7", dzien[id], dzien_n2)
} else {
client_print(id, print_chat, "%s %L",tag, LANG_PLAYER,"JB_MSG8",dzien_n2)
}
if(get_user_team(id) == 1){
siedzi_za[id] = random_num(0, kary_n-1)
client_print(id, print_chat, "%s %L",tag, LANG_PLAYER,"JB_MSG9",kary[siedzi_za[id]])
}
}
}
}


readList()
{
new Configsdir[64]
new kary_f[64]
get_configsdir( Configsdir, 63 )
format(kary_f, 63, "%s/kary.ini", Configsdir )

if ( !file_exists(kary_f) )
{
server_print ( "[JailBreak] Plik z karami: %s nie odnaleziony", kary_f )
return
}

new len, i=0
while( i < 100 && read_file( kary_f, i , kary[kary_n], 191, len ) )
{
i++
if( kary[kary_n][0] == ';' || len == 0 )
continue
kary_n++
}



}

public client_connect(id)
{
dzien[id] = -1;
return PLUGIN_CONTINUE
}


public dodaj_kare(id)
{
if (get_user_flags(id)&ADMIN_IMMUNITY){

if ( read_argc() == 1 )
return PLUGIN_HANDLED;


new Configsdir[64]
new kary_f[64]
get_configsdir( Configsdir, 63 )
format ( kary_f, 63, "%s/kary.ini", Configsdir )
read_args ( kary[kary_n], 191 )
write_file( kary_f, "" )
write_file( kary_f, kary[kary_n] )
kary_n++
client_print ( id, print_console, "%L", LANG_PLAYER,"JB_MSG10" );
}
return PLUGIN_HANDLED
}
just75100 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 22:14.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Theme made by Freecode Sponsored by Layered Technologies