Title / Thread Starter Last Post ByReverse Sort Order Replies Views
Winner x 31


We are not interested in threads that state you are looking for a coder for your server/addon/gamemode. Please instead use this website. http://coderhire.com/

garry 1 reading
7th May 2013
by Gran PC Go to last post
1 7,778


This forum is for help modding Garry's Mod. This includes everything from scripting to mapping. Your first port of call should be the Garry's Mod Wiki. If you don't find what you need - please post a thread in this forum asking for the information to...

27th February 2013
by Sethxi Go to last post
6 8,047

When players are dead they get the owner tag? This thread has images

function ChatTags(ply, Text, Team, PlayerIsDead) if ply:IsPlayer() then local group = ply:GetUserGroup() local nickteamcolor = team.GetColor(ply:Team()) // tag = "" // col = Color(0,0,0,255) if ply:Alive() then if group == "user" then ...

BlushBerry 4 reading
9 Minutes Ago
by code_gs Go to last post
12 207

How to add with lua? (nub question)

Hello i am trying to do variable + 1 in gmod lua and its telling me i need = near plus so i tried variable += 1 but it still didnt work :/

Krown420 7 reading
22 Minutes Ago
by Krown420 Go to last post
5 52

GMod - What are you working on? August 2014 (#36) ( 2 3 4 5 .. 9 10 11 12 Last ) This thread has images

As per usual, PM me or steam message me any fixes to the OP! I've added stuff based on the amount of ratings it, from the first and last few pages. (Probably more to come to this OP) Highlights from the previous thread

Mors Quaedam 16 reading
43 Minutes Ago
by Netheous Go to last post
456 29,765

Chinese text can't change fonts This thread has images

Chinese - Microsoft JhengHei Chinese - Arial English - Microsoft JhengHei

weixin0914 1 reading
51 Minutes Ago
by Zephruz Go to last post
6 204

Developer Questions This thread has images

Hey i have been messing around, programming a gamemode in garry's mod and I have come across a couple questions, i decided to come to this thread again since you guys helped me, and i learned alot from you last time. 1. Join/Leave messages Does...

BasedWolf 6 reading
52 Minutes Ago
by Chimpanzee Go to last post
7 140
Winner x 47

Next Update ( 2 3 4 5 .. 78 79 80 81 Last ) This thread has images

Latest changelog This is a thread for discussing upcoming Garry's Mod updates. All changes in the latest changelog should be already in the dev branch, so if anyone here is running on that branch, please test those changes and report any issues on...

_Kilburn 4 reading
1 Hour Ago
by Ott Go to last post
3,200 167,576

DarkRP 2.5 NeedToChangeFrom bug

I've recently made two jobs, which is the police and the police officer. Now, the Police can't go to the Police Chief role. When i try to become the Chief role/job, it pop ups a msg saying; You need to be first in order to be able to become Police...

2 Hours Ago
by Zackyo Go to last post
5 90

Problems That Don't Need Their Own Thread v2.0 ( 2 3 4 5 .. 17 18 19 20 Last ) This thread has images

Welcome to the PTDNT page ! Have a small problem and need help with it , but you don't want to start a new thread and ask about your problem then you've came to the right thread ! To keep it clean -Post your problem ("Variable returns nil at some...

sm69baller 1 reading
2 Hours Ago
by Splambob Go to last post
768 17,102

solved Lag compensation in the Tick hook doesn't seem to work.

Hi, I'm making a SWEP pack to go with ACF - a contraption combat mod with simulated ballistics. The SWEPs create an ACF bullet and pass it to the mod, which then simulates the bullet per-tick in the global Tick hook. I've hit two problems though: 1:...

2 Hours Ago
by Splambob Go to last post
3 146

solved game.ConsoleCommand Issue

Hello there, I'm in the process of creating a new Admin mod and am now polishing off on the ban system. I most recently was trying to make the kick/ban reasons more informative and 'pretty', which involved me putting different pieces of information on...

2 Hours Ago
by Braden1996 Go to last post
3 85

Ilya Bhop Gamemode Broken AGAIN!?

Well recently had a problem where if you jump-crouch, the server crashes. Ive been talking to customer service with Xenon for hours. And we did narrow it down to if someone jump-crouch on the Bhop gamemode. The server crashes. No idea why just started...

3 Hours Ago
by Reyjr43 Go to last post
34 440
Winner x 69

CoderHire ( 2 3 4 5 .. 115 116 117 118 Last ) This thread has images

After some drama and downtime, CoderHire is officially back. The site now has community moderators to help it run much more smoothly. CoderHire was made to accommodate people looking for some custom work done for their Garry's Mod server, and for...

_Undefined 4 reading
4 Hours Ago
by Phoenixf129 Go to last post
4,700 189,770

solved Editing TTT SWEP variables in game

I want to change the damage value of ALL TTT weapons to 50 on the round prep but I've run into an issue. It only works once per map! I tried using InitPostEntity which loaded it once per map at the very beginning and then now I tried TTTPrepareRound which...

4 Hours Ago
by Exho Go to last post
2 102
Lua scripting

New game mode from scratch

I just have to quickly gripe: the gmod documentation seems scattered and much of it out of date. Even the official garry's mod wiki has tutorials that don't work. I followed creating a game mode tutorial from there to the letter, yet I'm having some...

4 Hours Ago
by FaceFlip Go to last post
2 93
Lua scripting

TTT ragdoll crashing

Is this still a problem that everyone is having? My server still crashes a shit ton even with this code running: https://github.com/Kefta/Ragdoll-Remover

4 Hours Ago
by TripsLetash Go to last post
11 199

Deathrun Code

Recently i have begun setting up a deathrun server, and as a result have noticed how there is a lack of code for deathrun on both facepunch and coderhire. So i decided that it might be a good idea to, post some code i have created here. This list will be...

4 Hours Ago
by prop11 Go to last post
16 411
Lua scripting

Help me with darkRP This thread has images

In general, I need to save textscreen and other nps,prop map.To restart after the map\ server he remained. How to do it?

giraff 1 reading
4 Hours Ago
by giraff Go to last post
10 218

HL2 Weapon Functions

How do I make a weapon have the HL2 Weapon functions? Like if I wanted one gun to have the Combine Ball Launcher or one gun to have the Grenade Launcher or another to have the 2 round shotgun burst? I would I make that?

6 Hours Ago
by Robotboy655 Go to last post
26 308

Applying a skin to a weapon

Hey, I want to apply a weapon skin (This one: http://hl2.gamebanana.com/skins/133190) To a weapon I put in gmod (This one: http://hl2.gamebanana.com/skins/105813). How do I do this? I renamed all the textures, and went in XVI32, and changed the texture...

7 Hours Ago
by overki11 Go to last post
0 74

Make constraint between prop and non-physics object (door)

Hello everyone. Can someone suggest how to save door with prop in dupe using Adv.Duplicator (first, not second). I tried to override util.IsValidPhysicsObject function which used in weld for validation, but still not work. any ideas? P.S. Sorry...

7 Hours Ago
by Koji6ac9H Go to last post
6 93

Gmod Gun Audio Messup

Hey guys I get something strange when I reload a gun that I made. When I insert the magazine it makes a strange noise, shown in this video: https://www.youtube.com/watch?v=TSVZPb33k6E&feature=youtu.be Here is the autorun file with the sounds ...

overki11 1 reading
7 Hours Ago
by overki11 Go to last post
3 111

Singleplayer gamemode (campaign?)

Hello, I recently beat the Half-Life series, and I really want to make a game myself, although I don't have any more knowledge outside Lua, I know some C# (unity just doesn't cut it for me). If I were to make this singleplayer gamemode, would people play...

10 Hours Ago
by G4MB!T Go to last post
1 116

Constant Server Lag?? with 60+ players

Looking for some help with one of my server when i hit around 55-60 people server starts to lag Server is already using a -16 tickrate Hosting with NFO Servers Some of my Config fps_max 0 sv_maxrate 0 sv_minrate 100000

12 Hours Ago
by kila58 Go to last post
14 211

Why does my this not work? HELP Please!

Hello, I'm trying to get my rest of my code but all my errors lead to this. By the way, i hidden some of the text because its some of my projects coming out. It says.... local veh = LocalPlayer():GetVehicle()

12 Hours Ago
by xrayhunter1 Go to last post
6 151

Trying to make a script that gives players popcorn upon spawning in

function OnPlayerSpawn( ply ) ply:Give( "weapon_popcorn" ) end I'm a complete noob when it comes to scripting I have zero knowledge of it. I just want to do this one simple thing. Can somebody help me out?

15 Hours Ago
by BlushBerry Go to last post
2 98

What does the "Think" function do?

The wiki says "Called when the entity thinks" which has to be the worst definition on the wiki, using the word you're describing in the definition... Whats the purpose of it?

15 Hours Ago
by Exho Go to last post
6 150

Need help identifying the reason for a lua error, file not found, include error

Lua Error:Couldn't include file 'sh_proxi_autorun.lua' (File not found) (@addons/proxi/lua/autorun/client/cl_proxi_autorun.lua (line 1)) include( 'sh_proxi_autorun.lua' ): this is the cl_proxi_autorun.lua line one and yes the sh_proxi_autorun.lua...

15 Hours Ago
by Robotboy655 Go to last post
8 150

Making Citizens Have Random Bodygroups

My friend and i just made a citizen pack but they have too many bodygroups and it is hard to change them every time i spawn the npcs. Does anyone know how do i make them spawn with random bodygroups and skins automatically?

20 Hours Ago
by Kogitsune Go to last post
5 148

Uploading an addon to the workshop

I am trying to upload my very first addon to the workshop. I have scavenged the internet for some sort of clear tutorial on how to do so. I have made an addon.json file in my addon folder and I have my code under lua/weapons/schitthrower (Don't ask). Is...

20 Hours Ago
by code_gs Go to last post
17 205

Making "Entities" superadmin only

Hi! Does someone know how to make the "Entities" tab be superadmin only? It's really frustraiting, when players can spawn thumpers, bouncy balls, combine mine (Which makes a ugly noice on the map) and those things?

Zackyo 1 reading
21 Hours Ago
by Chimpanzee Go to last post
16 246

Do you need help with darkrp jobs?

Hello there people of the internet, my name is AccidentalGenius aka Cas, Im a new Lua coder and becouse i need to learn it more im searching for someone to give me a job, i mean like: if you want jobs for you're DarkRP server, i'll make them for free for...

22 Hours Ago
by jack10685 Go to last post
10 216

PrimaryAttack Help

Hey FP, I am working on a SWEP and I've run into a complication. So I went to test a few things and I noticed that it wasn't working exactly as I anticipated. http://wiki.garrysmod.com/page/WEAPON/PrimaryAttack function SWEP:PrimaryAttack() if...

SaintSin6 1 reading
22 Hours Ago
by SaintSin6 Go to last post
4 123
Useful x 20

Updating Lua Lexer - List of Garry's Mod 13 Functions? ( 2 Last ) This thread has images

Hi, If anybody here uses Notepad++, then you will know that it on the Garry's Mod 13 Update, the lexer became outdated. My goal is to update the plugin with all of the new Syntax, Functions, and such created in the updates. My Question is if anyone...

23 Hours Ago
by Larnecse Go to last post
48 4,892

Error: Couldn't Initialize Steam! (Is it running?)

So I am trying to publish my very first addon but I have hit a brick wall. Every time I run the batch file in the same folder as gmpublish.exe I run into this error: C:\Users\MyLastName\Desktop\GMPUblish>gmpublish create -addon "C:\Users\MyLastName\D...

Praesdynamite 3 reading
1 Day Ago
by Praesdynamite Go to last post
2 81

Custom about surface.SetDrawColor

How would i make surface.SetDrawColor rotate through ever color?

1 Day Ago
by log404 Go to last post
7 157

solved Inventory Question

Hello there! Me, being the gLUA n00b I am, was wondering about inventories. I've heard a lot about "database.lua" "mysqloo.lua" and "mysqlite.lua". What is the difference between these? Second off, I would like to fully understand how I could create...

1 Day Ago
by TheRealSmithy Go to last post
5 107

ERROR: Trying to derive entity npc_cinemapopcorn from non existant entity base_gmodentity!

Trying to get this to work on the Cinema gamemode: http://steamcommunity.com/sharedfiles/filedetails/?id=295276014 I keep getting the error in the title though

1 Day Ago
by BFG9000 Go to last post
2 67

Enable physics for effect This thread has images

Is it possible? I have set a model for effect and I can't enable physics. Wiki has PhysicsCollide hook, but how to enable it for effect?

1 Day Ago
by TheMostUpset Go to last post
7 191

Net messages, user messages, are they resource intensive?

Hi all, I am trying to do a check from a clients vgui panel where it checks the DTextEntry value if it matches a value on the server. I am using the OnTextChanged function so it gets called every time the person writes something in the DTextEntry. The...

1 Day Ago
by ph:lxyz Go to last post
11 281

Changing the Player's POV This thread has images

Heya, people! So I'm working on this player model: http://oi59.tinypic.com/1tqyao.jpg http://cloud-2.steampowered.com/ugc/573401739844773678/5DBE82001A4A76A87A9243FBFF62CFBEED212983/ It's rigged to the pony player model skeleton, and it...

1 Day Ago
by PolytizeMeCPT Go to last post
10 278