Salut la toti am asa o problema!
cand incerc sa scriu demo adica , Record demo.dem serveru meu adica csf, imi dea BAN si scrie Ban pentru flood, dar la multi prieteni de a mei tot le da ban daca incearca sa faca demo pe acelas motiv, cum pot sa scos din functia lui csf ca sa nu dea ban pentru record.dem???
csf-anticheat[ReZolVAT]
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
- Gughy
- Membru, skill 0
- Posts: 74
- Joined: 17 Feb 2011, 22:12
- Detinator Steam: Da
- Has thanked: 5 times
- Been thanked: 5 times
A fost interzisa aceasta comanda !
Incearca sa bagi acest plugin, cu care poti face demo !
Incearca sa bagi acest plugin, cu care poti face demo !
Code: Select all
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Demo Record"
#define VERSION "1.1"
#define AUTHOR "FireW@ll"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_demo","demo",ADMIN_BAN,"<name> - takes a demo of a client")
register_concmd("amx_stopdemo","stopdemo",ADMIN_BAN,"<name> - stops the demo taken")
}
public demo(id,level,cid){
if(!cmd_access(id,level,cid,1))
return 0;
new cmd[32], mapname[32], name[32], time[32], name2[32]
read_argv(1, cmd, 31);
new player = cmd_target(id, cmd, 5);
if (!player)
return 0;
get_time("%m/%d/%Y - %H:%M:%S",time,31)
get_user_name(player,name,31)
get_user_name(id,name2,31)
get_mapname(mapname,31)
client_cmd(player,"record %s_%s.dem",name,mapname)
client_print(id,print_console,"You started Demo on %s, Time: %s",name,time)
log_amx("%s Started The Demo On %s, Time %s",name, name2,time)
return 0;
}
public stopdemo(id,level,cid){
if(!cmd_access(id,level,cid,1))
return 0;
new cmd[32], name[32], time[32], name2[32]
read_argv(1, cmd, 31);
new player = cmd_target(id, cmd, 5);
if (!player)
return 0;
get_time("%m/%d/%Y - %H:%M:%S",time,31)
get_user_name(player,name,31)
get_user_name(id,name2,31)
client_cmd(player,"stop")
client_print(id,print_console,"You stoped the Demo on %s, Time: %s",name,time)
log_amx("%s Started The Demo On %s, Time %s",name, name2,time)
return 0;
}