Buna Stie cineva ce plugin este acesta ? nu te lasa sa folosesti timp de 30 secunde chatul
[Rezolvat] Plugin chat
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 .
-
- Membru, skill +2
- Posts: 610
- Joined: 10 Nov 2013, 20:24
- Detinator Steam: Da
- Location: Palermo, Italy
- Has thanked: 69 times
- Been thanked: 17 times
Pai imi da o mica eroare acesta la compilare
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Modified for http://www.freakz.ro
test.sma(36) : warning 203: symbol is never used: "client_connect"
Header size: 212 bytes
Code size: 444 bytes
Data size: 452 bytes
Stack/heap size: 16384 bytes; estimated max. usage=779 cells (3116 bytes)
Total requirements: 17492 bytes
1 Warning.
Done.
-
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3 - Location: root
- Has thanked: 81 times
- Been thanked: 144 times
- Contact:
Code: Select all
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
new bool: disablec;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd ( "say", "handle_say" );
register_clcmd ( "say_team", "handle_say" );
}
public client_connect(id)
{
set_task(30.0,"enable")
disablec = true;
}
public enable() {
disablec = false;
return PLUGIN_CONTINUE;
}
public handle_say(id) {
if(disablec == true) {
new said [ 192 ];
read_args ( said, 192 );
client_print(id,print_chat,"Poti folosi chatul dupa 30 de secunde de la conectare")
return 1;
}
return PLUGIN_CONTINUE;
}
-
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3 - Location: root
- Has thanked: 81 times
- Been thanked: 144 times
- Contact:
La asta m-am grabit si am uitat sa pun public client_connect cel pe care l-am postat mai sus se compileaza perfectscosmynnnn wrote:sa incerci asa.