PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: Pothead on 22 April, 2006, 15:32:42

Title: Commands
Post by: Pothead on 22 April, 2006, 15:32:42
Meh, 10,000 character limit. :P
See attachment. :)
Title: Re: Commands
Post by: Helios on 14 June, 2006, 21:22:41
hi pothead i have tested it wit pto k1 and l1 it not work properly

report no error
Title: Re: Commands
Post by: Helios on 20 June, 2006, 17:12:51
report this error with lua 5.1


Syntax F:\recupero\Ptokax\Ptokax\scripts\commands.lua:442: bad argument #1 to 'pairs' (table expected, got function)
Title: Re: Commands
Post by: Pothead on 21 June, 2006, 01:49:50
Try changed line 442 from
for line in file:lines() do
to
for line in io.lines(filename) do
:)
Title: Re: Commands
Post by: Helios on 21 June, 2006, 11:06:50
tnx now work fine