#pragma semicolon 1#include <sourcemod>#include <cstrike>new String:BlockedWeapons[][] = { "sg550", "g3sg1" };public Action:CS_OnBuyCommand(client, const String:weapon[]){ PrintToChat(client, "Weapon Name is [%s]", weapon); for (new i = 0; i < sizeof(BlockedWeapons); i++) { if (StrEqual(weapon, BlockedWeapons[i], false)) { PrintToChat(client, "You are not allowed to purchase that weapon"); return Plugin_Handled; } } return Plugin_Continue;}