Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Daysmenu =[Colorat]=
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
Author
Message
2448
h3r01n4
[Account disabled]
Status: Offline
(since 30-06-2014 18:55)
Joined: 17 Apr 2013
Posts: 122
,
Topics: 67
Location:
Romania
Reputation:
-46.5
Votes
: 8
Posted: 19-06-2014, 22:29:41
| Translate post to:
... (
Click for more languages
)
Despre : Un plugin mod folosit JailBreak , no bug
revin cu un update cu modele / sound / mesaje HUD
Aici aveti sma : puteti face scriptu cu orice mesaje sau puteti edita cum va place voua
Author : modificat 83% de mine ! daca vedeti gamelife , am avut srv si a ramas reclama
Download :
Spoiler:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <engine>
#include <fakemeta>
#pragma tabsize 0
#define PLUGIN "DaysMenu"
#define VERSION "1.0"
#define AUTHOR "T3hNoLoGy"
// PREFIX
new const PREFIX[] = "[JailBreakDeRomania]";
// If you type your name below is like me typing your name on your parent's house owning document
// Stop Prefix
const CountSeconds = 60;
new g_iCountTime;
// Models
// Stop Models
new day = 0;
new beamsprite
new bool:has_hook[33]
new bool:hook[33]
new hook_to[33][3]
new hook_speed_cvar
public plugin_init()
{
register_plugin("JailBreak DaysMenu", VERSION, AUTHOR);
register_logevent("eRoundEnd", 2, "1=Round_End");
register_logevent( "eRoundStart", 2, "1=Round_Start" );
register_clcmd("say /daysmenu", "fwdSpawnPlayer")
register_clcmd("say /daysmenu", "fwdSpawnPlayer" )
register_clcmd("+hook","hook_on")
register_clcmd("-hook","hook_off")
hook_speed_cvar = register_cvar("hook_speed","5")
}
public plugin_precache()
{
beamsprite = precache_model("sprites/dot.spr")
precache_sound("weapons/xbow_hit2.wav")
precache_sound("weapons/xbow_fire1.wav")
}
public client_putinserver(id)
{
has_hook[id]=false
}
public eRoundStart()
{
day = 0;
}
public eRoundEnd()
{
day = 0;
remove_task()
}
public ResModel(id)
{
new iPlayers[32], iNum, iPid;
get_players( iPlayers, iNum, "a" );
for( new i; i < iNum; i++ )
{
iPid = iPlayers[i];
cs_reset_user_model(iPid)
}
}
public fwdSpawnPlayer(id)
{
if (cs_get_user_team(id) == CS_TEAM_CT)
{
if(is_user_alive(id))
{
if(day == 0)
{
JBDay(id);
}
else
{
client_print(id, print_chat, "A fost aleasa o zi runda aceasta Asteapta 3 runde pentru a putea alege alta");
}
}
}
else
{
client_print(id, print_chat, "Trebuie sa fi gardian pentru a da o zi speciala");
}
has_hook[id]=false
}
public Count()
{
set_hudmessage( 0 , 255 , 0 , -1.0 , 0.28 , 2 , 1.1 , 1.1 , 0.01 , 0.01 );
show_hudmessage( 0 , "Prizonieri aveti %d sa va ascundeti!" , g_iCountTime-- );
}
public JBDay(id)
{
new menu1 = menu_create("Zilele penitenciarului", "menu_handler");
menu_additem(menu1, "\rReverse Zombie Day", "1", 0);
menu_additem(menu1, "\yReverseSpartan Day", "2", 0);
menu_additem(menu1, "\wFree Day", "3", 0);
menu_additem(menu1, "\rReverseNight Crawler Day", "4", 0);
menu_additem(menu1, "\y1 HP Day", "5", 0);
menu_additem(menu1, "\wReverseGun Day", "6", 0);
menu_additem(menu1, "\rHNS Simple Day", "7", 0);
menu_additem(menu1, "\yReverse Shark Day", "8", 0);
menu_additem(menu1, "\rGodMode Day", "9", 0);
menu_additem(menu1, "\wFootBall Day", "10", 0);
menu_additem(menu1, "\yFurien Day [In Lucru]", "11", 0);
menu_setprop(menu1, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu1, 0);
}
public menu_handler(id, menu, item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}
new data[6], iName[64];
new access, callback;
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data);
switch(key)
{
case 1:
{
ZombieDay(id)
ResModel(id)
day = 1;
}
case 2:
{
SpartanDay(id)
day = 1;
}
case 3:
{
client_print(0, print_chat, "%s Free day!", PREFIX)
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi e o zi libera.")
day = 1;
}
case 4:
{
NightDay(id)
day = 1;
}
case 5:
{
KnifeDay(id)
day = 1;
}
case 6:
{
WarDay(id)
day = 1;
}
case 7:
{
HideDay(id)
day = 1;
}
case 8:
{
SharkDay(id)
day = 1;
}
case 9:
{
GodModeDay(id)
day = 1;
}
case 10:
{
FootBallDay(id)
day = 1;
}
case 11:
{
HookDay(id)
day = 1;
}
}
menu_destroy(menu);
return PLUGIN_HANDLED;
}
public SharkDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este Shark Day")
client_print(id, print_chat, "%s Astazi vom juca SharkDay !CT pot intra in pamant", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 250);
set_user_noclip (id, true);
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
give_item(id, "weapon_ak47")
cs_set_user_bpammo( id, CSW_AK47, 200 );
give_item(id, "weapon_deagle");
cs_set_user_bpammo( id, CSW_DEAGLE, 200 );
}
}
}
public NightDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este Night Crawler Day")
client_print(id, print_chat, "%s Astazi jucam Night Crawler Day!CT este invizibil ia T trebuie sa il omoare", PREFIX)
strip_user_weapons(id)
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 0);
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
give_item(id, "weapon_ak47")
cs_set_user_bpammo( id, CSW_AK47, 200 );
give_item(id, "weapon_deagle");
cs_set_user_bpammo( id, CSW_DEAGLE, 200 );
}
}
}
public ZombieDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este Zombie Day")
client_print( id, print_chat, "%s Astazi este zombie day , toti CT trebuie sa omoare intoxicatii !!", PREFIX)
strip_user_weapons(id)
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
give_item( id, "weapon_knife" )
set_user_health(id, 3000);
set_user_rendering(id,kRenderFxGlowShell,255,0,0,kRenderNormal,25)
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife" )
give_item( id, "weapon_ak47" )
give_item( id, "weapon_m4a1" )
give_item( id, "weapon_deagle" )
cs_set_user_bpammo( id, CSW_AK47, 200 );
cs_set_user_bpammo( id, CSW_M4A1, 200 );
cs_set_user_bpammo( id, CSW_DEAGLE, 200 );
}
}
}
public SpartanDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if(cs_get_user_team(id) == CS_TEAM_T)
{
strip_user_weapons(id)
}
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este Spartan Day")
client_print( id, print_chat, "%s Azi jucam Spartan Day", PREFIX)
if(cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife" )
give_item( id, "weapon_deagle")
give_item( id, "weapon_shield")
cs_set_user_bpammo( id, CSW_DEAGLE, 200 );
set_user_health(id, 200);
}
}
}
public KnifeDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive(id) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este 1HP Day")
client_print( id, print_chat, "%s Astazi jucam 1 HP Day! T au 1 HP iar CT 25 HP", PREFIX)
strip_user_weapons(id)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
give_item( id, "weapon_knife" )
set_user_health(id, 25);
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife" )
set_user_health(id, 1);
}
}
}
public WarDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este Gun Day")
client_print( id, print_chat, "%s Astazi este Gun Day toti trebuie sa ne aparam unul pe celalalt pentru a rezista atacului inamic", PREFIX)
strip_user_weapons(id)
give_item(id, "weapon_knife")
give_item(id, "weapon_m4a1")
give_item(id, "weapon_ak47")
give_item(id, "weapon_awp")
give_item(id, "weapon_deagle")
cs_set_user_bpammo( id, CSW_M4A1, 200 );
cs_set_user_bpammo( id, CSW_AK47, 200 );
cs_set_user_bpammo( id, CSW_AWP, 200 );
cs_set_user_bpammo( id, CSW_DEAGLE, 200 );
set_user_health(id, 100);
}
}
public HideDay(id)
{
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este HNS Day")
client_print( id, print_chat, "%s Astazi este HNS Day !Ai 60 de secunde sa te ascunzi", PREFIX)
strip_user_weapons(id)
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 10000);
}
g_iCountTime = CountSeconds;
set_task( 1.0 , "Count" , _ , _ , _ , "a" , g_iCountTime );
}
public GodModeDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este GodMode Day")
client_print(id, print_chat, "%s Astazi vom juca GodMode Day. Detinutii nu au scapare ! CT n-au cum sa moara", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 150);
set_user_godmode (id, true);
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 50);
}
}
}
public FootBallDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este Football Day")
client_print(id, print_chat, "%s Astazi vom juca FootBall Day !Cand se deschid usile fugiti repede pe teren!", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 150);
set_user_godmode (id, true);
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 50);
}
}
}
public HookDay(id)
{
new iPlayers[32]
new iNum
new id
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
id = iPlayers[i]
if( !is_user_alive( id ) )
{
continue;
}
set_hudmessage(255, 255, 255, 0.60, 0.22, 0, 6.0, 10.0)
show_hudmessage(id, "Astazi este Furien Day")
client_print(id, print_chat, "%s Astazi vom juca Furien Day", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
client_cmd(id, "bind e ^"+hook^"");
}
}
public hook_on(id)
{
if(!has_hook[id])
{
return PLUGIN_HANDLED
}
if(hook[id])
{
return PLUGIN_HANDLED
}
set_user_gravity(id,0.0)
set_task(0.1,"hook_prethink",id+10000,"",0,"b")
hook[id]=true
hook_to[id][0]=999999
hook_prethink(id+10000)
emit_sound(id,CHAN_VOICE,"weapons/xbow_hit2.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
return PLUGIN_HANDLED
}
public hook_off(id)
{
if(is_user_alive(id)) set_user_gravity(id)
hook[id]=false
return PLUGIN_HANDLED
}
public hook_prethink(id)
{
id -= 10000
if(!is_user_alive(id))
{
hook[id]=false
}
if(!hook[id])
{
remove_task(id+10000)
return PLUGIN_HANDLED
}
//Get Id's origin
static origin1[3]
get_user_origin(id,origin1)
if(hook_to[id][0]==999999)
{
static origin2[3]
get_user_origin(id,origin2,3)
hook_to[id][0]=origin2[0]
hook_to[id][1]=origin2[1]
hook_to[id][2]=origin2[2]
}
//Create blue beam
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
write_byte(1) //TE_BEAMENTPOINT
write_short(id) // start entity
write_coord(hook_to[id][0])
write_coord(hook_to[id][1])
write_coord(hook_to[id][2])
write_short(beamsprite)
write_byte(1) // framestart
write_byte(1) // framerate
write_byte(2) // life in 0.1's
write_byte(5) // width
write_byte(0) // noise
write_byte(0) // red
write_byte(0) // green
write_byte(255) // blue
write_byte(200) // brightness
write_byte(0) // speed
message_end()
//Calculate Velocity
static Float:velocity[3]
velocity[0] = (float(hook_to[id][0]) - float(origin1[0])) * 3.0
velocity[1] = (float(hook_to[id][1]) - float(origin1[1])) * 3.0
velocity[2] = (float(hook_to[id][2]) - float(origin1[2])) * 3.0
static Float:y
y = velocity[0]*velocity[0] + velocity[1]*velocity[1] + velocity[2]*velocity[2]
static Float:x
x = (get_pcvar_float(hook_speed_cvar) * 120.0) / floatsqroot(y)
velocity[0] *= x
velocity[1] *= x
velocity[2] *= x
set_velo(id,velocity)
return PLUGIN_CONTINUE
}
public get_origin(ent,Float:origin[3])
{
#if defined engine
return entity_get_vector(id,EV_VEC_origin,origin)
#else
return pev(ent,pev_origin,origin)
#endif
}
public set_velo(id,Float:velocity[3])
{
#if defined engine
return set_user_velocity(id,velocity)
#else
return set_pev(id,pev_velocity,velocity)
#endif
}
public get_velo(id,Float:velocity[3])
{
#if defined engine
return get_user_velocity(id,velocity)
#else
return pev(id,pev_velocity,velocity)
#endif
}
public is_valid_ent2(ent)
{
#if defined engine
return is_valid_ent(ent)
#else
return pev_valid(ent)
#endif
}
public get_solidity(ent)
{
#if defined engine
return entity_get_int(ent,EV_INT_solid)
#else
return pev(ent,pev_solid)
#endif
}
stock set_rendering2(index, fx=kRenderFxNone, r=255, g=255, b=255, render=kRenderNormal, amount=16)
{
#if defined engine
return set_rendering(index,fx,r,g,b,render,amount)
#else
set_pev(index, pev_renderfx, fx);
new Float:RenderColor[3];
RenderColor[0] = float(r);
RenderColor[1] = float(g);
RenderColor[2] = float(b);
set_pev(index, pev_rendercolor, RenderColor);
set_pev(index, pev_rendermode, render);
set_pev(index, pev_renderamt, float(amount));
return 1;
#endif
}
Sper ca va placut
nu vreau hateri!
Autor : Elyps editat de eu
0
0
Back to top
T3yZ
[Tatal tau natural !]
Status: Offline
(since 18-04-2016 20:38)
Joined: 28 Mar 2013
Posts: 82
,
Topics: 18
Location:
Romania
Reputation:
-67.5
Votes
: 19
Posted: 24-06-2014, 21:43:13
| Translate post to:
... (
Click for more languages
)
Cel mai de **** daysmenu din cate am vazut cum poti sa faci ma reverse la days care nu exista.
83%
.
tu nu stii sa pui un model si un sunet si ai facut un plugin . (da-ti foc )
tot ce ai facut tu e ca ai modificat cateva functii .
Auzi la el furien day
. ( Tu nu stii cata munca am depus eu cu scripteri mei sa il fac fara nici cel mai mic bug)
0
0
Back to top
JBT3hNoLoGy
[Banned user]
Status: Offline
(since 01-09-2014 10:21)
Joined: 30 Jun 2014
Posts: 87
,
Topics: 41
Location:
Husi
Reputation:
-48.5
Votes
: 9
Posted: 27-07-2014, 12:22:51
| Translate post to:
... (
Click for more languages
)
sa stii ca ma intereseaza
 
Staff message
(
EDUTz
):
citeste postul de mai jos. +1 warn
nu ai voie sa schimbi autorul.
Nimeni nu-i perfect =]]
--> PGL <---
0
0
Back to top
EDUTz
[HardcoreAmxxScripter]
Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306
,
Topics: 244
Location:
Jud. Miserupia, sat Bagadanc
Reputation:
4085
Votes
: 179
Posted: 27-07-2014, 18:54:03
| Translate post to:
... (
Click for more languages
)
1. nu pui sma-ul sub forma de spoiler in folderul de pluginuri. uita-te cum au facut restul
2. ce ai facut tu acolo e bataie de joc, bine macar ca se compileaza.
3. nu esti tu autorul. +1 warn
Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
edutz
, 27 July 2014 16:56
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
The time now is 15-12-2024, 17:21:25
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details