Forum

> > CS2D > Scripts > Errors
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Errors

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Errors

ShouldBeNew
BANNED Off Offline

Zitieren
I keep getting errors every time i use lua script i mean i exec it and i get errors. It happens on rtd, mapvote and more please tell me. Also none of them work.

alt Re: Errors

Avo
User Off Offline

Zitieren
Could you be more precise? What errors are you getting exactly?

alt Re: Errors

Rainoth
Moderator Off Offline

Zitieren
Getting an error means that you did something wrong and the script can't be executed in a way you (or someone else) wrote it.
I don't see the question here. What do you want ?

alt Re: Errors

ShouldBeNew
BANNED Off Offline

Zitieren
When i type exec sys/lua/mapvote.lua
This happens:
Spoiler >
1× editiert, zuletzt 20.10.13 14:05:25

alt Re: Errors

EngiN33R
Moderator Off Offline

Zitieren
You mustn't use cs2d cmd exec on Lua files, that command is for config files only. This is how you execute a Lua script from the console:

1
lua dofile("sys/lua/mapvote.lua")

alt Re: Errors

ShouldBeNew
BANNED Off Offline

Zitieren
user EngiN33R hat geschrieben
You mustn't use cs2d cmd exec on Lua files, that command is for config files only. This is how you execute a Lua script from the console:

1
lua dofile("sys/lua/mapvote.lua")

Dude thanks all works now
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht