View Single Post
zordd
New Member
Join Date: Feb 2021
Old 11-25-2021 , 16:33   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #296

Quote:
Originally Posted by paulo_crash View Post
@zordd attached the updated plugin with everything you need.

I recommend if you already have any eItems installed to remove them completely before submitting this new version.

See if just sending everything is ok, here I just sent it and everything is ok.

[EDIT]
In any case if you have problems with the database run this script.
PHP Code:
CREATE TABLE IF NOT EXISTS `csgo_weaponstickers` (
            `
idINT NOT NULL AUTO_INCREMENT,
            `
steamidvarchar(64COLLATE utf8mb4_unicode_ci NOT NULL,
            `
weaponindexint(11NOT NULL DEFAULT '0',
            `
slot0int(11NOT NULL DEFAULT '0',
            `
slot1int(11NOT NULL DEFAULT '0',
            `
slot2int(11NOT NULL DEFAULT '0',
            `
slot3int(11NOT NULL DEFAULT '0',
            `
slot4int(11NOT NULL DEFAULT '0',
            `
slot5int(11NOT NULL DEFAULT '0',
            `
wear0float4 NOT NULL DEFAULT '0.000000',
            `
wear1float4 NOT NULL DEFAULT '0.000000',
            `
wear2float4 NOT NULL DEFAULT '0.000000',
            `
wear3float4 NOT NULL DEFAULT '0.000000',
            `
wear4float4 NOT NULL DEFAULT '0.000000',
            `
wear5float4 NOT NULL DEFAULT '0.000000',
            `
rotation0float4 NOT NULL DEFAULT '0.000',
            `
rotation1float4 NOT NULL DEFAULT '0.000',
            `
rotation2float4 NOT NULL DEFAULT '0.000',
            `
rotation3float4 NOT NULL DEFAULT '0.000',
            `
rotation4float4 NOT NULL DEFAULT '0.000',
            `
rotation5float4 NOT NULL DEFAULT '0.000',
            `
last_seenint(11NOT NULL DEFAULT '0'
            
PRIMARY KEY (`id`),
            
UNIQUE KEY (`steamid`, `weaponindex`)
            ) 
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
If you don't know how the best solution would be to delete the database and create one from scratch.

In any case, here's a screenshot of how to run the script also in your stickers database.

thanks for plugins.
when I type the command this appears for all weapons
● drozz: sticker!
[Weapon Stickers] Essa arma não é válida para personalizar os stickers.
zordd is offline