Not quite sure I see the point of this either but....nice job anyways. Shouldnt need to help players learn how to play heh.
Just briefly glanced at the code and one thing I noticed, just so you know, this is pointless...
Code:
if (GetConVarBool(Cv_PluginEnabled))
{
HookEventEx("player_spawn", PlayerSpawn, EventHookMode_Pre)
HookEventEx("player_changeclass", PlayerChangeClass, EventHookMode_Pre)
HookEventEx("teamplay_setup_finished", SetupFinished)
}
Remember, pluginstart is run once, and the config isnt executed yet. The only thing that is going to do is check what the default value is set in the plugin....In other words, the hooks will always be hooked because its always set to 1 heh.