English How to use LUA?

2 replies
Goto Page
To the start Previous 1 Next To the start
28.10.09 10:12:35 am
Up
Dan4ik
User
Offline Off
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
IMG:http://img3.imageshack.us/img3/8939/29153.gif
IMG:http://img63.imageshack.us/img63/9480/20019.jpg
28.10.09 10:18:55 am
Up
Vibhor
User
Offline Off
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
My avatar describes my personality the best....Douchebag who have to save the princess without speaking anything
28.10.09 04:22:55 pm
Up
Dan4ik
User
Offline Off
Thans now it will probably be a while before and IF i would want to write another question
IMG:http://img3.imageshack.us/img3/8939/29153.gif
IMG:http://img63.imageshack.us/img63/9480/20019.jpg
To the start Previous 1 Next To the start