Es.flags
From EventScripts Community Encyclopedia
[edit] Method: flagsModule: es [edit] Method Overview[edit] Table of Contents
[edit] DescriptionAllows you to add/remove certain flags from variables and commands. [edit] Arguments
[edit] Examplesdef load(): # disable say command if cheats is off. es.flags('add', 'cheat', 'say') es.flags('add', 'cheat', 'say_team') def unload(): # allow the say commands again. es.flags('remove', 'cheat', 'say') es.flags('remove', 'cheat', 'say_team') [edit] Notes
[edit] See Also
|
|
