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

NEED A CODER? DON'T MAKE A THREAD - LAST UPDATED 25 OCTOBER 2013 - READ THIS

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/

7th May 2013
by Gran PC Go to last post
1 7,401
Garry
 

MODDING HELP - READ ME FIRST

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 7,655
Release
 
Winner x 47

Next Update ( 2 3 4 5 .. 70 71 72 73 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 11 reading
2 Minutes Ago
by Noi Go to last post
2,889 147,639
POST YOUR
 

Problems That Don't Need Their Own Thread v2.0 ( 2 3 4 5 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...

6 Minutes Ago
by LennyPenny Go to last post
165 2,731
Lua scripting
 

My server needs help.

When someone joins the server it is perfectly normal but when they choose a different job the color on the fadmin scoreboard (the regular one) is yellow when it should be gray, or whatever. If i set them to that job with the FAdmin command it is perfectly...

tomis13lack2 3 reading
13 Minutes Ago
by tomis13lack2 Go to last post
10 54
Help
 

[TTT]PointShop Code Question

I don't know if this question has been asked or not but I'm extremely confused by this particular line of code when making a weapon. The thing I'm confused about is WHERE is the damn model file located exactly in the Gmod folder so I can make sure its the...

Ancalgon 3 reading
30 Minutes Ago
by Ancalgon Go to last post
6 98
Help
 

need a bit help with cardealer and vip shop This thread has images

hey. my devs are currently on vacation so i gotta do things on my own. i managed to find out a lot of stuff on my own. but theres a few things i cant get a hold on. i got a cardealer that looks like this: and a vip shop looking like this: ...

kevinky 1 reading
48 Minutes Ago
by Subject_Alpha Go to last post
14 126
Help
 

Best way to retrieve and use data from a MySQL database? This thread has images

Hi, I'm looking to see what is the best way to retrieve data from a database using the SELECT command. What I am attempting to do is check to see if a players Steam ID is entered into a column and if not, enter it. Very basic I know, but we all gotta...

59 Minutes Ago
by TheDoggy Go to last post
17 445
Help
 

Bad Key to String Index with CollisionBounds

I dont mess around with collision models at all and this is confusing me. Any help would be appreciated ** Model referenced earlier ** ENT.Model = Model("models/props/cs_office/cardboard_box01.mdl") **Line 42 ** local Min,Max =...

Exho 3 reading
1 Hour Ago
by Exho Go to last post
0 29
Lua scripting
 

Prop Hunt - Red Name Shows When Looking At Props - Fixed!

Forgive me if I'm not the first to come up with this, but I've searched all over Google trying to find another reference to a fix for this. I'm going to assume it's not been done before. At any rate, running the Classic Prop Hunt gamemode from xspacesoft...

therealist 3 reading
1 Hour Ago
by therealist Go to last post
0 49
Link
 
Winner x 67

CoderHire ( 2 3 4 5 .. 105 106 107 108 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 7 reading
1 Hour Ago
by Aide Go to last post
4,309 171,905
Help
 

No Collision "C" Menu DarkRP

How would I restrict the ability to access the "C" menu and enable no collisions on vehicle entities or just all entities in general? I am fine with the no collision tool being used because it must be used on your props, but no collide in "C" menu allows...

Frubbs 1 reading
2 Hours Ago
by Frubbs Go to last post
3 79
Lua scripting
 

DarkRP broken entites

Hello. I'm working on a DarkRP server and I have an issue with the entities. If you become a Gangster and buy a printer and then change to Police, the printer doesn't dissapear. It used to dissapear some time ago, but it doesn't anymore. I don't know...

Nameful 1 reading
3 Hours Ago
by Nameful Go to last post
0 65
Work In Progress
 

GMod - What are you working on? - July 2014 (#35) ( 2 3 4 5 .. 13 14 15 16 Last ) This thread has images

You know the drill, another month, another WAYWO thread. As before, PM me / steam message me if you think I should include anything else in the OP! Highlights from the previous thread

Mors Quaedam 8 reading
3 Hours Ago
by Alig96 Go to last post
634 43,133
Lua scripting
 

solved FastDL problem This thread has images

Alright, here is the deal: When I try to add the FA:S 2 Alpha Rifles addon to my server via FastDL it just fails downloading everytime. I tried re-installing the server and stuff like that but still no success. The problem: ...

3 Hours Ago
by Daber Go to last post
8 56
Lua scripting
 

Job Models

does anyone know how to make it so these jobs are equal and choose a random model fro a list? say alpha had 199 players in (job) and bravo had 200 players in (also a job) when they joined the server they would be alpha, same other way around, and every...

3 Hours Ago
by GamingWinks Go to last post
6 68
Help
 

Players can become any VIP job when they aren't the rank to do it using the commands

Hey! I have an F4 Menu and for some reason players can actually...just do the command /jobname <---vip job and can become the VIP job and they don't see the VIP job under the VIP job tab in the F4 Menu. Is there any way I can fix this to make it so users...

3 Hours Ago
by Cyberuben Go to last post
20 255
Help
 

Where to put/how to use custom textures

I've looked all over the Wiki, and some YouTube videos with no luck on how to properly upload and use custom .mdl files for player models. My goal is to use a model of a rabbit for one team, and another model for the other. EDIT: I'm not sure if i'm...

4 Hours Ago
by AhellHound Go to last post
10 101
Help
 

DarkRP - DOORS

On a DarkRP server, is there a way to have a door automatically get owned by a certain job/group (eg. Cops, Mayor and Chief only, ect) upon server restart? Also, is there a way to permanently remove doors off of a map? Thanks, ~RogerThat

5 Hours Ago
by mib999 Go to last post
12 168
QUESTION
 

Dark RP Jobs Spawning with Armor?

I saw that this was made before for coding ( http://facepunch.com/showthread.php?t=1237404 ) but the coding that's being used on my server is different, so I was wondering if there's a way to do it with the way my server is coded? Example:...

DarkSpyro92 2 reading
5 Hours Ago
by DarkSpyro92 Go to last post
5 114
html
 

Need help with placing text on loading screen

How can I place overlapping text on a server image? So i made a loading screen, nothing special, just basic. What i need to do is place text in the fields on right and make it stretch like the image is stretching. If anyone could help me with the code,...

5 Hours Ago
by :0 Go to last post
2 81
Science
 

Playing with metatables

So recently I learned about the function http://wiki.garrysmod.com/page/Global/newproxy and I was trying to figure out what I could do with it. WELL I was looking through Lua documentation about how to work with userdata and I learned quite a bit!...

6 Hours Ago
by EvacX Go to last post
5 129
Help
 

Help!

Ok so i had m9k weapons pack and just now i switched to FAS Weapons. now i have all kinds of problems. For starters, the wepons pack works fine, however in the first column of weapons in the inventory it says "Print Name" about 10 times. it also has some...

6 Hours Ago
by Skate Go to last post
2 38
Help
 

solved Quick question: How do I color VTF/VMTs with surface.SetTexture?

So I'm trying to use surface.DrawTexturedRectRotated(x,y,wide,tall,degrees) and it's working, but I'm curious as to change the color without editing the actual texture. I know there is a way to do it, as the color tool in sandbox does just that (I would...

Leviticus777 1 reading
6 Hours Ago
by Leviticus777 Go to last post
2 52
Help
 

Zip Ties, untie with "E"

function SWEP:PrimaryAttack() if SERVER then local trace = self.Owner:GetEyeTrace( ) if trace.StartPos:Distance( trace.HitPos ) < TIE_DISTANCE and trace.Entity:IsPlayer() and not trace.Entity:IsTied() then...

7 Hours Ago
by AirBlack Go to last post
15 295
Lua scripting
 

Can you add Spawnable Vehicles to PointShop if so help plz...

Hi Guys, I'm an amateur lua coder and don't know very much, but I was wondering if it is possible to add spawnable vehicles into the pointshop. If so can someone paste a template for it that would be great.

8 Hours Ago
by KnightStorm99 Go to last post
0 60
Lua scripting
 

solved How do you modify userdata?

I was looking through the wiki, and I came across this function: http://wiki.garrysmod.com/page/Global/newproxy I tried playing around with it, setting its metatable, etc. However, I couldn't find a way to store any data or have any real use for a...

8 Hours Ago
by CallMePyro Go to last post
2 74
QUESTION
 

Two questions, about lua and ENT:RenderOverride()

Hi all, Ok so, i would like to ask you just 2 questions still about my gamemode developpement : - How can i replace the patern char " and ' with \" and \'. Yes i changed the whole chat management, but when you type " or ' you got Something is creating...

9 Hours Ago
by G4MB!T Go to last post
11 166
Lua scripting
 

solved EntityFireBullets Callback

Hi I'm trying to overwrite the callback function for EntityFireBullets hook ( http://wiki.garrysmod.com/page/GM/EntityFireBullets ) Here's what I'm trying: function GM:EntityFireBullets( ent, data ) PrintTable( data ) data.Callback =...

11 Hours Ago
by Newbrict Go to last post
1 26
Lua scripting
 

Particles and DModelPanels

Can I make the model in a DModelPanel have a Particle effect attached? Attaching the particle effect to DModelPanel.Entity just puts it on the invisible model that's being used to draw the DModelPanel, but it doesn't actually show up in the modelpanel....

12 Hours Ago
by G4MB!T Go to last post
5 100
Lua scripting
 

NextBot Coding and Discussion Thread ( 2 3 4 5 6 7 8 9 Last ) This thread has images

This thread will be for anything related to the new NextBot system, I'll keep the OP updated with useful information to help anyone who has questions or needs help. Update 160 added bindings to the nextbot system, which is what CSS, TF2 and L4D bots...

12 Hours Ago
by legendofrobbo Go to last post
355 27,668
Lua scripting
 

Setting Salary

I am trying to find the console commands to set someones salary to an amount. I don't know how to do it. If someone could help me that would be amazing! 25th July 2014 Need help ASAP! 25th July 2014 Bump!

14 Hours Ago
by crazyscouter Go to last post
10 98
Help
 

solved Player Tags Error

Trying to make player tags for certain ranks, I was using the example from the GMod Wiki as a base, doesn't work though. Error: lua/autorun/server/chattags.lua:9: bad argument #2 to 'sub' (number expected, got no value) 1. sub - :-1 2. fn -...

14 Hours Ago
by LUModder Go to last post
2 36
Release
 
Winner x 32

GMad - command line addon creator/extractor ( 2 3 4 5 6 7 8 9 Last ) This thread has images

Windows/Linux/OSX: These files are available in the bin folder of your Garry's Mod install. Source: https://github.com/garrynewman/gmad Usage:

garry 8 reading
14 Hours Ago
by Abaddon-ext4 Go to last post
352 79,644
Lua scripting
 

If a player is not moving

Hi, How can i "spam" a command that check if the player is idling, if yes tell everyone that the player is now AFK and after like 5mins ULX kick the player... I just need the code to check the if the player is idle the rest i can do it my self. ...

14 Hours Ago
by crazyscouter Go to last post
4 75
Help
 

Prone Addon?

I know there is one but its gone and nerver found again D: i suck at lua and all my friends will just yell at me because i can't ask them for help so maybe you guys can? All i want is a simple prone script, like this: No Amitions When in prone you...

14 Hours Ago
by jack10685 Go to last post
6 136
Help
 

disconnect sound help

Hello, I am trying to write a script when an admin types !disconnect it plays a sound. function disconnectsound(ply, text) if string.sub(text, 1, 9) == "!disconnect" then if ply:IsAdmin then for k, v in pairs(player.GetAll()) do...

15 Hours Ago
by DerfStew Go to last post
8 108
Help
 

Client crash issue

Hey guys, I recently opened a deathrun server but I got a little issue. When clients are finished with all downloads, their game crashes. This only happens to SOME people, not everyone. I got ahold of one of the users MDPMP crash file. Here it is ...

16 Hours Ago
by Acecool Go to last post
1 34
Help
 

solved Problem timer failed prophunt

Hello, I have a problem with my prophunt, look this picture : http://www.hostingpics.net/viewer.php?id=901058problemtimer.png Best Regards

17 Hours Ago
by warblack31 Go to last post
4 69
Help
 

error fretta vgui_gamenotice.lua:37

Hello, I have a error in prophunt fretta vgui_gamenotice.lua:37 And i have suicide killed top of left Best regards

17 Hours Ago
by warblack31 Go to last post
0 21
Lua scripting
 

Allow bullets to pass through ent but not players?

Hi I'm trying to figure out the best way to make bullets pass through a particular entity but not players. anyone familiar with this? Thanks. edit:

17 Hours Ago
by dingusnin Go to last post
11 165
Help
 

solved What's wrong with my function?

local function procSetUpdate(tab, update) for k,v in pairs(update) do if type(v) == "table" then MsgN("PROC TABLE ", k, v, tab) procSetUpdate(tab, v) continue end if v == Entity(0) then tab = nil MsgN("NILLIFY " .....

17 Hours Ago
by nazer1290 Go to last post
1 24