Engine:CCMD var: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{dev/uiccmd}}
{{dev/uiccmd}}
Creates a new variable int eh current context, if doesn't exist.  
Creates a new variable in the current context, if doesn't exist. If exists is ignored.
<kua>var bob fred</kua>
<kua>var bob fred</kua>



Revision as of 23:52, 13 October 2023

Console commands

Creates a new variable in the current context, if doesn't exist. If exists is ignored.

var bob fred

Arguments

  • name - name for new variable
  • value - the value to set

Notes