Forum

> > CS2D > Scripts > the lua script is not work ..
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch the lua script is not work ..

17 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

verschoben the lua script is not work ..

Mohat
User Off Offline

Zitieren
Every time i download a lua script but not work

I cant run it on my server ..

what i will do ..

Please answer me with a picture ..
1× editiert, zuletzt 27.07.11 08:30:28

Admin/Mod Kommentar

talking about scripts? goes into the scripting section! moved!

alt Re: the lua script is not work ..

Apache uwu
User Off Offline

Zitieren
The scripts are conflicting. May I see a sample of both the scripts and how you managed to 'merge' them?

Unlimited build is basically parse, unless you mean fast build as well.

Jail mod should be with useless taze weapons etc.

Show your code in [code][/code].

alt Re: the lua script is not work ..

Homam
User Off Offline

Zitieren
The Stupid Title hat geschrieben
the lua script is not work ..


Which lua script? The lua script should be in the description.

And I bet Dc will change the title.

Edit: Fail, Dc didn't change the title.
1× editiert, zuletzt 27.07.11 10:08:20

alt Re: the lua script is not work ..

Cure Pikachu
User Off Offline

Zitieren
Let me guess, you have no idea how to apply a script into your server, no?
Really, I don't understand what is your problem. So judging from the word "download", I got this idea.

alt Re: the lua script is not work ..

EngiN33R
Moderator Off Offline

Zitieren
You open server.lua in your sys/lua directory, write in the following
1
dofile("sys/lua/$NAMEOFYOURSCRIPT$")
Where $NAMEOFYOURSCRIPT$ is the name of your Lua file (e.g. "citylife.lua" or something).

Then what you do is you launch CS2D, under New Game > More Settings you find the variable mp_luaserver, and if it's different from "server.lua" then you change it to "server.lua".

Then you launch the server and it should work. If it still doesn't work, have a look at the console - maybe there's a script error.

alt Re: the lua script is not work ..

kkkkkkk
User Off Offline

Zitieren
when you download any lua script you must remplace sys/lua/server.lua with it if theys many files past all in one folder in the same folder (sys\lua) then write that code in server.lua
1
dofile("sys/lua/foldername/luafilename")
1 code for 1 file as how much you have
if you don't understand send me PM and i learn you i'm GooD teacher
1× editiert, zuletzt 27.07.11 14:56:08

alt Re: the lua script is not work ..

Apache uwu
User Off Offline

Zitieren
Wow man don't edit your topic, it made my post look offtopic.

Create a new one.

Anyways your new question is still very vague. -.-''

Just open server.lua located in 'sys/lua/', as long as you didn't mess with settings CS2D should automatically have that for mp_luaserver.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht