Forum

> > CS2D > General > How I Can Activate Lua to my server?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch How I Can Activate Lua to my server?

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: How I Can Activate Lua to my server?

DC
Admin Off Offline

Zitieren
you have to write scripts and load them in server.lua or you just remove the comments from the sample dofile commands to activate them.

see sys/lua/server.lua (open with a editor/notepad)

alt Re: How I Can Activate Lua to my server?

chuico123
User Off Offline

Zitieren
sys/lua/server.lua

there will be little segments and at the botton of each segment there is a line like this

-- dofile("sys/lua/samples/example.lua")

remove the "--" in front of the dofile

there is a description in the file, just open it whit notepad
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht