blokada he
Merlin
01.11.2009
Napisze mi ktoś plugin ktory będzie blokowal he tego wybuchowego ? Tzw zawsze na poczatku rundy zeby po 10 s mozna go dopiero rzucic ??
DarkGL
01.11.2009
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "Home" new czas=0; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "Nowa_Runda", "a", "1=0", "2=0") register_clcmd("+attack","attack") } public czas_off(){ czas=1; } public Nowa_Runda(){ czas=0; set_task(10.0,"czas_off",2) } public attack(id){ if(czas == 0){ if(get_user_weapon(id) == CSW_HEGRENADE){ return PLUGIN_HANDLED; } } }