@ Gemowiecodpal kompilator web amxx, wklej zawartość z cytatu i skompiluj
#include <amxmodx>
public plugin_init() { register_plugin("Block every grenades", "1.0", "ShaD") new mapa[64]; get_mapname(mapa, 63) if(equali(mapa, "aim_map_esl") || equali(mapa, "aim_map") || equali(mapa, "aim_map_usp") || equali(mapa, "aim_famas_x") || equali(mapa, "awp4one") || equali(mapa, "3d_aim_train_b") || equali(mapa, "ak-47_map") || equali(mapa, "cs_deagle5") || equali(mapa, "aim_m4a1") || equali(mapa, "awp_map_esl")) { register_event("CurWeapon", "CurWeapon", "be", "1=1") }}public CurWeapon(id) { if(get_user_weapon(id) == CSW_HEGRENADE || get_user_weapon(id) == CSW_FLASHBANG || get_user_weapon(id) == CSW_SMOKEGRENADE){ client_print(id, print_center, "Granaty na malych mapach sa zabronione!") engclient_cmd(id, "weapon_knife") }}