CS2D General How to use LUA? How to use LUA?
2 replies 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 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 Thans now it will probably be a while before and IF i would want to write another question