#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <engine>
#include <fakemeta>
#pragma tabsize 0
#define PLUGIN "DaysMenu"
#define VERSION "1.0"
#define AUTHOR "Cica scripter: D3luxe"
// PREFIX
new const PREFIX[] = "[eXtreamCS]";
// If you type your name below is like me typing your name on your parent's house owning document
// Stop Prefix
const CountSeconds = 100;
new g_iCountTime;
new g_iBlockLastRequest;
new g_BlockWeapons;
// Models
// Stop Models
new day = 0;
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 /days", "fwdSpawnPlayer" )
}
public plugin_precache()
{
precache_sound("weapons/xbow_hit2.wav")
precache_sound("weapons/xbow_fire1.wav")
}
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");
}
}
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 in Penitenciarul JILAVA", "menu_handler");
menu_additem(menu1, "\rZombie \rDay", "1", 0);
menu_additem(menu1, "\ySpartan \rDay", "2", 0);
menu_additem(menu1, "\wFree \rDay", "3", 0);
menu_additem(menu1, "\rNight \rCrawler \rDay", "4", 0);
menu_additem(menu1, "\yKnife \wDay", "5", 0);
menu_additem(menu1, "\wWar \rDay", "6", 0);
menu_additem(menu1, "\rHnS Simple \rDay", "7", 0);
menu_additem(menu1, "\yShark \rDay", "8", 0);
menu_additem(menu1, "\wGodMode \rDay", "9", 0);
menu_additem(menu1, "\yFurien \rDay", "10", 0);
menu_additem(menu1, "\w1HP \rDay", "11", 0);
menu_additem(menu1, "\yRambo \rDay", "12", 0);
menu_additem(menu1, "\wReverse Zombie \rDay(t sunt zm)", "13", 0);
menu_additem(menu1, "\rReverse NightCrawler \rDay", "14", 0);
menu_additem(menu1, "\yReverse Shark \rDay", "15", 0);
menu_additem(menu1, "\gSniper \rDay", "16", 0);
menu_additem(menu1, "\yGravity \rDay", "17", 0);
menu_additem(menu1, "\yGrenade \rDay", "18", 0);
menu_additem(menu1, "\wNormal Day", "19", 0);
menu_additem(menu1, "\wDuck Day", "20", 0);
menu_additem(menu1, "\wJump Day", "21", 0);
menu_additem(menu1, "\wCell Day", "22", 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:
{
HideDaySimple(id)
day = 1;
}
case 8:
{
SharkDay(id)
day = 1;
}
case 9:
{
GodModeDay(id)
day = 1;
}
case 10:
{
FurienDay(id)
day = 1;
}
case 11:
{
HP1Day(id)
day = 1;
}
case 12:
{
RamboDay(id)
day = 1;
}
case 13:
{
ReverseZombieDay(id)
day = 1;
}
case 14:
{
ReverseNightCrawlerDay(id)
day = 1;
}
case 15:
{
ReverseSharkDay(id)
day = 1;
}
case 16:
{
SniperDay(id)
day=1;
}
case 17:
{
GravityDay(id)
day=1;
}
case 18:
{
GrenadeDay(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 ca un zeu!", 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);
g_BlockWeapons = 1;
}
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, 999 );
give_item(id, "weapon_deagle");
cs_set_user_bpammo( id, CSW_DEAGLE, 999 );
g_iBlockLastRequest = 1;
}
}
}
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_health(id, 100);
set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 0);
g_BlockWeapons = 1;
}
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 );
g_iBlockLastRequest = 1;
}
}
}
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 ZM Day , un om o varsat substante toxice pe Gardieni!iar acum Gardienii trebuie sa omoare Detinutii!", 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, 7500);
set_user_rendering(id,kRenderFxGlowShell,255,0,0,kRenderNormal,25)
g_BlockWeapons = 1;
}
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, 999 );
cs_set_user_bpammo( id, CSW_M4A1, 999 );
cs_set_user_bpammo( id, CSW_DEAGLE, 999 );
g_iBlockLastRequest = 1;
}
}
}
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( !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)
strip_user_weapons(id)
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
give_item( id, "weapon_knife" );
give_item( id, "weapon_m4a1" )
cs_set_user_bpammo( id, CSW_M4A1, 999)
set_user_health(id, 200);
}
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, 100);
g_iBlockLastRequest = 1;
}
}
}
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 knife Day!")
client_print( id, print_chat, "%s Astazi jucam knife Day!", 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, 200);
g_BlockWeapons = 1;
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife" );
set_user_health(id, 100);
g_iBlockLastRequest = 1;
g_BlockWeapons = 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 WarDay!")
client_print( id, print_chat, "%s Astazi este WarDay Prizonierii trebuie sa omoare Gardienii sau invers!", PREFIX)
strip_user_weapons(id)
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 100);
give_item(id ,"weapon_knife" )
give_item( id, "weapon_m4a1" )
give_item( id, "weapon_deagle" )
cs_set_user_bpammo( id, CSW_M4A1, 999 );
cs_set_user_bpammo( id, CSW_DEAGLE, 999 );
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
give_item( id, "weapon_knife" )
give_item( id, "weapon_ak47" )
give_item( id, "weapon_deagle" )
cs_set_user_bpammo( id, CSW_AK47, 999 );
cs_set_user_bpammo( id, CSW_DEAGLE, 999 );
g_iBlockLastRequest = 1;
}
}
}
public HideDaySimple(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 HNS Simple Day!")
client_print( id, print_chat, "%s Astazi este Vatia-s-cunselea Day!Ai 100 de secunde sa te ascunzi,ct tr sa stea la arme pana trece timpul.", 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, 100);
set_user_godmode (id, true);
g_BlockWeapons = 1
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife")
set_user_health(id, 100);
g_iBlockLastRequest = 1;
}
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 !T nu poate omora CT , CT NU AU VOIE SA faca FK.", 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);
give_item( id, "weapon_knife")
give_item( id, "weapon_deagle")
give_item( id, "weapon_m4a1")
cs_set_user_bpammo( id, CSW_DEAGLE, 200);
cs_set_user_bpammo( id, CSW_M4A1, 999);
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
give_item( id, "weapon_knife")
g_iBlockLastRequest = 1;
}
}
}
public FurienDay(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 FurienDay!")
client_print(id, print_chat, "%s Astazi este FurienDay,ct au speed iar t au arme,omorati-va!", PREFIX)
strip_user_weapons( id )
g_iBlockLastRequest = 1;
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
give_item( id, "weapon_knife")
set_user_health(id, 500);
set_user_maxspeed(id , get_user_maxspeed( id ) + 600.0)
g_BlockWeapons = 1
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
give_item( id, "weapon_knife")
give_item( id, "weapon_ak47")
give_item( id, "weapon_deagle")
cs_set_user_bpammo( id , CSW_AK47, 999);
cs_set_user_bpammo (id , CSW_DEAGLE, 200);
g_iBlockLastRequest = 1;
}
}
}
public HP1Day(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 1
HP day!")
client_print(id, print_chat, "%s Astazi este 1hp Day,ct 25
HP iar t 1hp!", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 25);
give_item( id, "weapon_knife")
g_BlockWeapons = 1
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 1);
give_item( id, "weapon_knife")
g_iBlockLastRequest = 1;
g_BlockWeapons = 1
}
}
}
public RamboDay(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 RamboDay!")
client_print(id, print_chat, "%s Astazi este RamboDay,omorati-va
!", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 200);
give_item(id , "weapon_knife")
give_item( id, "weapon_m4a1")
cs_set_user_bpammo( id, CSW_M4A1, 999 );
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
give_item( id, "weapon_knife")
give_item( id, "weapon_m249")
give_item( id, "weapon_deagle")
cs_set_user_bpammo( id , CSW_M249, 999 );
cs_set_user_bpammo( id , CSW_DEAGLE, 200 );
g_iBlockLastRequest = 1;
}
}
}
public ReverseZombieDay(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 Reverse Zombie Day!")
client_print( id, print_chat, "%s Astazi este ZM Day , un om o varsat substante toxice pe Teroristi!iar acum Gardienii trebuie sa omoare Detinutii!", PREFIX)
strip_user_weapons(id)
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife" )
set_user_health(id, 5000);
set_user_rendering(id,kRenderFxGlowShell,255,0,0,kRenderNormal,25)
g_iBlockLastRequest = 1;
g_BlockWeapons = 1;
}
if (cs_get_user_team(id) == CS_TEAM_CT)
{
give_item( id, "weapon_knife" )
give_item( id, "weapon_xm1014" )
give_item( id, "weapon_m4a1" )
cs_set_user_bpammo( id, CSW_XM1014, 999 );
cs_set_user_bpammo( id, CSW_M4A1, 999 );
set_user_health( id, 100);
}
}
}
public ReverseNightCrawlerDay(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 Reverse Night Crawler Day!")
client_print(id, print_chat, "%s Astazi jucam Reverse Night Crawler Day!T este invizibil iar CT trebuie sa ii omoare.", PREFIX)
strip_user_weapons(id)
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 0);
give_item( id, "weapon_knife")
g_iBlockLastRequest = 1;
}
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 200);
give_item( id, "weapon_knife")
give_item( id, "weapon_m4a1")
cs_set_user_bpammo( id, CSW_M4A1, 999 );
give_item( id, "weapon_deagle");
cs_set_user_bpammo( id, CSW_DEAGLE, 999 );
}
}
}
public ReverseSharkDay(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 Reverse Shark Day!")
client_print(id, print_chat, "%s Astazi vom juca ReverseSharkDay !T pot intra in pamant ca niste ***,sa vedem ce fac ct.", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
set_user_noclip (id, true);
give_item( id, "weapon_knife")
g_iBlockLastRequest = 1;
}
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 200);
give_item( id, "weapon_knife")
give_item(id, "weapon_m3")
cs_set_user_bpammo( id, CSW_M3, 999);
}
}
}
public SniperDay(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 Sniper Day!")
client_print(id, print_chat, "%s Astazi vom juca SniperDay!!.Cand pun ochiu in luneta curat tot de pe planeta!", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_T)
{
set_user_health(id, 100);
give_item( id , "weapon_knife")
give_item( id , "weapon_scout")
cs_set_user_bpammo( id ,CSW_SCOUT, 999);
g_iBlockLastRequest = 1;
}
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 200);
give_item( id, "weapon_knife" )
give_item(id, "weapon_awp")
cs_set_user_bpammo( id, CSW_AWP, 999 );
}
}
}
public GravityDay(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 GravityDay!")
client_print(id, print_chat, "%s Astazi vom juca GravityDay !Zburati ca nebuni si omorati-va.", PREFIX)
strip_user_weapons( id )
give_item( id, "weapon_knife" )
if (cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife");
give_item(id, "weapon_usp");
cs_set_user_bpammo( id, CSW_USP, 999 );
set_user_health(id, 250);
set_user_gravity ( id, 0.2 );
g_iBlockLastRequest = 1;
}
if (cs_get_user_team(id) == CS_TEAM_CT)
{
set_user_health(id, 400);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
cs_set_user_bpammo( id, CSW_DEAGLE, 999 );
set_user_gravity ( id, 0.2 );
}
}
}
public GrenadeDay(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 GrenadeDay!")
client_print(id, print_chat, "%s Astazi vom juca GrenadeDay !Toti au grenazi FUGITIII,NEBUNII.", 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, 100);
give_item( id, "weapon_hegrenade")
cs_set_user_bpammo( id, CSW_HEGRENADE, 999 );
}
if (cs_get_user_team(id) == CS_TEAM_T)
{
give_item( id, "weapon_knife");
set_user_health(id, 100);
give_item( id, "weapon_hegrenade")
cs_set_user_bpammo( id, CSW_HEGRENADE, 999 );
g_iBlockLastRequest = 1;
}
}
}