There is no real tutorial. the way to learn is to to go your cs2d base directory and go to sys/lua and look in there for how to script. it will have every thing u need!
however you have to read the sys/lua/info.txt as well as spartan029 said.
this file explains how you can use Lua in combination with CS2D - but it doesn't tell you how Lua itself works!
my suggestion how to learn this thing:
read a general Lua tutorial which is not CS2D related
afterwards read sys/lua/info.txt in your CS2D folder
read and try my example scripts sys/lua/samples
try to understand them and play around with them (change or extend them)
use http://www.cs2d.unrealsoftware.de/help.php?cat=server as CS2D command reference. many of these commands are useful in Lua and have to be used with the Lua parse command (or you use sys/lua/wrapper.lua)
Alright Thanks, but (im a noob and even seeing the info.txt i cant even understand but ill try anyways )
OK i see that tutorials in this are Lua verion 5.1, is this version 5.1? i mean the cs2d lua, is it version 5.1? or do i to look on another tutorial?
Pls Help the Nooob!!!
Yes, CS2D runs on version 5.1 (changelog.txt)
But it doesn't matter, no matter how old the version cs2d runs on, the language and syntax itself won't change, so there's no real reason to shy away from the tutorial just because you can't figure out if the versions are the same.