Forum

> > CS2D > General > How to use LUA?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English How to use LUA?

2 replies
To the start Previous 1 Next To the start

old How to use LUA?

Dan4ik
User Off Offline

Quote
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

old Re: How to use LUA?

Vibhor
User Off Offline

Quote
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

old Re: How to use LUA?

Dan4ik
User Off Offline

Quote
Thans now it will probably be a while before and IF i would want to write another question
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview