/* AMXModX script.
*
* (c) 2005 [Coder]Someone
* Fordította: BREST
* This file is provided as is (no warranties).
*
* This plugin is totally based on suicidedog's drop awp plugin.
* All credits goes to him!
* I just changed the code so it's kicking the person instead of drop the awp :)
*
*/
#include <amxmodx>
public check_awp(id) {
if (get_cvar_num("sv_noawp")!=1) return PLUGIN_CONTINUE
new llama = read_data(0)
client_print(llama,print_center,"AWP-t Hasznaltal, Kirugtunk!")
client_cmd(llama,"wait;wait;wait;wait;wait;wait;dropclient")
return PLUGIN_CONTINUE
}
public plugin_init(){
register_plugin("AWP Kick","0.1","[Coder]Someone")
register_event("WeapPickup","check_awp","b","1=18")
register_cvar("sv_noawp","1")
return PLUGIN_CONTINUE
}