Quote:
Originally Posted by deko_fps
works great, thank you!
*Edit:
Actually I've a problem. Everytime I reconnect from server, the stickers I've setted are gone... Before updating, everything was alright.
Can you help me solve this @paulo_crash?
|
Error log?
In any case it seems to be an error in your database, try deleting the database and creating a new one.
Or try running a query against your stickers database:
PHP Code:
CREATE TABLE IF NOT EXISTS `weaponstickers1` (
`id` INT NOT NULL AUTO_INCREMENT,
`steamid` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`weaponindex` int(11) NOT NULL DEFAULT '0',
`slot0` int(11) NOT NULL DEFAULT '0',
`slot1` int(11) NOT NULL DEFAULT '0',
`slot2` int(11) NOT NULL DEFAULT '0',
`slot3` int(11) NOT NULL DEFAULT '0',
`slot4` int(11) NOT NULL DEFAULT '0',
`slot5` int(11) NOT NULL DEFAULT '0',
`wear0` float4 NOT NULL DEFAULT '0.000000',
`wear1` float4 NOT NULL DEFAULT '0.000000',
`wear2` float4 NOT NULL DEFAULT '0.000000',
`wear3` float4 NOT NULL DEFAULT '0.000000',
`wear4` float4 NOT NULL DEFAULT '0.000000',
`wear5` float4 NOT NULL DEFAULT '0.000000',
`rotation0` float4 NOT NULL DEFAULT '0.000',
`rotation1` float4 NOT NULL DEFAULT '0.000',
`rotation2` float4 NOT NULL DEFAULT '0.000',
`rotation3` float4 NOT NULL DEFAULT '0.000',
`rotation4` float4 NOT NULL DEFAULT '0.000',
`rotation5` float4 NOT NULL DEFAULT '0.000',
PRIMARY KEY (`id`),
UNIQUE KEY (`steamid`, `weaponindex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;