Forum

> > CS2D > Scripts > Lua Scripts/Questions/Help
Forums overviewCS2D overview Scripts overviewLog in to reply

English Lua Scripts/Questions/Help

6,770 replies
Page
To the start Previous 1 2160 161 162338 339 Next To the start

old Re: Lua Scripts/Questions/Help

Admir
User Off Offline

Quote
Deatherr has written
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

old Re: Lua Scripts/Questions/Help

Yrael
User Off Offline

Quote
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?

old Re: Lua Scripts/Questions/Help

BetaM
User Off Offline

Quote
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].."")

old Re: Lua Scripts/Questions/Help

Anders4000
User Off Offline

Quote
Yrael has written
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 (:

old Re: Lua Scripts/Questions/Help

Flacko
User Off Offline

Quote
Anders4000 has written
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'

old Re: Lua Scripts/Questions/Help

Admir
User Off Offline

Quote
Flacko has written
Anders4000 has written
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

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
@Admirdee & Anders4000

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

old Re: Lua Scripts/Questions/Help

CmDark
User Off Offline

Quote
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

old Re: Lua Scripts/Questions/Help

- Dark Void -
User Off Offline

Quote
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

old Re: Lua Scripts/Questions/Help

memo
COMMUNITY BANNED Off Offline

Quote
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 ?

old Re: Lua Scripts/Questions/Help

Anders4000
User Off Offline

Quote
Blazzingxx has written
@Admirdee & Anders4000

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


Nice xp
To the start Previous 1 2160 161 162338 339 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview