Cheatexec
From EventScripts Community Encyclopedia
|
[edit] OverviewSyntax: Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.Variation of this command that doesn't expand variables: none [edit] DescriptionAllows you to execute silently a cheat command as cl_forwardspeed. [edit] Parameters
[edit] Examplesevent player_say { if (event_var(text) = "noclip") then cheatexec "cl_forwardspeed 10" }
[edit] Notes
es_forcevalue sv_cheats 1 cl_forwardspeed 10 es_forcevalue sv_cheats 0
[edit] See also
|
|
