The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
The Powder Toy/Lua scripting
/
Why my script don't work?
«
1
2
3
»
Why my script don't work?
EditorRUS
8th Sep 2011
Member
0
Permalink
Look this -
http://pastebin.com/ygqFuYfH
mniip
8th Sep 2011
Developer
0
Permalink
for i = 0,i<8 do
wtf???
for i=0,7 do
EditorRUS
8th Sep 2011
Member
0
Permalink
all normal. Switch encoding :)
mniip
8th Sep 2011
Developer
0
Permalink
what u mean by that?
EditorRUS
8th Sep 2011
Member
0
Permalink
Interpreter use, for up to the level of normal speech in the study of English had not yet arrived.
I mean, what encoding should be changed, well ... so to speak. In short visit with another browser on this link and look normal.
mniip
8th Sep 2011
Developer
0
Permalink
the same, it shows 'for i = 0,i<8 do'
EditorRUS
8th Sep 2011
Member
0
Permalink
and?
mniip
8th Sep 2011
Developer
0
Permalink
and it should be another way:
for i=0,7 do
EditorRUS
8th Sep 2011
Member
0
Permalink
Sorry, this is just my first experience with Lua, Delphi had to work, barely able to crawl to the syntax of C + +, and that's how I write it.
mniip
8th Sep 2011
Developer
0
Permalink
do u know delphi?
i do.
but doesnt seem to look like delphi anyways
«
1
2
3
»