Forum

> > CS2D > General > How to use LUA?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch How to use LUA?

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How to use LUA?

Dan4ik
User Off Offline

Zitieren
Hi! I wanted to make a GunGame LUA script work, but i don`t understand, how i need to write the name in the 'more settings' menu... my default is obviously server.lua but how can i change it for example gungame? should i write gungame.lua? sry if there allready is a question like this but then i couldnt find it... plz reply us

alt Re: How to use LUA?

Vibhor
User Off Offline

Zitieren
First go in sys in CS2D folder
Second go in lua
Third copy gungame lua there
Fourth in server lua type this
dofile("sys/lua/gungame.lua")
To change to another script just copy it to lua folder and change gungame.lua to the name of the file WITH LUA
or you can add a new line too and for disabling the lua
type -- at the begining

alt Re: How to use LUA?

Dan4ik
User Off Offline

Zitieren
Thans now it will probably be a while before and IF i would want to write another question
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht