[Script] SCRIM - CAL+LO3
Página 1 de 1.
[Script] SCRIM - CAL+LO3
Descripción:
Me he tomado la libertad de crearles este script para todos los que les gusten los Scrim. Ademas pueden editarlo a su gusto...! el script presenta la cfg cal y lo3 internamente, para no ser necesario estar ejecutándolos desde la consola del servidor con el comando exec.
este es mas facil solo tienen que poner en la consola amx_cal 1 y se activara automáticamente estas 2 configuraciones y asi podran disfrutar de su scrim.
Espero que les guste.!
Me he tomado la libertad de crearles este script para todos los que les gusten los Scrim. Ademas pueden editarlo a su gusto...! el script presenta la cfg cal y lo3 internamente, para no ser necesario estar ejecutándolos desde la consola del servidor con el comando exec.
este es mas facil solo tienen que poner en la consola amx_cal 1 y se activara automáticamente estas 2 configuraciones y asi podran disfrutar de su scrim.
Espero que les guste.!
- Código:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Configuraciones CAL+LO3"
#define AUTHOR "facebook"
#define VERSION "1.0"
new configfile[200]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_cal","cal",ADMIN_CFG,"Ejecute la Configuracion CAL- <overtime 1/0>")
register_concmd("amx_calbackup","backup",ADMIN_CFG," Configuraciones Respaldo/Restauracion - <Repaldar o Restaurar> ")
register_concmd("amx_serverpass","serverpass",ADMIN_CFG," Password del Servidor - <Password> o <apagado> ")
new configsdir[200]
get_configsdir(configsdir,199)
format(configfile,199,"%s/cal-backup.cfg",configsdir)
}
public cal(id,level,cid)
{
if(!cmd_access(id,level,cid,1))
{
return PLUGIN_HANDLED
}
new arg1[32]
read_argv(1,arg1,31)
new modname[32]
get_modname(modname,31)
if(equali(modname,"cstrike"))
{
if(equali(arg1,"on") || equali(arg1,"1"))
{
server_cmd("hostname ^"-=Cal-CS=-|Overtime| facebook Server^"")
server_cmd("sv_maxupdaterate 100")
server_cmd("sv_minupdaterate 20")
server_cmd("sv_unlag 1")
server_cmd("sv_maxunlag .5")
server_cmd("sv_voiceenable 1")
server_cmd("sv_unlagsamples 1")
server_cmd("sv_unlagpush 0")
server_cmd("mp_autokick 0")
server_cmd("mp_autocrosshair 0")
server_cmd("mp_autoteambalance 0")
server_cmd("mp_buytime .25")
server_cmd("mp_consistency 1")
server_cmd("mp_c4timer 35")
server_cmd("mp_fadetoblack 0")
server_cmd("mp_flashlight 1")
server_cmd("mp_forcechasecam 2")
server_cmd("mp_forcecamera 2")
server_cmd("mp_footsteps 1")
server_cmd("mp_freezetime 20")
server_cmd("mp_friendlyfire 1")
server_cmd("mp_hostagepenalty 0")
server_cmd("mp_limitteams 6")
server_cmd("mp_logecho 1")
server_cmd("mp_logdetail 1")
server_cmd("mp_logfile 1")
server_cmd("mp_logmessages 1")
server_cmd("mp_playerid 0")
server_cmd("mp_roundtime 1.75")
server_cmd("mp_timelimit 999")
server_cmd("mp_tkpunish 0")
server_cmd("mp_startmoney 10000")
server_cmd("sv_aim 0")
server_cmd("sv_airaccelerate 10")
server_cmd("sv_airmove 1")
server_cmd("sv_allowdownload 1")
server_cmd("sv_allowupload 1")
server_cmd("sv_alltalk 0")
server_cmd("sv_proxies 1")
server_cmd("sv_cheats 0")
server_cmd("sv_clienttrace 1.0")
server_cmd("sv_clipmode 0")
server_cmd("sv_contact torrivzla@msn.com")
server_cmd("sv_friction 4")
server_cmd("sv_gravity 800")
server_cmd("sv_maxrate 25000")
server_cmd("sv_maxspeed 320")
server_cmd("sv_minrate 0")
server_cmd("sv_send_logos 1")
server_cmd("sv_send_resources 1")
server_cmd("sv_stepsize 18")
server_cmd("sv_stopspeed 75")
server_cmd("sv_timeout 65")
server_cmd("allow_spectators 0;decalfrequency 60")
server_cmd("edgefriction 2")
server_cmd("host_framerate 0")
server_cmd("log on")
server_cmd("pausable 0")
client_print(0,print_chat,"")
client_print(0,print_chat,"")
client_print(0,print_chat,"")
client_print(0,print_chat,"")
client_print(0,print_chat,"La Configuracion -=Cal-CS=-|Overtime| Se ha ejecutado.!")
}
else
{
server_cmd("hostname ^"-=CAL-CS=- facebook Server^"")
server_cmd("sv_maxupdaterate 100")
server_cmd("sv_minupdaterate 20")
server_cmd("sv_unlag 1")
server_cmd("sv_maxunlag .5")
server_cmd("sv_voiceenable 1")
server_cmd("sv_unlagsamples 1")
server_cmd("sv_unlagpush 0")
server_cmd("mp_autokick 0")
server_cmd("mp_autocrosshair 0")
server_cmd("mp_autoteambalance 0")
server_cmd("mp_buytime .25")
server_cmd("mp_consistency 1")
server_cmd("mp_c4timer 35")
server_cmd("mp_fadetoblack 0")
server_cmd("mp_flashlight 1")
server_cmd("mp_forcechasecam 2")
server_cmd("mp_forcecamera 2")
server_cmd("mp_footsteps 1")
server_cmd("mp_freezetime 15")
server_cmd("mp_friendlyfire 1")
server_cmd("mp_hostagepenalty 0")
server_cmd("mp_limitteams 6")
server_cmd("mp_logecho 1")
server_cmd("mp_logdetail 1")
server_cmd("mp_logfile 1")
server_cmd("mp_logmessages 1")
server_cmd("mp_playerid 0")
server_cmd("mp_roundtime 1.75")
server_cmd("mp_timelimit 999")
server_cmd("mp_tkpunish 0")
server_cmd("mp_startmoney 800")
server_cmd("sv_aim 0")
server_cmd("sv_airaccelerate 10")
server_cmd("sv_airmove 1")
server_cmd("sv_allowdownload 1")
server_cmd("sv_allowupload 1")
server_cmd("sv_alltalk 0")
server_cmd("sv_proxies 1")
server_cmd("sv_cheats 0")
server_cmd("sv_clienttrace 1.0")
server_cmd("sv_clipmode 0")
server_cmd("sv_contact torrivzla@msn.com")
server_cmd("sv_friction 4")
server_cmd("sv_gravity 800")
server_cmd("sv_maxrate 25000")
server_cmd("sv_maxspeed 320")
server_cmd("sv_minrate 0")
server_cmd("sv_send_logos 1")
server_cmd("sv_send_resources 1")
server_cmd("sv_stepsize 18")
server_cmd("sv_stopspeed 75")
server_cmd("sv_timeout 65")
server_cmd("allow_spectators 0")
server_cmd("decalfrequency 60")
server_cmd("edgefriction 2")
server_cmd("host_framerate 0")
server_cmd("log on;pausable 0")
client_print(0,print_chat,"")
client_print(0,print_chat,"")
client_print(0,print_chat,"")
client_print(0,print_chat,"")
client_print(0,print_chat,"La Confuguracion -=CAL-CS=- Se ha ejecutado.!")
}
}
server_cmd("mp_maxrounds 9999")
client_print(0,print_chat,"El Maximo de Rondas es de 9999")
client_print(0,print_chat,"Live En 3 Reinicios!")
set_task(0.1,"rr")
set_task(0.1,"rr1")
set_task(1.5,"rr")
set_task(2.0,"rr2")
set_task(3.5,"rr3")
set_task(4.0,"rr")
set_task(5.0,"lo3")
return PLUGIN_HANDLED
}
public rr()
{
server_cmd("sv_restartround 1")
return PLUGIN_HANDLED
}
public rr1()
{
client_print(0,print_chat,"-=Reinicio #1=-")
return PLUGIN_HANDLED
}
public rr2()
{
client_print(0,print_chat,"-=Reinicio #2=-")
return PLUGIN_HANDLED
}
public rr3()
{
client_print(0,print_chat,"-=Reinicio #3=-")
return PLUGIN_HANDLED
}
public lo3()
{
client_print(0,print_chat,"-")
set_task(0.1,"lo31")
return PLUGIN_HANDLED
}
public lo31()
{
client_print(0,print_chat,"-=")
set_task(0.1,"lo32")
return PLUGIN_HANDLED
}
public lo32()
{
client_print(0,print_chat,"-=L")
set_task(0.1,"lo33")
return PLUGIN_HANDLED
}
public lo33()
{
client_print(0,print_chat,"-=LI")
set_task(0.1,"lo34")
return PLUGIN_HANDLED
}
public lo34()
{
client_print(0,print_chat,"-=LIV")
set_task(0.1,"lo35")
return PLUGIN_HANDLED
}
public lo35()
{
client_print(0,print_chat,"-=LIVE")
set_task(0.1,"lo36")
return PLUGIN_HANDLED
}
public lo36()
{
client_print(0,print_chat,"-=LIVE=")
set_task(0.1,"lo37")
return PLUGIN_HANDLED
}
public lo37()
{
client_print(0,print_chat,"-=LIVE=-")
set_task(0.1,"lo38")
return PLUGIN_HANDLED
}
public lo38()
{
client_print(0,print_chat,"=LIVE=-")
set_task(0.1,"lo39")
return PLUGIN_HANDLED
}
public lo39()
{
client_print(0,print_chat,"LIVE=-")
set_task(0.1,"lo310")
return PLUGIN_HANDLED
}
public lo310()
{
client_print(0,print_chat,"IVE=-")
set_task(0.1,"lo311")
return PLUGIN_HANDLED
}
public lo311()
{
client_print(0,print_chat,"VE=-")
set_task(0.1,"lo312")
return PLUGIN_HANDLED
}
public lo312()
{
client_print(0,print_chat,"E=-")
set_task(0.1,"lo313")
return PLUGIN_HANDLED
}
public lo313()
{
client_print(0,print_chat,"=-")
set_task(0.1,"lo314")
return PLUGIN_HANDLED
}
public lo314()
{
client_print(0,print_chat,"-")
set_task(0.1,"lo31_2")
return PLUGIN_HANDLED
}
public lo31_2()
{
client_print(0,print_chat,"-=")
set_task(0.1,"lo32_2")
return PLUGIN_HANDLED
}
public lo32_2()
{
client_print(0,print_chat,"-=L")
set_task(0.1,"lo33_2")
return PLUGIN_HANDLED
}
public lo33_2()
{
client_print(0,print_chat,"-=LI")
set_task(0.1,"lo34_2")
return PLUGIN_HANDLED
}
public lo34_2()
{
client_print(0,print_chat,"-=LIV")
set_task(0.1,"lo35_2")
return PLUGIN_HANDLED
}
public lo35_2()
{
client_print(0,print_chat,"-=LIVE")
set_task(0.1,"lo36_2")
return PLUGIN_HANDLED
}
public lo36_2()
{
client_print(0,print_chat,"-=LIVE=")
set_task(0.1,"lo37_2")
return PLUGIN_HANDLED
}
public lo37_2()
{
client_print(0,print_chat,"-=LIVE=-")
set_task(0.1,"lo38_2")
return PLUGIN_HANDLED
}
public lo38_2()
{
client_print(0,print_chat,"=LIVE=-")
set_task(0.1,"lo39_2")
return PLUGIN_HANDLED
}
public lo39_2()
{
client_print(0,print_chat,"LIVE=-")
set_task(0.1,"lo310_2")
return PLUGIN_HANDLED
}
public lo310_2()
{
client_print(0,print_chat,"IVE=-")
set_task(0.1,"lo311_2")
return PLUGIN_HANDLED
}
public lo311_2()
{
client_print(0,print_chat,"VE=-")
set_task(0.1,"lo312_2")
return PLUGIN_HANDLED
}
public lo312_2()
{
client_print(0,print_chat,"E=-")
set_task(0.1,"lo313_2")
return PLUGIN_HANDLED
}
public lo313_2()
{
client_print(0,print_chat,"=-")
set_task(0.1,"lo314_2")
return PLUGIN_HANDLED
}
public lo314_2()
{
client_print(0,print_chat,"-")
set_task(0.1,"lo318")
return PLUGIN_HANDLED
}
public lo31_5()
{
client_print(0,print_chat," ")
set_task(3.0,"lo318")
return PLUGIN_HANDLED
}
public lo318()
{
client_print(0,print_chat,"")
client_print(0,print_chat,"` LIVE `")
client_print(0,print_chat,"")
client_print(0,print_chat,"Buena suerte & Diviertete!")
set_task(0.5,"lo319")
return PLUGIN_HANDLED
}
public lo319()
{
client_print(0,print_chat,"EL AMXX SE HA APAGADO!")
server_cmd("amx_off")
return PLUGIN_HANDLED
}
public backupexec(id,level,cid)
{
if(!cmd_access(id,level,cid,1))
{
return PLUGIN_HANDLED
}
server_cmd("exec %s",configfile)
console_print(id,"Su configuracion ha sido restaurada.")
return PLUGIN_HANDLED
}
public serverpass(id,level,cid)
{
if(!cmd_access(id,level,cid,2))
{
return PLUGIN_HANDLED
}
new arg1[32]
read_argv(1,arg1,31)
if(equali(arg1,"off"))
{
set_cvar_string("sv_password","none")
console_print(id,"La password del servidor ha sido eliminada.!")
return PLUGIN_HANDLED
}
set_cvar_string("sv_password",arg1)
console_print(id,"Fije la password para el servidor ^"%s^".",arg1)
return PLUGIN_HANDLED
}
public backup(id,level,cid)
{
if(!cmd_access(id,level,cid,1))
{
return PLUGIN_HANDLED
}
new arg1[32]
read_argv(1,arg1,31)
new write[100]
new write_str[64]
get_cvar_string("hostname",write_str,63)
new modname[32]
get_modname(modname,31)
if(equali(arg1,"restore"))
{
server_cmd("exec %s",configfile)
console_print(id,"Su configuracion ha sido restaurada.")
return PLUGIN_HANDLED
}
if(equali(arg1,"backup"))
{
format(write,99,"hostname ^"%s^"",write_str)
write_file(configfile,write,0)
format(write,99,"sv_maxupdaterate %f",get_cvar_float("sv_maxupdaterate"))
write_file(configfile,write,1)
if(equali(modname,"cstrike"))
{
format(write,99,"sv_minupdaterate %f",get_cvar_float("sv_minupdaterate"))
write_file(configfile,write,2)
format(write,99,"sv_unlag %f",get_cvar_float("sv_unlag"))
write_file(configfile,write,3)
format(write,99,"mp_logdetail %f",get_cvar_float("mp_logdetail"))
write_file(configfile,write,24)
format(write,99,"sv_unlagpush %f",get_cvar_float("sv_unlagpush"))
write_file(configfile,write,7)
}
format(write,99,"sv_maxunlag %f",get_cvar_float("sv_maxunlag"))
write_file(configfile,write,4)
format(write,99,"sv_voiceenable %f",get_cvar_float("sv_voiceenable"))
write_file(configfile,write,5)
format(write,99,"sv_unlagsamples %f",get_cvar_float("sv_unlagsamples"))
write_file(configfile,write,6)
format(write,99,"mp_autokick %f",get_cvar_float("mp_autokick"))
write_file(configfile,write,8)
format(write,99,"mp_autocrosshair %f",get_cvar_float("mp_autocrosshair"))
write_file(configfile,write,9)
format(write,99,"mp_autoteambalance %f",get_cvar_float("mp_autoteambalance"))
write_file(configfile,write,10)
format(write,99,"mp_buytime %f",get_cvar_float("mp_buytime"))
write_file(configfile,write,11)
format(write,99,"mp_consistency %f",get_cvar_float("mp_consistency"))
write_file(configfile,write,12)
format(write,99,"mp_c4timer %f",get_cvar_float("mp_c4timer"))
write_file(configfile,write,13)
format(write,99,"mp_fadetoblack %f",get_cvar_float("mp_fadetoblack"))
write_file(configfile,write,14)
format(write,99,"mp_flashlight %f",get_cvar_float("mp_flashlight"))
write_file(configfile,write,15)
format(write,99,"mp_forcechasecam %f",get_cvar_float("mp_forcechasecam"))
write_file(configfile,write,16)
format(write,99,"mp_forcecamera %f",get_cvar_float("mp_forcecamera"))
write_file(configfile,write,17)
format(write,99,"mp_footsteps %f",get_cvar_float("mp_footsteps"))
write_file(configfile,write,18)
format(write,99,"mp_freezetime %f",get_cvar_float("mp_freezetime"))
write_file(configfile,write,19)
format(write,99,"mp_friendlyfire %f",get_cvar_float("mp_friendlyfire"))
write_file(configfile,write,20)
format(write,99,"mp_hostagepenalty %f",get_cvar_float("mp_hostagepenalty"))
write_file(configfile,write,21)
format(write,99,"mp_limitteams %f",get_cvar_float("mp_limitteams"))
write_file(configfile,write,22)
format(write,99,"mp_logecho %f",get_cvar_float("mp_logecho"))
write_file(configfile,write,23)
format(write,99,"mp_logfile %f",get_cvar_float("mp_logfile"))
write_file(configfile,write,25)
format(write,99,"mp_logmessages %f",get_cvar_float("mp_logmessages"))
write_file(configfile,write,26)
format(write,99,"mp_maxrounds %f",get_cvar_float("mp_maxrounds"))
write_file(configfile,write,27)
format(write,99,"mp_playerid %f",get_cvar_float("mp_playerid"))
write_file(configfile,write,28)
format(write,99,"mp_roundtime %f",get_cvar_float("mp_roundtime"))
write_file(configfile,write,29)
format(write,99,"mp_timelimit %f",get_cvar_float("mp_timelimit"))
write_file(configfile,write,30)
format(write,99,"mp_tkpunish %f",get_cvar_float("mp_tkpunish"))
write_file(configfile,write,31)
format(write,99,"mp_startmoney %f",get_cvar_float("mp_startmoney"))
write_file(configfile,write,32)
format(write,99,"sv_aim %f",get_cvar_float("sv_aim"))
write_file(configfile,write,33)
format(write,99,"sv_airaccelerate %f",get_cvar_float("sv_airaccelerate"))
write_file(configfile,write,34)
format(write,99,"sv_allowdownload %f",get_cvar_float("sv_allowdownload"))
write_file(configfile,write,35)
format(write,99,"sv_allowupload %f",get_cvar_float("sv_allowupload"))
write_file(configfile,write,36)
format(write,99,"sv_alltalk %f",get_cvar_float("sv_alltalk"))
write_file(configfile,write,37)
format(write,99,"sv_proxies %f",get_cvar_float("sv_proxies"))
write_file(configfile,write,38)
format(write,99,"sv_cheats %f",get_cvar_float("sv_cheats"))
write_file(configfile,write,39)
format(write,99,"sv_clienttrace %f",get_cvar_float("sv_clienttrace"))
write_file(configfile,write,40)
format(write,99,"sv_clipmode %f",get_cvar_float("sv_clipmode"))
write_file(configfile,write,41)
get_cvar_string("sv_contact",write_str,63)
format(write,99,"sv_contact %s",write_str)
write_file(configfile,write,42)
format(write,99,"sv_friction %f",get_cvar_float("sv_friction"))
write_file(configfile,write,43)
format(write,99,"sv_gravity %f",get_cvar_float("sv_gravity"))
write_file(configfile,write,44)
format(write,99,"sv_maxrate %f",get_cvar_float("sv_maxrate"))
write_file(configfile,write,45)
format(write,99,"sv_maxspeed %f",get_cvar_float("sv_maxspeed"))
write_file(configfile,write,46)
format(write,99,"sv_minrate %f",get_cvar_float("sv_minrate"))
write_file(configfile,write,47)
format(write,99,"sv_send_logos %f",get_cvar_float("sv_send_logos"))
write_file(configfile,write,48)
format(write,99,"sv_send_resources %f",get_cvar_float("sv_send_resources"))
write_file(configfile,write,49)
format(write,99,"sv_stepsize %f",get_cvar_float("sv_stepsize"))
write_file(configfile,write,50)
format(write,99,"sv_stopspeed %f",get_cvar_float("sv_stopspeed"))
write_file(configfile,write,51)
format(write,99,"sv_timeout %f",get_cvar_float("sv_timeout"))
write_file(configfile,write,52)
format(write,99,"allow_spectators %f",get_cvar_float("allow_spectators"))
write_file(configfile,write,53)
format(write,99,"decalfrequency %f",get_cvar_float("decalfrequency"))
write_file(configfile,write,54)
format(write,99,"host_framerate %f",get_cvar_float("host_framerate"))
write_file(configfile,write,55)
format(write,99,"log %d",get_cvar_num("log"))
write_file(configfile,write,55)
format(write,99,"pausable %f",get_cvar_float("pausable"))
write_file(configfile,write,57)
}
else
{
console_print(id,"amx_calbackup - Configuracion Respaldo/Restauracion - <Repaldar o Restaurar>")
return PLUGIN_HANDLED
}
console_print(id,"La configuraciones actuales se han respaldado.")
return PLUGIN_HANDLED
}
Temas similares
» [Script] Say Steam ID
» [Script] Actualice su Protocolo
» [Script] Mensaje de Bienvenida
» [Script] Avisador para los AFK
» [Script] Nombre del juego
» [Script] Actualice su Protocolo
» [Script] Mensaje de Bienvenida
» [Script] Avisador para los AFK
» [Script] Nombre del juego
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.