Issue with Automatic Loading of Selected Knife and Skin Upon Rejoining the Server #379
frontenddima
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, Nereziel!
I’m experiencing an issue with the WeaponPaints plugin for CS2. The plugin successfully saves the knife and skin selected by players into the database (the table correctly stores values such as steamid, weapon_team, knife), and they are displayed properly when selected using the !knife command. However, upon leaving the game and rejoining the server, the previously selected knife and skin are not automatically applied, requiring players to reselect them each time.
Configuration Details:
The "GiveRandomKnife" parameter is set to false to use the last selected knife.
Data is being saved correctly in the database (e.g., knife = weapon_knife_butterfly for the corresponding team).
While the plugin works otherwise, the automatic loading of the selected knife and skin upon rejoining does not function.
Question:
How can I configure the plugin to automatically load the last selected knife and skin from the database when a player joins the server, so they don’t have to select them manually each time? Is there a specific parameter or additional setting I may have missed?
Thank you in advance for your assistance! Please let me know if you need further details (logs, screenshots, etc.).
Best regards,
Dilshod
Beta Was this translation helpful? Give feedback.
All reactions