You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried doing it, but the files are too much and the more I look, the more confused I get.
If you could post a general guide on how one would implement such things in the .setup menu, with which files to edit at which specific lines ,it'd make this process very easy, and not require extensive sourcePawn language knowledge.
The text was updated successfully, but these errors were encountered:
@splewis Basically, allow people to add custom entries in the .setup menu (like Team Size, Veto type which are already there), which custom entries when enabled, execute a given command, and when disabled, execute another given command.
For example:
Imagine I want to have an entry called SpawnWithGrenades.
If that's enabled, the plugin executes the command we've written for when the option is enabled, and if it's disabled, it executes the command we've written for when it's disabled.
A concrete example would be EnableAllTalk
sv_alltalk 1 for when the option is enabled, sv_alltalk 0 for when the option is disabled.
This basically allows every user of your plugin, to have some custom configuration file, which easily adds these custom configurations, with customly predefined actions/commands, for when they are enabled/disabled.
I tried doing it, but the files are too much and the more I look, the more confused I get.
If you could post a general guide on how one would implement such things in the .setup menu, with which files to edit at which specific lines ,it'd make this process very easy, and not require extensive sourcePawn language knowledge.
The text was updated successfully, but these errors were encountered: