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,955
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,158
Lua scripting
 

Coderhire Addon Cloning Thread

The sole purpose is to find fairly easy/5 minute scripts that people are selling on Coderhire and recreate them for free distribution. I figure I might as well say this because at least one person will try it, NO copying the Coderhire addon's code and...

Exho 12 reading
1 Minute Ago
by bluebull107 Go to last post
16 187
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...

sm69baller 2 reading
19 Minutes Ago
by PaellaPablo Go to last post
884 19,948
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! ...

Allusona 2 reading
40 Minutes Ago
by CallMePyro Go to last post
3 129
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 7 reading
49 Minutes Ago
by WalkingZombie Go to last post
38 1,459
Help
 

solved Getting the class of a TTT weapon?

Trying to get the class of a weapon in TTT (vanilla weapons) and it only returns "player" when using dmginfo:GetInflictor():GetClass() But whenever I get hit by a crowbar it shows weapon_zm_improvised and when I checked weapon_zm_improvised.lua I...

1 Hour Ago
by serfma Go to last post
2 70
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 3 reading
1 Hour Ago
by CallMePyro Go to last post
59 922
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 2 reading
1 Hour Ago
by RonanZer0 Go to last post
7 225
Help
 

PointShop: Playermodel Unequip Problem

Hey, I got a problem with PointShop. My server runs the gamemode TTT. Everything is working fine for now except one thing; If I equip a playermodel and leave my server.. and join back in it won't let me unequip it until 1-2 rounds have been...

Legendx 7 reading
1 Hour Ago
by Legendx Go to last post
2 37
QUESTION
 

How To Change User

How would I make it so that whenever anyone joins my server, they become superadmin instead of user?

bluebull107 2 reading
1 Hour Ago
by bluebull107 Go to last post
9 106
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 selfdestruk1 Go to last post
3,358 175,861
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 ...

2 Hours Ago
by selfdestruk1 Go to last post
2 106
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...

2 Hours Ago
by selfdestruk1 Go to last post
8 183
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...

2 Hours Ago
by Acecool Go to last post
9 150
Help
 

help with DTextEntry

Im trying to make a panel that stores a name using DTextEntry but it won't let me type is there a way to disable player movement as well as make it so player doesn't spawn till the name is entered?

xESWxDEATH 1 reading
2 Hours Ago
by selfdestruk1 Go to last post
4 73
Link
 
Winner x 70

CoderHire ( 2 3 4 5 .. 121 122 123 124 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 2 reading
2 Hours Ago
by gonzalolog Go to last post
4,932 197,930
Help
 

solved TTT Special Equipment Bitflags - What's the highest?

Currently, I'm modding a weapons pack for TTT, which will add, a maximum of, 16 store items. So that it won't (or has a less chance of) interfering with other mods, I put a 10-ID buffer between the four that exist in-game and the custom ones I'm working...

3 Hours Ago
by HumbleTH Go to last post
4 98
Help
 

Help with NPCs Health

Hello, gentleman, ladies or whathever else you are. I'm new to lua coding and I have a very tiny problem. My NPCs lua file defines that my NPC's health is 100, but they die with 1 shot. Here's the code: local Category = "Elite" local NPC =...

4 Hours Ago
by Drealengo Go to last post
2 50
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" ...

5 Hours Ago
by YourStalker Go to last post
9 172
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...

5 Hours Ago
by stapler2025 Go to last post
10 206
Art
 

solved 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: ...

5 Hours Ago
by Shenesis Go to last post
2 141
Help
 

DarkRP Class Errors

Alright so I was making custom classes, and I am getting this error: addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:81: '} ' expected (to close '{' at line 67) near 'PlayerLoadout' 1. unknown -...

6 Hours Ago
by RickyBGamez Go to last post
7 74
Help
7 Hours Ago
by Ethan1232 Go to last post
0 46
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...

7 Hours Ago
by HumbleTH Go to last post
3 108
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...

7 Hours Ago
by bluebull107 Go to last post
1,523 55,180
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 3 reading
7 Hours Ago
by predator cz Go to last post
357 87,360
Help
 

solved Workshop Addon Error

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

7 Hours Ago
by bluebull107 Go to last post
12 95
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...

AhellHound 1 reading
9 Hours Ago
by AhellHound Go to last post
15 280
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 ...

11 Hours Ago
by extra.game Go to last post
5 110
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(...

14 Hours Ago
by Ilyaaa Go to last post
3 81
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...

16 Hours Ago
by Steeze Go to last post
4 115
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...

1 Day Ago
by Exho Go to last post
4 143
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...

1 Day Ago
by Vizik Go to last post
10 160
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...

1 Day Ago
by Vizik Go to last post
10 115
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

1 Day Ago
by Mors Quaedam Go to last post
547 37,628
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...

1 Day Ago
by Project G Go to last post
2 94
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. ...

1 Day Ago
by Praesdynamite Go to last post
2 87
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")

1 Day Ago
by CallMePyro Go to last post
5 182
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...

1 Day Ago
by gonzalolog Go to last post
1 82
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
1 Day Ago
by Bo98 Go to last post
17 376
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...

1 Day Ago
by kpjVideo Go to last post
1 154