diff --git a/addons/sourcemod/scripting/shop.sp b/addons/sourcemod/scripting/shop.sp index 6587a5f..2c09288 100644 --- a/addons/sourcemod/scripting/shop.sp +++ b/addons/sourcemod/scripting/shop.sp @@ -1249,7 +1249,7 @@ void ConfirmBuy(int client, int item_id) if (panel == null) return; - char sBuffer[SHOP_MAX_STRING_LENGTH], sItemId[16]; + char sBuffer[256], sItemId[16]; IntToString(item_id, sItemId, sizeof(sItemId)); SetGlobalTransTarget(client); @@ -1316,7 +1316,7 @@ void ConfirmSell(int client, int item_id) if (panel == null) return; - char sBuffer[SHOP_MAX_STRING_LENGTH], sItemId[16]; + char sBuffer[256], sItemId[16]; IntToString(item_id, sItemId, sizeof(sItemId)); SetGlobalTransTarget(client);