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

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,953
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 8,155
POST YOUR
 

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

3 Minutes Ago
by Icejjfish Go to last post
881 19,864
Help
 

DarkRP Help Thread V1 ( 2 3 4 5 .. 36 37 38 39 Last ) This thread has images

Hello Everybody and Welcome to the DarkRP Help thread. This forum covers everything related to DarkRP. This is the list of things that you can help others or get help from. 1. Lua=this includes HUD'S, lua errors, and lua code. 2. Jobs=generally...

nickster50 2 reading
3 Minutes Ago
by bluebull107 Go to last post
1,523 55,147
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 4 reading
5 Minutes Ago
by predator cz Go to last post
357 87,265
Help
 

solved Workshop Addon Error

Does anyone know why my servers are returning "Unknown command "resource.AddWorkshop"? They worked fine before!

bluebull107 4 reading
9 Minutes Ago
by bluebull107 Go to last post
12 82
NSFW
 

GMod - What are you working on? September 2014 (#37) This thread has images

Time for another thread. Highlights from the previous thread

Mors Quaedam 9 reading
24 Minutes Ago
by LUModder Go to last post
34 1,131
Help
 

Custom Murder Gamemode?

I run a couple murder servers in Gmod, and I'm toying with the idea of modifying the gamemode a bit. If anybody could help me out a bit I would be very appreciative. I would like to be able to modify the weapon/s that the murderer would spawn with. For...

Cyber Hamlet 4 reading
47 Minutes Ago
by Tomvdr Go to last post
2 87
Link
 
Winner x 70

CoderHire ( 2 3 4 5 .. 120 121 122 123 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 6 reading
1 Hour Ago
by alexanderk Go to last post
4,918 197,591
Help
 

[DarkRP 2.5] Entities (weapons) are automatically picked up when near them

Using DarkRP 2.5, I have an issue where guns and medkits are picked up when you're near them. If possible, I would prefer people need to press "e" on them. I found an old code, but it didn't work/I wasn't sure where to post it. Here's a sample of one...

1 Hour Ago
by Qazwwx Go to last post
9 188
QUESTION
 

What is the feeling about an alternative to CoderHire ? ( 2 Last )

Hi, ive been thinking about creating an alternative to CoderHire for a number of reasons: 1. Make it cheaper to be a developer(altough its not to expensive) 2. Be less of an asshole of an owner 3. Make it so its possible to pay with bitcoin if the...

sfg98 6 reading
1 Hour Ago
by King Penisless Go to last post
52 779
Lua scripting
 

Problems with table iteration

I'm trying to iterate through a table that contains a player's exp. Using the function below, I'd like it to find the level for the player, then set it. Function: function GetExpLevel(ply) plyExp = ply:getDarkRPVar("exp") --iterates through...

2 Hours Ago
by AhellHound Go to last post
15 269
Lua scripting
 

Is an NPC possessor even possible?

We've seen pills. We've seen SNPC posessors... But what we've NEVER seen, is something that can control vanilla NPCs. (Dropships, Combine Soldiers, Alyx, Barney, Gunships, Manhacks etc.) Is this even POSSIBLE? I see this comprehensible (for me, at...

RonanZer0 1 reading
2 Hours Ago
by RonanZer0 Go to last post
5 185
Release
 
Winner x 47

Next Update ( 2 3 4 5 .. 81 82 83 84 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
2 Hours Ago
by gonzalolog Go to last post
3,357 175,718
Lua scripting
 

Code error?

Hello I'm having an error with a script due to the sv_config and config not being included addons/skilltree/lua/vgui/skillpane.lua:217: attempt to index field 'Config' (a nil value) 1. CheckCol - addons/skilltree/lua/vgui/skillpane.lua:217 ...

4 Hours Ago
by extra.game Go to last post
5 103
Art
 

Jigglebones in viewmodel hands This thread has images

I have made custom viewmodel hands for my playermodel, but I wasn't satisfied with the cloth around the arms not moving so I decided to add the same jigglebones as the playermodel (which work fine on that), but I got strange results for the hands: ...

4 Hours Ago
by Shenesis Go to last post
0 86
Help
 

Change DImage to show avatar

Short question. How can I change the code below to show a 64x64 avatar instead of the texture? if !DermaShown then PlayerIcon = vgui.Create( "DImage" ) PlayerIcon:SetSize( 64, 64 ) PlayerIcon:SetPos(5, 5) PlayerIcon:SetModel(...

6 Hours Ago
by Ilyaaa Go to last post
3 74
Help
 

solved [HELP] Is there a way to get a players forward velocity. (No matter what the angle)

Hi Guys. Im looking for a way to get the Local Players forward velocity returned as one number instead of a vector. ( So the box in the video will only move up and down ) Is this possible? I had a play with this code below and the video below was the...

9 Hours Ago
by Steeze Go to last post
4 108
Help
 

Floating Weapons When Dropped This thread has images

So this is what happens, when I drop a weapon on the server it physically drops, but when someone else on the server drops it, it just floats in mid air. This is the code from one of my weapons: AddCSLuaFile() SWEP.HoldType = "ar2" ...

12 Hours Ago
by Nak Go to last post
9 142
Lua scripting
 

Lua Problem

so I want to save the the output of what ever a player says after /report in a variable. I can easly return it like this function ISaid( ply, text, public ) if (string.sub(text, 1, 7) == "/report") then--if the first 4 letters are /all continue ...

12 Hours Ago
by code_gs Go to last post
1 85
Lua scripting
 

T Weapon Help

We are having an issue with a T weapon we are making. We are trying to get a grenade to spawn on PlayerDeath but the grenade itself is not spawning and we also want to know how to launch said grenade when you die. We have the entity made already but...

16 Hours Ago
by Exho Go to last post
4 138
QUESTION
 

solved Player Kills Player.......

Hey sorry for constantly posting for help, but i think thats the best way to learn is from other coders. Anyway. Im wanting to make a system where if a person kills someone then you can change things like there speed, jumpheight, give more ammo, ect. Ive...

17 Hours Ago
by Vizik Go to last post
10 156
Lua scripting
 

solved ERROR While trying to make a HUD.

Hey, ive been making a HUD for ammo and it works :) ( thankfully ) Though in my gamemode you dont have a weapon as soon as you spawn. So using what i know i did this if ply:GetActiveWeapon() > 1 then function --blah blah blah end end That...

18 Hours Ago
by Vizik Go to last post
10 112
Art
 

solved GMod - What are you working on? August 2014 (#36) ( 2 3 4 5 .. 11 12 13 14 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 1 reading
19 Hours Ago
by Mors Quaedam Go to last post
547 37,599
Help
 

Mayor's Aid Class (DarkRP)

Hey guys! I would like to know if it's possible to make it so a class is used only when there is a mayor. For example, if a Mayor is elected, the police now have the ability to be a "Mayor's Aid" class. If there is no mayor it relays back an error message...

19 Hours Ago
by Project G Go to last post
2 91
Help
 

How to edit round timer?

I have my gmod server with a server round timer. The timer: http://pastebin.com/BY9RxUuf When I want to change the name of the round timer and then change the codes associated with the timer, all I get are errors. Why, and how do I fix this? I need round...

20 Hours Ago
by TechnoHelix Go to last post
8 144
Help
 

Need Help With Making A Chat Command!

I need to make a command similar to RTV. I need the chat command to be !cleanup, and after a certain portion of the players on the server vote for it the server will cleanup. If someone could please show me how to do this that would be great! ...

20 Hours Ago
by Author. Go to last post
1 99
Lua scripting
 

ULX Groups And Targetting

For some reason some groups are able to target groups that are higher up than that group, and I can't figure out why. For example, VIP can target operator, owner, superadmin etc. Here's the file from the ulib folder inside the data folder. ...

21 Hours Ago
by Praesdynamite Go to last post
2 80
Help
 

Valid Entity because NULL Entity from server to client ( net message )

Hi all, So I have this net message(server): local emeta = FindMetaTable("Entity") function emeta:updateDoor() local data = doorData or {} print(self) net.Start("SIMSRP_DoorUpdate")

21 Hours Ago
by CallMePyro Go to last post
5 181
Lua scripting
 

DImage Collisions

Hi there, I wondering if someone can help me out with some DImage collisions. I have 2 DImages and one is in the MoveTo function. If the 2 images touch each other i need something to happen. I have tried getting the position of both images and writing...

21 Hours Ago
by gonzalolog Go to last post
1 77
Help
 

GetNWString("usergroup") returns nothing This thread has images

Hello, Am running a darkrp server where am using ulx and fadmin both, I have recently noticed that for some players, their Networked string "usergroup" contains nothing I have also tried to set it manually in the server console but when I print it I got...

Bnadm 1 reading
21 Hours Ago
by Bo98 Go to last post
17 372
Help
 

YouTube Player Auto Updating?

Hello, I've tried converting this entity from the Elevator:Source gamemode so that people can press E on the entity to change the URL. For some reason once the URL is entered (YouTube video.), the video is played for a second or so but returns back to the...

23 Hours Ago
by kpjVideo Go to last post
1 152
Lua scripting
 

TTT Server Start Weapons

How would I make it so that at the beginning of every round, superadmins or some other group can spawn with a physgun?

23 Hours Ago
by jackwilsdon Go to last post
5 107
Help
 

Need some help on drag & drop functionality

I'm adding some drag & drop functionality to the pointshop and it seems as soon as you release the mouse after dragging a drag-n-drop item the mouse cursor disappears. I've tracked it to:...

1 Day Ago
by highwon Go to last post
3 141
QUESTION
 

how to change spawn position??? This thread has images

sorry im noob but how to change spawn position on a map? lets say grassflat, how do i get the cords for spawn for example?

iTeehee 1 reading
1 Day Ago
by Allusona Go to last post
10 2,988
Help
 

solved Drawing with cam.Start3D This thread has images

I want to draw a roundedbox in 3D space, this code works fine hook.Add( "PostDrawEffects", "OnPaint", function() local pos = LocalPlayer():GetPos() local ang = LocalPlayer():GetAngles() cam.Start3D(pos + ang:Forward() * 32 + ang:Up() * 8,...

1 Day Ago
by OMGOMG132 Go to last post
3 93
Lua scripting
 

Jobs.lua - Need help, please!

Hey guys, sorry about this, I have read so many threads with this error but with a different error in the code... I believe it's a tiny tiny Syntax error some where in the code - I only know Python, need to learn LUA! Therefore I can't spot what's...

1 Day Ago
by code_gs Go to last post
13 281
Help
 

M9k shotgun not working

alright so i'm making custom sweps and all on the m9k base and i'm trying to make this here shotgun and it's not working quite right. it simply does not reload. you press r, it just sits there. you try and fire while it's empty, it plays the click...

1 Day Ago
by Praesdynamite Go to last post
2 95
QUESTION
 

Customizing my tab/f4 menu

So for about a week now I have been looking all over Google for a way to customize my f4 and/or tab menu so they're unique in a way. I have a pretty basic understanding of lua and would absolutely love to learn how to do this.. Any help?

1 Day Ago
by Praesdynamite Go to last post
2 112
Lua scripting
 

Post Your: First Lua Project ( 2 Last ) This thread has images

Everyone has to start somewhere, some people (including me) start with hacks, other people start with derma while others start with simple gamemodes.. Regardless of how you started, this it a thread where you can post your ridiculously crappy first...

1 Day Ago
by Exho Go to last post
66 1,959
Lua scripting
 

End Round Points help

I need some help with this little script I made. It halfway works. It gives the 50 points for winning the round and the 5 points for killing someone but not the 10 points for people who are dead. Here is the code: if (SERVER) then...

1 Day Ago
by Aeternal Go to last post
4 90
Help
 

Customize chat box !

Ok so, I'm back on, I'm now making some better display for my gamemode, and I have questions about how the chat work. I know it's C++, but due to the fact Garry has not gave any C++ code for his chat box, I need your help. Can I use PlayerBindPress...

1 Day Ago
by Acecool Go to last post
4 123