Garry's Mod

Garry's Mod

Roblox Doors: Экран Смерти
I need to know how to make custom messages
Please
< >
Showing 1-5 of 5 comments
Gumball 6 Sep, 2022 @ 7:53pm 
idk
Player 456 12 Oct, 2022 @ 12:13pm 
Originally posted by putik:
idk
Dude i dont knoz too
dabbogt 21 Jan, 2024 @ 2:11pm 
1st step, make sure to uninstall the workshop version of the Doors Death Screen

2nd step, download the github version, so you can edit it.

3rd step, when you have the zip, extract it and put the contents it in garrysmod/lua

4th step, find the doors_death_config and then you will find texts for already existing death messages,

5th step, make a new custom message for a npc.
you can use this example right here:

elseif attacker:GetClass() == "insert npc code name here" then

phrases = {

{ time = 15, text = "CLOSE_DEATH_SCREEN" },
{ time = 10, text= "Text 3" },
{ time = 5, text = "Text 2" },
{ time = 0, text = "Text 1" }

}



How do you get a npc code name? So go into gmod, then right click on a npc and click copy to clipboard. Now paste it in and you will have the codename.

You can add more text. Just make sure you do it like this {time = 20, text = "Text 4"},

If you want to make the line go to a different line, put /n in.

Then save the file and go in gmod and test that out!
Badmaximus8 21 Jan, 2024 @ 6:26pm 
Originally posted by ryinryout:
1st step, make sure to uninstall the workshop version of the Doors Death Screen

2nd step, download the github version, so you can edit it.

3rd step, when you have the zip, extract it and put the contents it in garrysmod/lua

4th step, find the doors_death_config and then you will find texts for already existing death messages,

5th step, make a new custom message for a npc.
you can use this example right here:

elseif attacker:GetClass() == "insert npc code name here" then

phrases = {

{ time = 15, text = "CLOSE_DEATH_SCREEN" },
{ time = 10, text= "Text 3" },
{ time = 5, text = "Text 2" },
{ time = 0, text = "Text 1" }

}



How do you get a npc code name? So go into gmod, then right click on a npc and click copy to clipboard. Now paste it in and you will have the codename.

You can add more text. Just make sure you do it like this {time = 20, text = "Text 4"},

If you want to make the line go to a different line, put /n in.

Then save the file and go in gmod and test that out!
It took me 2 years but now someone gave me an answer. Thank you.
Haladie 10 Oct, 2024 @ 3:51pm 
THANK YOU THANK YOU THANK YOU:steamsad::steamhappy:
< >
Showing 1-5 of 5 comments
Per page: 1530 50