http://pastebin.com/74yv9VH1
it doesn't work and cause error "bios:337: [String "cmd" ]:13: unexpected symbol".
please help me
Help With Command Decoder Using String.gmatch() Iteration
Started by hasunwoo, Aug 03 2013 04:39 AM
3 replies to this topic
#1
Posted 03 August 2013 - 04:39 AM
#2
Posted 03 August 2013 - 04:58 AM
Don't put local infront of table element assignations. commands is already local so no need to redeclare it as local.
=> remove the local on line 13
=> remove the local on line 13
#3
Posted 03 August 2013 - 08:05 AM
when you type local it will basically define a new varible. So in some cases you don't have to put local.
#4
Posted 03 August 2013 - 08:37 PM
command[loop] isn't a variable, command is.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











