modificare plugin

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
User avatar
b[L]u
Membru, skill +1
Membru, skill +1
Posts: 314
Joined: 31 May 2010, 13:27
Detinator Steam: Nu
Has thanked: 26 times
Been thanked: 8 times

24 Sep 2010, 20:30

salut vreau sa-mi modificati sa faca 3 poze si dupa aia sa l puna automat spec
| Afiseaza codul
#include <amxmodx> 
#include <amxmisc>
#include < cstrike >

#define PLUGIN "Screenshot" 
#define VERSION "1.5" 
#define AUTHOR "Fantoma" 


public plugin_init() { 
   register_plugin(PLUGIN, VERSION, AUTHOR) 
    
   register_concmd("amx_ss","admin_ss",ADMIN_KICK,"Takes a Player Screenshot"); 
} 


public admin_ss(id,level,cid) 
{ 
   if(!cmd_access(id,level,cid,2)) 
   return PLUGIN_HANDLED; 
    
   new argument[32] 
   read_argv(1,argument,31) 
    
   new player = cmd_target(id,argument,31) 
   new hostname[64], tname[32], usrip[32], timer[32], name[32];
   get_cvar_string("hostname",hostname,63);
   get_user_name(id, name, 31)
   get_user_name(player,tname,31);
   get_user_ip(player,usrip,31);
   get_time("%m/%d/%Y - %H:%M:%S", timer,31);
    
   if(!player)
   return PLUGIN_HANDLED; 
    
   console_print(id, "* Screenshot facut lui %s.", tname)
   client_print(0, print_chat, "* ADMIN %s i-a facut o poza lui %s.", name, tname)
   client_print(player, print_chat, "* Un admin ti-a facut un screenshot !")
   client_print(player, print_chat, "* Nick-ul tau: %s - IP-ul tau: %s",tname,usrip)
   client_print(player, print_chat, "* Data si ora: %s - Server: %s",timer,hostname)
   client_cmd(player,"spk misc/antend;snapshot")

   user_silentkill( id );
   cs_set_user_team( id, CS_TEAM_SPECTATOR );
    
   return PLUGIN_HANDLED 
}

public plugin_precache()
{
   precache_sound("misc/antend.wav");
}
Nick: MiSteR D
Image
User avatar
evrolinKK
Membru, skill +2
Membru, skill +2
Posts: 688
Joined: 25 Feb 2008, 10:45
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (2 luni)
Nume anterior : EvroLink
Ban 3 luni ! (expirat)
Has thanked: 12 times
Been thanked: 23 times

24 Sep 2010, 21:17

Incearca pluginu asta, are ce vrei tu: http://www.extreamcs.com/forum/viewtopi ... 29&t=16419.
User avatar
S3ekEr^
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3457
Joined: 06 Dec 2009, 12:47
Detinator Steam: Nu
Reputatie: Nume anterior: The Seeker , Reptyle
Fost Scripter
Fost super moderator
Utilizator neserios ( tepar )
Has thanked: 105 times
Been thanked: 326 times

24 Sep 2010, 21:22

Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests