Forum
CS2D Scripts Lua Scripts/Questions/Help 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
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
2
2
Not this: print(""..tab[1].." "..tab[2].." "..tab[3] ... etc. ... tab[n].."")
buff = ""
for i=1, #tab do
buff = buff..tab[i].." "
end
print(buff)
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?
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 (:
Anders4000 has written
1. We need your code..
2. We need the full error so we can see what is expected (:
2. We need the full error so we can see what is expected (:
That's his error.
Expected <eof> near 'end'
Flacko has written
That's his error.
Expected <eof> near 'end'
Anders4000 has written
1. We need your code..
2. We need the full error so we can see what is expected (:
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
"Expected 'end' near <eof>" would make more though..
End expected near <Eof> - not enough Ends
<Eof> expected near End - too many Ends
like reading a byte
integer, stuff like packets and stuff
because I'm thinking of importing stuff from Java to lua
And that's for real
CmDark has written
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
like reading a byte
integer, stuff like packets and stuff
because I'm thinking of importing stuff from Java to lua
http://code.assembla.com/mod2d/subversion/nodes/core/struct.lua?rev=31
You don't need structural support in Lua to import code from Java.
how i would i get the items of a table inside a table such as:
1
table = {12, 2, insidetable = {12, 32, "hello world"}}
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
t["inside"][1]
t = {1,2,{3,4}}
t[3][1]
oh ya, I was to confused because that error almost same
Blazzingxx has written
@Admirdee & Anders4000
End expected near <Eof> - not enough Ends
<Eof> expected near End - too many Ends
End expected near <Eof> - not enough Ends
<Eof> expected near End - too many Ends
Nice xp