Forum

> > CS2D > Scripts > What is wrong in my lua script?
Forums overviewCS2D overview Scripts overviewLog in to reply

English What is wrong in my lua script?

2 replies
To the start Previous 1 Next To the start

old What is wrong in my lua script?

Kirito2K
User Off Offline

Quote
Hi us .
I have problem with my script

The problem :LUA ERROR: sys/lua/test.lua:1403: 'do' expected near 'if'

Huge Code >

old Re: What is wrong in my lua script?

Pagyra
User Off Offline

Quote
You could put your code into a code tag?

find 1400 - in "for" you forget "do"

1
2
3
function menuCall(id, action)
     if action == 2 then
          for adm = 1, #Admins do
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview