Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Actually I recommend for everyone to have a IsModuleEnabled() check where we 
can add
if the module is enabled _and_ if the entire mod overall is enabled.

Also OnModuleEnabled() //call this from OnPluginStart, hook any events
and OnModuleDisabled // call back when we toggle module or srs disable, kill any
timers here and undo anything special like godmode if its on, unhook events.

Make them all static for now.

We will shortly add a l4d2_srs_enabled 0/1 cvar to disable the entire mod.
ModuleEnabled/Disabled will be called by OnConVarChange. 

Original comment by [email protected] on 15 Jan 2010 at 8:00

from srsmod.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Setting this to B2 since it doesn't need to be fixed today.

Original comment by [email protected] on 15 Jan 2010 at 8:40

  • Added labels: Priority-Medium, Milestone-AW-B2

from srsmod.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024

Original comment by [email protected] on 15 Jan 2010 at 8:40

  • Added labels: Module-ItemRemoval

from srsmod.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
CVAR should also probably be:

l4d2_srs_remove_items_enabled

Since that's the name of the module.

Original comment by [email protected] on 16 Jan 2010 at 9:24

from srsmod.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Errr, meant l4d2_srs_item_removal? maybe tack on _enabled there?

Original comment by [email protected] on 16 Jan 2010 at 11:21

from srsmod.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
This issue is now a subset of issue 14, so I am closing it.

Original comment by [email protected] on 16 Jan 2010 at 10:31

  • Changed state: Duplicate

from srsmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.