Pluginuri pentru modul AmxModX.
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
LordOfNothing
- Membru, skill +1
- Posts: 387
- Joined: 19 Jul 2013, 15:51
- Detinator Steam: Nu
- Reputatie: Restrictie PM
- Has thanked: 11 times
- Been thanked: 35 times
08 Nov 2013, 12:02
Descriere: Poti restarta jocul printro comanda de admin !
Descarcare:
- | Afiseaza codul
/*
ChangeLog:
1.0 - First Version
1.1 - /rs disabled & code rewrited !
1.2 - added cvar ! mp_restart_round 1/0
1.3 - added CholorChat , plugin tested (work great) & code optimizated !
*/
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
new const PLUGIN [] = "Restart Round";
new const VERSION [] = "1.3";
new const AUTHOR [] = "Lord Of Nothing";
new enable;
new const My_Msg[ ][ ] =
{
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! "
};
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR);
register_concmd("amx_restart","C_Admin_Hook_Restart",ADMIN_KICK,"amx_restart RESTART ROUND !");
enable = register_cvar("mp_restart_round","1");
}
public C_Admin_Hook_Restart( id, level, cid )
{
new time_to_restart[3];
read_argv(1,time_to_restart,2)
if( !cmd_access( id, level, cid, 0 ) || !get_pcvar_num(enable) )
return PLUGIN_HANDLED
server_cmd("sv_restart %i",str_to_num(time_to_restart));
for(new i; i < sizeof My_Msg; i++)
{
ColorChat(0, RED, My_Msg);
}
return PLUGIN_CONTINUE
}
Nume: Round Restart
Versiune: 1.3
Link oficial: http://www.extreamcs.com
Cvar-uri (se adauga in fisierul amxmodx\configs\amxx.cfg):
- amx_Cvar mp_restart_round 1/0 - 1= Plugin activat,0=Plugin dezactivat
Comenzi administrative (se tasteaza in consola si trebuie sa fiti administrator):
- amx_restart 10 - amx_Restart TIMP , 10 e doar un ex !
Last edited by
LordOfNothing on 09 Nov 2013, 11:20, edited 2 times in total.
-
munir
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff
- Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
-
Contact:
08 Nov 2013, 12:28
Felicitari, esti autorul cu numarul 1023231. Continua tot asa.
@N-am ce sa zic, mai sunt 500 de pluginuri de genul. Felicitari!
Esti penal cu engleza asta a ta :)) foloseste frate google.
Retras
-
TGP
- Membru, skill +1
- Posts: 426
- Joined: 26 Oct 2013, 18:34
- Detinator Steam: Da
- Detinator server CS: Da
- Location: Bucureşti
- Been thanked: 140 times
-
Contact:
09 Nov 2013, 05:04
Nu ai făcut nimic în plus mai sunt 100 de pluginuri la fel şi 3.000 autori.
-
CryWolf
- Administrator
- Posts: 6505
- Joined: 07 Aug 2008, 16:33
- Detinator Steam: Da
- Reputatie: Administrator
Fost Scripter
Manager CS2.eXtream.Ro
Fost Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
- Location: Botosani
- Discord: crywolf1989
- Has thanked: 202 times
- Been thanked: 850 times
-
Contact:
09 Nov 2013, 07:56
Code: Select all
for(new i; i < sizeof My_Msg; i++)
{
ColorChat(0, RED, My_Msg[i]);
}
si
new My_Msg[ ][ ] =
{
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! "
};
printand 8 mesaje o data pe chatul public a 30 de jucatori, pun pariu cu tine ca picam servere cu pluginul asta ?
NU IMI MAI DA-TI PM CU CERERE AJUTOR/SAMD, FOLOSITI FORUMUL, CITESC MAJORITATEA TOPICURILOR.
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
-
munir
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff
- Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
-
Contact:
09 Nov 2013, 10:46
Btw.. scoate
hamsandwich, ca nu faci nimic cu el.
- | Afiseaza codul
/*
ChangeLog:
1.0 - First Version
1.1 - /rs disabled & code rewrited !
1.2 - added cvar ! mp_restart_round 1/0
1.3 - added CholorChat , plugin tested (work great) & code optimizated !
*/
#include <amxmodx>
#include <amxmisc>
//#include <hamsandwich>
#include <colorchat>
new const PLUGIN [] = "Restart Round";
new const VERSION [] = "1.3";
new const AUTHOR [] = "Lord Of Nothing";
new enable;
new My_Msg[ ][ ] =
{
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! "
};
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR);
register_concmd("amx_restart","C_Admin_Hook_Restart",ADMIN_KICK,"amx_restart RESTART ROUND !");
enable = register_cvar("mp_restart_round","1");
}
public C_Admin_Hook_Restart( id, level, cid )
{
new time_to_restart[3];
read_argv(1,time_to_restart,2)
if( !cmd_access( id, level, cid, 0 ) || !get_pcvar_num(enable) )
return PLUGIN_HANDLED
server_cmd("sv_restart %i",str_to_num(time_to_restart));
for(new i; i < sizeof My_Msg; i++)
{
ColorChat(0, RED, My_Msg);
}
return PLUGIN_CONTINUE
}
Retras
-
LordOfNothing
- Membru, skill +1
- Posts: 387
- Joined: 19 Jul 2013, 15:51
- Detinator Steam: Nu
- Reputatie: Restrictie PM
- Has thanked: 11 times
- Been thanked: 35 times
09 Nov 2013, 11:07
falseq wrote:Btw.. scoate
hamsandwich, ca nu faci nimic cu el.
- | Afiseaza codul
/*
ChangeLog:
1.0 - First Version
1.1 - /rs disabled & code rewrited !
1.2 - added cvar ! mp_restart_round 1/0
1.3 - added CholorChat , plugin tested (work great) & code optimizated !
*/
#include <amxmodx>
#include <amxmisc>
//#include <hamsandwich>
#include <colorchat>
new const PLUGIN [] = "Restart Round";
new const VERSION [] = "1.3";
new const AUTHOR [] = "Lord Of Nothing";
new enable;
new My_Msg[ ][ ] =
{
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! ",
"[RESTART] ^4Game will be restarted ! "
};
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR);
register_concmd("amx_restart","C_Admin_Hook_Restart",ADMIN_KICK,"amx_restart RESTART ROUND !");
enable = register_cvar("mp_restart_round","1");
}
public C_Admin_Hook_Restart( id, level, cid )
{
new time_to_restart[3];
read_argv(1,time_to_restart,2)
if( !cmd_access( id, level, cid, 0 ) || !get_pcvar_num(enable) )
return PLUGIN_HANDLED
server_cmd("sv_restart %i",str_to_num(time_to_restart));
for(new i; i < sizeof My_Msg; i++)
{
ColorChat(0, RED, My_Msg);
}
return PLUGIN_CONTINUE
}
scuze in prima versiune voiam sa folosesc o functie ExecuteHam(Ham_CS_Restart, id) .. sau asa ceva
am crezut ca restarteaza runda dar m-am inselat si am uitat sa scot :)
-
Users browsing this forum: No registered users and 6 guests