/*
Skrypt pluginu AMXModX stworzony przez deLL-a na potrzeby uzytkownikow www.cscenter.pl
Kopiowanie ponizszego kodu bez wiedzy autora zabronione!
CopyRight 2009 by deLL. All right reserved.
*/
#include <amxmodx>
#include <fakemeta>
#define PLUGIN "Block Spray"
#define AUTHOR "deLL & xPaw"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward(FM_CmdStart, "cmdBlockSpray")
// Add your own code here
}
public cmdBlockSpray(id, uc_handle, seed)
{
if(get_uc(uc_handle, UC_Impulse) == 201)
{
set_uc(uc_handle, UC_Impulse, 0)
client_print(id, print_center, "Nemlehet sprayt haszna'lni!!!")
return FMRES_HANDLED
}
return FMRES_IGNORED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
*/