Better setvar example

This commit is contained in:
Cohee 2024-09-01 23:05:51 +03:00
parent 873f25e330
commit b9cd82180f

View File

@ -932,7 +932,7 @@ export function registerVariableCommands() {
<pre><code class="language-stscript">/setvar key=color green</code></pre>
</li>
<li>
<pre><code class="language-stscript">/setvar key=colors index=3 as=string blue</code></pre>
<pre><code class="language-stscript">/setvar key=ages index=John as=number 21</code></pre>
</li>
</ul>
</div>
@ -1058,7 +1058,7 @@ export function registerVariableCommands() {
<pre><code class="language-stscript">/setglobalvar key=color green</code></pre>
</li>
<li>
<pre><code class="language-stscript">/setglobalvar key=colors index=3 as=string blue</code></pre>
<pre><code class="language-stscript">/setglobalvar key=ages index=John as=number 21</code></pre>
</li>
</ul>
</div>