From 486c4d1afe5f420e2a477111892ddbdbfcbc7a66 Mon Sep 17 00:00:00 2001
From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com>
Date: Tue, 14 Nov 2023 15:09:08 +0100
Subject: [PATCH 1/5] Update WeaponPaints.csproj
Always build on the latest version of counterstrikesharp
---
WeaponPaints.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/WeaponPaints.csproj b/WeaponPaints.csproj
index a6f63f5e..ed6b1a73 100644
--- a/WeaponPaints.csproj
+++ b/WeaponPaints.csproj
@@ -8,7 +8,7 @@
-
+
From 741d602bebe2dce5f474a93132dea6a706f1034d Mon Sep 17 00:00:00 2001
From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com>
Date: Tue, 14 Nov 2023 15:15:01 +0100
Subject: [PATCH 2/5] Update index.php
Always show player skin as selected option
---
website/index.php | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/website/index.php b/website/index.php
index 3d67b091..717fda93 100644
--- a/website/index.php
+++ b/website/index.php
@@ -77,8 +77,11 @@ else
select("SELECT * FROM wp_weapons_paints WHERE weapon_defindex = \"{$key["weapon_defindex"]}\"");
- foreach($list as $list){
- echo "";
+ foreach ($list as $list) {
+ if ($list['paint_name'] == $query3[0]["paint_name"])
+ echo "";
+ else
+ echo "";
}
?>
@@ -92,4 +95,4 @@ else