Forum

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

Englisch Admin Lua

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Admin Lua

Spook MQ Hacker
BANNED Off Offline

Zitieren
Guys There is Wrong with my lua

Spoiler >


1
LUA ERROR: sys/lua/asd.lua:68: 'end' expected (to close 'function' at line 45) near '<eof>'

AHHH! there is an ERROR

alt Re: Admin Lua

DannyDeth
User Off Offline

Zitieren
It means you are missing an 'end' statement. Just add an end on line 68 and make the function go to a new line.

alt Re: Admin Lua

Yates
Reviewer Off Offline

Zitieren
Add an end at the.. Yea, end of this script.

alt Re: Admin Lua

Apache uwu
User Off Offline

Zitieren
Not to be offtopic, however there are issues copying and pasting code into the website. Causing it to be indented incorrectly.

Mehr >


Basically another end fixed it. Tabbed it up

alt Re: Admin Lua

DC
Admin Off Offline

Zitieren
at least copy&paste from notepad++ or the normal windows text editor works fine (using firefox). so I don't think that the website is the reason.

alt Re: Admin Lua

Apache uwu
User Off Offline

Zitieren
No I mean from the website back into itself.

Try it, copy my code from inside the more tag and paste it, click preview. It's all UN-tabbed.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht