Can anyone point me to where the coding is to change the speed of each individual money printer? I've made my own 'Uber Money Printer' for my server and everything works well but I want it to give $10 every split second as a test. The cost of the money printer and how much it creates I've already done. It's just the processing speed of it. I've looked in all init.lua, cl_init.lua, shared.lua files and none of them have this unless I've missed it somewhere.
Thanks in advance.
Well what printers are you using? The regular version of DarkRP Only comes with one printer.........
[QUOTE=Junkalunka;41576686]Well what printers are you using? The regular version of DarkRP Only comes with one printer.........[/QUOTE]
I've downloaded the money printers from this YouTube link: [url]http://www.youtube.com/watch?v=htMr1eZL_M0[/url]
I downloaded that, it works fine. I've made my own money printer using a template of the other printers, just need to change the speed.
In your init.lua, look for the following code around 107. This might be different if its on your custom printer, but oh well.
[code]--DarkRPCreateMoneyBag(Vector(MoneyPos.x + 15, MoneyPos.y, MoneyPos.z + 15), PrintMoney)
self.sparking = false
timer.Simple(120, function() PrintMore(self) end)
end[/code]
Where it says "timer.Simple(120, function() PrintMore(self) end)" The 120 Is how long it takes to print. Change that to what you want.
[editline]24th July 2013[/editline]
You can also enable and disable sparking with the "self.sparking" part, by replacing false with true.
Thanks, this worked but it takes time to get to it's fasted!
No problem.
Sorry, you need to Log In to post a reply to this thread.