add wear and seed support

website is not updated to change wear and seed !
This commit is contained in:
Nereziel
2023-11-13 17:44:42 +01:00
parent b7b8055587
commit c67a96a7c5
2 changed files with 54 additions and 29 deletions

View File

@@ -30,9 +30,21 @@ SET time_zone = "+00:00";
CREATE TABLE `wp_player_skins` (
`steamid` varchar(64) NOT NULL,
`weapon_defindex` int(6) NOT NULL,
`weapon_paint_id` int(6) NOT NULL
`weapon_paint_id` int(6) NOT NULL,
`weapon_wear` float NOT NULL DEFAULT 0.0001,
`weapon_seed` int(16) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
--
-- Table structure for table `wp_player_knife`
--
CREATE TABLE `wp_player_knife` (
`steamid` VARCHAR NOT NULL,
`knife` VARCHAR NOT NULL,
UNIQUE (`steamid`)
) ENGINE = InnoDB;
--
-- Table structure for table `wp_weapons`
--