Forum

> > CS2D > Scripts > Lua Scripts/Questions/Help
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Lua Scripts/Questions/Help

6.770 Antworten
Seite
Zum Anfang Vorherige 1 2160 161 162338 339 Nächste Zum Anfang

alt Re: Lua Scripts/Questions/Help

Admir
User Off Offline

Zitieren
Deatherr hat geschrieben
How can you make you class menu larger size because some of the text is like over lapping.


1
menu(id,"MENU OF TITLE[b]@b[/b],BUTTON 1, BUTTON 2")

@Schinken

Yes, use move hook will be less use CPU Usage memory, use move hook then update the hud everytime he move each tile

alt Re: Lua Scripts/Questions/Help

Yrael
User Off Offline

Zitieren
i edited the sample utsfx script to make my own with no msg's and different sounds

the lua script is in the server.lua, but:
it does not work...

the error msg:
expected 'eof' near end

something like that...

any help?

alt Re: Lua Scripts/Questions/Help

BetaM
User Off Offline

Zitieren
Hey guys! I need to know how to write multiple values in one line.
1
2
Not this:
print(""..tab[1].." "..tab[2].." "..tab[3]   ... etc. ... tab[n].."")

alt Re: Lua Scripts/Questions/Help

Anders4000
User Off Offline

Zitieren
Yrael hat geschrieben
i edited the sample utsfx script to make my own with no msg's and different sounds

the lua script is in the server.lua, but:
it does not work...

the error msg:
expected 'eof' near end

something like that...

any help?


1. We need your code..
2. We need the full error so we can see what is expected (:

alt Re: Lua Scripts/Questions/Help

Flacko
User Off Offline

Zitieren
Anders4000 hat geschrieben
1. We need your code..
2. We need the full error so we can see what is expected (:

That's his error.
Expected <eof> near 'end'

alt Re: Lua Scripts/Questions/Help

Admir
User Off Offline

Zitieren
Flacko hat geschrieben
Anders4000 hat geschrieben
1. We need your code..
2. We need the full error so we can see what is expected (:

That's his error.
Expected <eof> near 'end'


There was 'end' is over than 'if' or less than 'if' , if I'm not wrong

alt Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Zitieren
@Admirdee & Anders4000

End expected near <Eof> - not enough Ends
<Eof> expected near End - too many Ends

alt Re: Lua Scripts/Questions/Help

CmDark
User Off Offline

Zitieren
Can anyone here help me learn more of Lua's complex functions?

like reading a byte
integer, stuff like packets and stuff

because I'm thinking of importing stuff from Java to lua

alt Re: Lua Scripts/Questions/Help

- Dark Void -
User Off Offline

Zitieren
i have a question about tables

how i would i get the items of a table inside a table such as:
1
table = {12, 2, insidetable = {12, 32, "hello world"}}
would you call it like this

table[insidetable[2]] -- 32
or
table[3[2]] -- 32

also if the inner table has no name such as
1
table = {12, 2, {12, 32, "hello world"}}

call it as?
table[3[2]] -- 32

alt Re: Lua Scripts/Questions/Help

memo
COMMUNITY BANNED Off Offline

Zitieren
How to make Classes for every team at own i need Examples , because my Classes mod for every team at own didn't work, i need to see where i have a wrong on it ?

alt Re: Lua Scripts/Questions/Help

Anders4000
User Off Offline

Zitieren
Blazzingxx hat geschrieben
@Admirdee & Anders4000

End expected near <Eof> - not enough Ends
<Eof> expected near End - too many Ends


Nice xp
Zum Anfang Vorherige 1 2160 161 162338 339 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht