[GMOD LUA] Ep. 16 DarkRP Money Printer

[GMOD LUA] Ep. 16 DarkRP Money Printer

〈CODE BLUE〉

8 лет назад

50,929 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@limule6486
@limule6486 - 09.07.2022 14:47

RIP big guy

Ответить
@colonelwys
@colonelwys - 19.04.2022 23:23

He was so nice and so kind...
The gmod community miss you...

Ответить
@andru5054
@andru5054 - 26.03.2022 20:58

Rest in peace you genius

Ответить
@philhonker6955
@philhonker6955 - 24.07.2021 19:25

can you sent the code in comments?

Ответить
@aqua-tutorials
@aqua-tutorials - 09.03.2021 23:36

does anyone know another DarkRP Wiki as the one he left is no longer up

Ответить
@widow-gr8zl
@widow-gr8zl - 06.10.2020 19:39

R.I.P code blue thank you so much for teaching me you will be missed but not forgotten and your work will be enjoyed for years by many.

Ответить
@BestOfRL
@BestOfRL - 27.07.2020 08:46

Rest In Peace thanks for All ♥️

Ответить
@mikuunya
@mikuunya - 23.07.2020 05:17

RIP bro...

Ответить
@Adrielgames1
@Adrielgames1 - 15.06.2020 05:04

I need a clever person answer this:
How can i do to make the money increase only when i'm looking at the entity?

Ответить
@paradox1516
@paradox1516 - 01.04.2020 20:51

hhh rip man

Ответить
@maximilianocarvajal2475
@maximilianocarvajal2475 - 24.03.2020 23:34

Help me, when I go to the gmod it is not in entities

Ответить
@lord-sugarv2
@lord-sugarv2 - 16.03.2020 01:39

RIP man

Ответить
@Esteb
@Esteb - 06.03.2020 22:39

RIP

Ответить
@spiderdumplings9752
@spiderdumplings9752 - 11.01.2020 00:54

I know i probably wont get a response, but since i love your series so much i wanted to at least try. For some reason after creating thsi entity i get an error.
"Refusing to load custom_printer because it is missing Type and Base keys! "
But i followed your code near perfectly. Any idea why this is an issue?

Ответить
@Robber7
@Robber7 - 07.01.2020 17:57

Is there a better way than string comparsions? Thats kinda slow. Arent there any identifiers?

Ответить
@Aspect12
@Aspect12 - 22.12.2019 01:48

Rest easy.

Ответить
@Thomasssson
@Thomasssson - 10.06.2019 16:55

Hey! I started to watch your video 3 days before, and i think you are a very good instructor because i'm french and i can understand all of your explainement (i think it can be said like that ^^'). Thank you so much for each of your videos!

Ответить
@acatfrompoland5230
@acatfrompoland5230 - 29.05.2019 21:53

Currently making cookie clicker in Gmod, back here to look at CurTime()

Ответить
@yui4342
@yui4342 - 28.04.2019 12:00

[ERROR] lua/entities/moneyprinter/init.lua:21: 'end' expected (to close 'function' at line 6) near '<eof>'
1. unknown - lua/entities/moneyprinter/init.lua:0

Refusing to load moneyprinter because it is missing Type and Base keys!


This keeps popping up

Ответить
@sitoelbl
@sitoelbl - 20.04.2019 19:50

How do I get the dark rp gamemode on gmod

Ответить
@mrzoneeee
@mrzoneeee - 15.04.2019 13:41

hello i don't have my printer on my entities can you help me please

Ответить
@hugolompto
@hugolompto - 14.04.2019 12:05

Thanks !

Ответить
@lemmesmash1618
@lemmesmash1618 - 17.03.2019 23:11

NIICE love this!

Ответить
@ItsDefinitelyMatt
@ItsDefinitelyMatt - 20.02.2019 20:12

Its not in my entities folder help?

Ответить
@jackday8192
@jackday8192 - 21.01.2019 02:29

whay happened to your channel? why is it dead now, your vids are so good

Ответить
@tamx9894
@tamx9894 - 01.01.2019 14:05

How to make the draw.SimpleText(eye.Entity:GetMoneyAmount(), bla bla bla unreadable (doesn't show) after a certain distance?

Ответить
@magnusm4
@magnusm4 - 30.11.2018 18:36

I don't need to restart the server in singleplayer, it updates directly when I make a change so if an object gets and error and stop, if I fix it and save then the object immediately starts working again.
But I want to know what is self and ENT?
I have seen in the Mr Saturn script that he says self:ShouldWalk and ENT:CheckForSchedule
So I wonder what does self mean? the script or the entity?
What is ENT if you can make function for it? CheckForSchedule doesn't exist on the wiki list

Ответить
@MaXx0r_
@MaXx0r_ - 09.09.2018 16:27

Thank you so much for your great videos! You rescued me from a 3 hours struggle :D

Ответить
@lenaboss968
@lenaboss968 - 13.07.2018 19:11

Is there a possible way to do this in the ingame console if not can you do it on a linux console because I do not have folders I just have a linux console

Ответить
@vaughnblake7037
@vaughnblake7037 - 11.07.2018 18:22

Hey code Blue is there any eat of me reaching out to talk to you, I have a question

Ответить
@gabriellongo1629
@gabriellongo1629 - 12.06.2018 21:21

This is a pretty cool tutorial

Ответить
@gabriellongo1629
@gabriellongo1629 - 12.06.2018 20:44

what is the acorn icon?

Ответить
@bobross9370
@bobross9370 - 06.04.2018 04:54

You have a weird obsession with drop shadows.

Ответить
@KAustinn
@KAustinn - 01.04.2018 00:24

DarkRP gamemode is broke for me

Ответить
@gwars3254
@gwars3254 - 29.03.2018 21:14

how can i make that the printer get damaged ?

Ответить
@gwars3254
@gwars3254 - 29.03.2018 19:28

is it okay if i make a bitcoin system with that ? so i use a pc and make more than one printer i dont know or is did not okay i will sell it for 1 or 2 euro

Ответить
@fabiq8938
@fabiq8938 - 28.03.2018 18:23

[ERROR] lua/entities/n3_print/shared.lua:10: attempt to index global 'self' (a nil value)
1. unknown - lua/entities/n3_print/shared.lua:10

what i did wrong ?

ENT.Type = "anim"
ENT.Base = "base_gmodentity"

ENT.PrintName = "Blue printer"

ENT.Spawnable = true

function ENT.SetupDataTables()

self:NetworkVar("Int" , 1 , "MoneyAmount")

end

Ответить
@kriszenn1125
@kriszenn1125 - 28.03.2018 07:44

checked the gmod wiki for Set u pDataTables() and my u was capital... god damnit

code:

include("shared.lua")

surface.CreateFont( "MoneyFont", {
font = "Arial", -- Use the font-name which is shown to you by your operating system Font Viewer, not the file name
extended = false,
size = 75,
weight = 500,
blursize = 0,
scanlines = 0,
antialias = true,
underline = false,
italic = false,
strikeout = false,
symbol = false,
rotary = false,
shadow = false,
additive = false,
outline = false,
} )

function ENT:draw()

self:DrawModel()

end

hook.Add("HUDPaint","DrawMoney",function()

local eye = LocalPlayer():GetEyeTrace()

if eye.Entity:GetClass() == "custom_printer" then

draw.SimpleText(eye.Entity:GetMoneyAmount(),"MoneyFont",ScrW()/2,ScrH()/2,Color(255,0,0),1,1)

end

end)

Ответить
@kriszenn1125
@kriszenn1125 - 28.03.2018 07:44

my code isnt working

[ERROR] lua/entities/custom_printer/cl_init.lua:33: attempt to call method 'GetMoneyAmount' (a nil value)
1. v - lua/entities/custom_printer/cl_init.lua:33
2. unknown - lua/includes/modules/hook.lua:84

Ответить
@xav_god7596
@xav_god7596 - 04.01.2018 10:14

lol its a text on video not real

Ответить
@TinyMeatPete
@TinyMeatPete - 28.10.2017 18:01

Has he done any tutorials of lua chat commands? I wanted to make something special or my server, however I need chat commands to make it work. Also can someone tell me if scrolling text is a thing?

Ответить
@EOFda
@EOFda - 27.09.2017 19:22

how to make entity with many props?

Ответить
@hydricbluen8498
@hydricbluen8498 - 17.08.2017 06:58

wheres the pastebin link?

Ответить
@drgreentea1138
@drgreentea1138 - 09.08.2017 20:17

Hello nice video, helped me alot.
But i still cant figure out how to make moneyprinters with this lines where it says: "Money"
Could you do an video for an advanced moneyprinter? would be great.

Ответить
@jesusvelarde3137
@jesusvelarde3137 - 16.06.2017 02:21

I made a metal detector for my murder server.

Ответить
@Adam-cn5ib
@Adam-cn5ib - 11.06.2017 23:11

When i try to spawn this prop it gets stuck in the ground and i can't move it, only way to fix this is to spawn the printer on another prop, any help?

models/props_lab/reciever_cart.mdl

Ответить
@DJViber
@DJViber - 25.05.2017 21:49

lol

Ответить
@SalteeChip
@SalteeChip - 18.05.2017 10:41

I made a simple swep-Now i want to do more advanced stuff, but im slow and im not good at remembering, so im going to rewatch this whole series a few times and then go along with each video.

Ответить
@vladimirwieringa750
@vladimirwieringa750 - 22.03.2017 16:12

It does not work with me on single player because I don't see the "other" section at entities when I am in game

Ответить