Descriere plugin cerut: As dori un plugin care sa blocheze intre orele 21:00 si 09:00 ( dimineata) chatul de admini ( u@)
Alte informatii: Am un plugin care ofera jucatorilor la orele de mai sus , accese de vip si au deasemenea acces si la admin chat .
[Rezolvat]Cerere blocare u@
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 .
Accesează link-ul pentru a putea vedea regulile forumului
Daca doriti sa vi se modifice un plugin, va rugam postati aici .
- Jorj
- Fost moderator
- Posts: 3494
- Joined: 13 Aug 2013, 18:10
- Detinator Steam: Da
- Detinator server CS: Furien.LsZ.Ro
- SteamID: clic_lsz
- Reputatie: Fost eXtream Mod
Fost Membru Club eXtreamCS (patru luni)
Nume anterior: Clic - Location: Piatra Neamt
- Has thanked: 1 time
- Been thanked: 20 times
- Contact:
- YONTU
- Scripter eXtreamCS
- Posts: 2466
- Joined: 10 May 2013, 14:25
- Detinator Steam: Nu
- CS Status: Everyone is looking at ur shoes
- Reputatie: Moderator ajutator
Fost scripter eXtreamCS - Location: Gura Humorului
- Has thanked: 256 times
- Been thanked: 288 times
- Contact:
Si cum vrei sa-ti modificam? 8-|
Da-ne sma.
Da-ne sma.
„Peste douăzeci de ani vei fi dezamăgit din cauza lucrurilor pe care nu le-ai făcut, nu din cauza celor pe care le-ai făcut.” - Mark Twain
„Asa e si in viata, hotii castiga, prostii care invata pierd.” - Mihai Nemeș
Bio.LeagueCs.Ro - Biohazard v4.4 Xmas Edition
discord: IonutC#5114
„Asa e si in viata, hotii castiga, prostii care invata pierd.” - Mihai Nemeș
Bio.LeagueCs.Ro - Biohazard v4.4 Xmas Edition
discord: IonutC#5114
Experinta in: Java/Spring boot/Angular/C/C++/C#/Javascript/Python/HTML/CSS/Pawn/SQL
Ai nevoie de ajutorul meu? Ma poti gasi doar la adresa de discord de mai sus.
Ai nevoie de ajutorul meu? Ma poti gasi doar la adresa de discord de mai sus.
- Jorj
- Fost moderator
- Posts: 3494
- Joined: 13 Aug 2013, 18:10
- Detinator Steam: Da
- Detinator server CS: Furien.LsZ.Ro
- SteamID: clic_lsz
- Reputatie: Fost eXtream Mod
Fost Membru Club eXtreamCS (patru luni)
Nume anterior: Clic - Location: Piatra Neamt
- Has thanked: 1 time
- Been thanked: 20 times
- Contact:
Deci plugin-ul ofera dupa ora 21 accesul "t" la toti jucatorii ( Acest acces are facilitatile de vip )
Presupun ca trebuie sa va dau .sma de la adminchat ?
Presupun ca trebuie sa va dau .sma de la adminchat ?
Last edited by YONTU on 14 Jul 2014, 22:05, edited 1 time in total.
Reason: Mda... :| !
Reason: Mda... :| !
- Hades Ownage
- Membru eXtream
- Posts: 3182
- Joined: 22 Oct 2008, 10:12
- Detinator Steam: Da
- Detinator server CS: jb.clutch.ro
- SteamID: hades-source
- Reputatie: Fost Super Moderator
Fost Scripter eXtreamCS
Nume anterior: hadesownage - Location: Iasi
- Has thanked: 324 times
- Been thanked: 406 times
Code: Select all
/* Plugin generated by AMXX-Studio */
#include < amxmodx >
#define PLUGIN "New Plug-In"
#define VERSION "0.Ox"
#define AUTHOR "Hades Ownage"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd ( "say_team", "handle_say" );
}
public handle_say ( id ) {
new said [ 192 ];
read_args ( said, 192 );
if ( containi ( said, "@" ) ) {
new h, m, s;
time ( h, m, s );
if ( h >= 21 && h < 09 ) {
client_print ( id, print_chat, "[Server] Chatul adminilor este dezactivat pana la ora 9 !" );
return 1;
}
return 0;
}
return 0;
}
- cyby
- Scripter eXtreamCS
- Posts: 1777
- Joined: 16 Jul 2011, 21:46
- Detinator Steam: Da
- Detinator server CS: Da
- Reputatie: Scripter eXtreamCS
Fost Moderator ajutator - Has thanked: 146 times
- Been thanked: 396 times
Hades Ownage wrote:Code: Select all
/* Plugin generated by AMXX-Studio */ #include < amxmodx > #define PLUGIN "New Plug-In" #define VERSION "0.Ox" #define AUTHOR "Hades Ownage" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd ( "say_team", "handle_say" ); } public handle_say ( id ) { new said [ 192 ]; read_args ( said, 192 ); if ( containi ( said, "@" ) ) { new h, m, s; time ( h, m, s ); if ( h >= 21 && h < 09 ) { client_print ( id, print_chat, "[Server] Chatul adminilor este dezactivat pana la ora 9 !" ); return 1; } return 0; } return 0; }
Imi spui si mie cum conditia asta este posibila?
Code: Select all
h >= 21 && h < 09
Last edited by Hades Ownage on 15 Jul 2014, 18:09, edited 1 time in total.
Reason: mă aşteptam să te oftici fiindcă nu ţi-am dat credite.
Reason: mă aşteptam să te oftici fiindcă nu ţi-am dat credite.
93.114.82.17:27015 - Monster Invasion CO-OP Mod
-
- Fost moderator
- Posts: 9362
- Joined: 06 Jul 2013, 22:08
- Detinator Steam: Da
- Detinator server CS: Nu
- Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn - Has thanked: 492 times
- Been thanked: 547 times
Code: Select all
#include < amxmodx >
#define PLUGIN "New Plug-In"
#define VERSION "0.Ox"
#define AUTHOR "Hades Ownage"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd ( "say_team", "handle_say" );
}
public handle_say ( id ) {
new said [ 192 ];
read_args ( said, 192 );
if ( containi ( said, "@" ) ) {
new h, m, s;
time ( h, m, s );
if ( h >= 21 || h < 09 ) {
client_print ( id, print_chat, "[Server] Chatul adminilor este dezactivat pana la ora 9 !" );
return 1;
}
return 0;
}
return 0;
}
- CaPy`#
- Membru, skill +1
- Posts: 455
- Joined: 24 Jun 2014, 18:24
- Detinator Steam: Da
- Detinator server CS: Furien. Ecila .Ro
- SteamID: megbegeb_hi
- Fond eXtream: 0
- Location: Drobeta Turnu Severin
- Has thanked: 10 times
- Been thanked: 3 times
- Contact:
Schimba accesele la adminchat :Clic wrote:degeaba ... la fel . Nu blocheaza nimic
Code: Select all
"amx_say" "e" ; adminchat.amxx
"amx_chat" "e" ; adminchat.amxx
"amx_psay" "e" ; adminchat.amxx
"amx_tsay" "e" ; adminchat.amxx
"amx_csay" "e" ; adminchat.amxx
- cyby
- Scripter eXtreamCS
- Posts: 1777
- Joined: 16 Jul 2011, 21:46
- Detinator Steam: Da
- Detinator server CS: Da
- Reputatie: Scripter eXtreamCS
Fost Moderator ajutator - Has thanked: 146 times
- Been thanked: 396 times
@Hades: Nu poate fi egal sau peste 21 si mai mic de 9 in acelasi timp. Vad ca te oftica atunci cand ti se atrage atentia.
93.114.82.17:27015 - Monster Invasion CO-OP Mod