Forum

> > CS2D > Scripts > How to declare variables correctly?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How to declare variables correctly?

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: How to declare variables correctly?

ohaz
User Off Offline

Zitieren
You don't really need to declare variables in Lua.
You can do it though:
1
2
3
j = 10 --global variable
global i = 11 -- global variable
local k = 9 -- local variable
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht