I wanna learn how to make a lua script and I need some examples to make a script.
Forum
CS2D General Lua scriptLua script
19 replies 1
I wanna learn how to make a lua script and I need some examples to make a script.
sys/lua/samples/
but create a file and write a name?
and dont need a program?
i mean a script maker or other think
The extra programs like SciTe and NotePad++ are generally for checking for LUA errors and syntax highlighting
As for the name thingy, name it like this: *name* (Can be whatever you want).lua
edited 1×, last 14.08.10 06:55:48 pm
edited 3×, last 14.08.10 07:48:06 pm
All the info on Lua you need.
but i can't open the files
but what do make now?
No you don't need anything except notepad.
Oh and right click any example and click properties.
Now choose open with...
Then choose notepad.
You don't need to shut off the server and restart.
All you need to do is map change to same map.
I don't remember Notepad having a auto-save function.
Divine has written
Notepad saves changes automatically.
You don't need to shut off the server and restart.
All you need to do is map change to same map.
You don't need to shut off the server and restart.
All you need to do is map change to same map.
Notepad cannot autosave; Scite can however be configured to autosave on content change (a rather CPU intensive operation that is disabled by default).
Just restart the server round.
Not game round.
Divine has written
It does auto-save. For what I know it does.
Just restart the server round.
Not game round.
Just restart the server round.
Not game round.
As in applying changes to the server? CS2D automatically reloads server.lua onto the stack each time it is initialized (game start, map change, etc) regardless of whether the server.lua file is saved in notepad or in any other editors.
1