Page 1 of 1

Error - attempt to call global 'sprintf' (a nil value)

Posted: Wed Jul 02, 2008 1:31 am
by zer0
what happened to the function?

I'm getting:

Code: Select all

attempt to call global 'sprintf' (a nil value)
At first I thought I probably didn't need it most of the time, but their are a few parts which require it.

Re: Error - attempt to call global 'sprintf' (a nil value)

Posted: Wed Jul 02, 2008 3:02 am
by Administrator
Woops. Looks like I accidently commented that line out. Just open lib.lua, and find

Code: Select all

--sprintf = string.format;
Remove the -- and you're set.