• PRINTER COOLERS!
    8 replies, posted
Hello, I would like a coder who could code printer coolers for me, I want a cooler that cools more than one printer at the time its the same if it sends out beams or it is radius based ( cools nearby printers anyways) please add me on steam to get my custom made printers if it helps!! - Epheex.
If you wanna make one yourself rather than request a copy of gangwars here you go. [b][url=http://wiki.garrysmod.com/?title=Ents.FindByClass]Ents.FindByClass [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] [b][url=http://wiki.garrysmod.com/?title=Ents.FindInSphere]Ents.FindInSphere [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] I think you use this to draw the laser but im not 100% sure how this would work [b][url=http://wiki.garrysmod.com/?title=Constraint.Rope]Constraint.Rope [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] After that just do something like: [lua] for k,v in pairs (ents.FindInSphere(self:GetPos(), 80 )) do if v:GetClass() == "money_printer" then v:SetNWBool("Cooled",true) --Add laser stuff here end end [/lua] In the printer you can modify the functions to check if their network variable Cooled is true, if its true then skip the random chance of it exploding.
Post the code to your money printer.
I dont want to copy I just want something similar, becuase its a smart printer cooler:)[QUOTE=Science;29423217]If you wanna make one yourself rather than request a copy of gangwars here you go. [b][url=http://wiki.garrysmod.com/?title=Ents.FindByClass]Ents.FindByClass [img_thumb]http://wiki.garrysmod.com/favicon.ico[/img_thumb][/url][/b] [b][url=http://wiki.garrysmod.com/?title=Ents.FindInSphere]Ents.FindInSphere [img_thumb]http://wiki.garrysmod.com/favicon.ico[/img_thumb][/url][/b] I think you use this to draw the laser but im not 100% sure how this would work [b][url=http://wiki.garrysmod.com/?title=Constraint.Rope]Constraint.Rope [img_thumb]http://wiki.garrysmod.com/favicon.ico[/img_thumb][/url][/b] After that just do something like: [lua] for k,v in pairs (ents.FindInSphere(self:GetPos(), 80 )) do if v:GetClass() == "money_printer" then v:SetNWBool("Cooled",true) --Add laser stuff here end end [/lua] In the printer you can modify the functions to check if their network variable Cooled is true, if its true then skip the random chance of it exploding.[/QUOTE]
Hmm, I have the same prob I want to make one but I'm not sure how to start coding it xD
[QUOTE=zoliio;29570633]Hmm, I have the same prob I want to make one but I'm not sure how to start coding it xD[/QUOTE] Start by learning lua
And King Flawless has again, missed the whole point of the [b]Request[/b] section.
[QUOTE=Maskedmayhem;29570815]And King Flawless has again, missed the whole point of the [b]Request[/b] section.[/QUOTE] If you read his post clearly [QUOTE=zoliio;29570633]Hmm, I have the same prob I want to make one but I'm not sure how to [b]start coding[/b] it xD[/QUOTE] You can see that he says he wants to code it him self Maskedmayhem has once again been proved wrong
Well if you pm me I can send you my printer entities I dont really want to publish them.
Sorry, you need to Log In to post a reply to this thread.