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,922
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,124
Help
 

solved [Not allowed by whitelist] Difficulty Uploading to the Workshop

Hi, I am attempting to upload a SWEP based on M9K to the Workshop, and I am met with a few of my files being listed as . E:\Steam\SteamApps\common\GarrysMod\bin>gmad.exe create -folder "C:\Users\Metasy nc\Desktop\workshop\uber_usp" -out...

Metasync 4 reading
22 Minutes Ago
by Metasync Go to last post
2 25
Request
 

Small Request

I was wondering how to turn this code into a specific time like every 5 minutes ~ 300 seconds with the minInterval being 90 seconds always if AMG.UseTimer then timer.Create( "StartMinigame", AMG.minInterval, 90, function() StartMinigame(...

Snowpaw 1 reading
22 Minutes Ago
by AnonTakesOver Go to last post
1 65
Tutorial
 

[TTT] Passive/Equip Items

Cause Code_GS said it wasnt possible without core gamemode editing in another thread and the OP locked it... I can't remember where I copied this code from but I've used it before and it works wonderfully. Enjoy EQUIP_TESTITEM = 256 -- Power of 2 ID,...

Exho 1 reading
43 Minutes Ago
by Acecool Go to last post
9 130
POST YOUR
 

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

1 Hour Ago
by coolcat99 Go to last post
860 19,172
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 2 reading
1 Hour Ago
by ph:lxyz Go to last post
3,331 174,050
Art
 

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
1 Hour Ago
by Spencer Sharkey Go to last post
540 36,229
Help
 

Disabling Fall damage when SWEP is in hands

I am making a SWEP that increases the players jump power when the left click and sets it back to normal when they right click. After doing this I wanted to disable fall damage when the SWEP is in the hands of the player. I have found this:...

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

2 Hours Ago
by Netheous Go to last post
63 1,647
Help
 

Error when trying to buy shipment?

Hello, as a gun dealer I cannot buy shipments, it gives me this error message: "you do not have the right job to use /buyshipment" Here is my shipments.lua AddCustomShipment("Glock", { model = "models/weapons/w_pist_glock18.mdl", entity =...

Tetris God 1 reading
2 Hours Ago
by Tetris God Go to last post
8 90
Request
 

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

3 Hours Ago
by Gamer12594 Go to last post
33 645
Help
 

Prewritten DarkRP Blacklisted Models

Hey! Title says it all.... Is there anyway I could possibly get a file/addon that has the unnecessary models blacklisted? Or do I have to go through and manually blacklist them all...

3 Hours Ago
by |Legion| Go to last post
4 73
Link
 
Winner x 70

CoderHire ( 2 3 4 5 .. 119 120 121 122 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
3 Hours Ago
by AnonTakesOver Go to last post
4,867 195,552
Help
 

solved Help with a func_door

Sorry if this is the wrong forum, but I've been having a little but of trouble trying to make a jump pad in the hammer editor. What I have works fine, it's just a func_door that moves up when a player stands on it causing them to fly up. However to...

3 Hours Ago
by arbio22 Go to last post
2 55
Lua scripting
 

solved My Command wont give player a weapon

Hey i have a code to where if you click a button it will give you a weapon/weapons but it will not give the weapon. There are no errors but it wont give the weapon!? Here is the code where the button is //Buttons local DermaButton =...

4 Hours Ago
by crazyscouter Go to last post
10 137
Help
 

GetNWString("usergroup") returns nothing

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

4 Hours Ago
by Lolcats Go to last post
11 194
QUESTION
 

solved Weird file found in downloads/data

I know this isn't really related to Lua but I found a file in my downloads/data folder called game.it. It is all encrypted except for the first line. Extended Module: Feeling Irresistible FastTracker v2.00 Anyone have any ideas how it would get...

5 Hours Ago
by SpiralP Go to last post
1 82
Lua scripting
 

Pointshop Accessory Issue

Recently my "Jump Pack" accessory suddenly stopped working. Here's the default code for the jumppack that I'm currently using: ITEM.Name = 'Jump Pack' ITEM.Price = 1000 ITEM.Model = 'models/xqm/jetengine.mdl' ITEM.Bone = 'ValveBiped.Bip01_Spine2'...

Sequax 1 reading
5 Hours Ago
by Sequax Go to last post
0 62
Help
 

Disable PropHunt PointShop trails for dead players

Anytime a player dies their trail stays with them and they are able to use it for ghosting purposes. Where and how would I holster items for players that die on PropHunt?

6 Hours Ago
by DannyCore Go to last post
2 95
Help
 

No Custom Reloading Sound with SWEP

Here is my code: if SERVER then AddCSLuaFile( "shared.lua" ) AddCSLuaFile( "RazorShared.lua" ) end SWEP.HoldType = "ar2"

7 Hours Ago
by COM.WILSON Go to last post
11 182
Lua scripting
 

solved Crash 30 seconds after running script

While making a HUD it started crashing shortly after loading the HUD and I have no clue on what in the code is make it crash function myhud() local client = LocalPlayer() if not client:Alive() then return end if (client:GetActiveWeapon() == NULL...

7 Hours Ago
by Rtyan Go to last post
21 215
Help
 

Attempt to call global 'LookupPlayerClass' (a nil value)

WARNING: This code will be very messy, please ignore. function GM:PlayerSpawn(ply) if ply:Team()==1 then player_manager.SetPlayerClass(ply, "player_combine_soldier") ply:SetWalkSpeed( LookupPlayerClass(ply).WalkSpeed ) ply:SetRunSpeed(...

8 Hours Ago
by RonanZer0 Go to last post
2 61
Help
 

Missing map.

I set up FastDL and it works just fine with everything, but first time i join a server without that map i get kicked because map is missing, and if i connect again without restarting game it will be fine. Is there any way to fix this? I have also tried...

8 Hours Ago
by Belly136 Go to last post
15 285
Help
 

solved Having an Error trying to Give Weapons!

Hey im trying to make a button on the derma menu to give player a certain weapon. There is an error saying its a nil value which im confused why :P But i may have over looked something, or thought twice about it. THE CODE //Buttons local...

9 Hours Ago
by Vizik Go to last post
4 94
Help
 

DarkRP Help Thread V1 ( 2 3 4 5 .. 35 36 37 38 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...

9 Hours Ago
by escenraL Go to last post
1,519 54,989
Lua scripting
 

Try to modify PointShop script

I have some errors like that: attempt to compare number with boolean. script: local level = PS.Config.CalculateLevelPrice(LocalPlayer(), self.Data) local curlevel = tonumber( LocalPlayer():GetNWInt( 'LVL' ) ) if not curlevel > level then...

9 Hours Ago
by gonzalolog Go to last post
2 63
Request
 

solved DarkRP Doors Not Locking Or Unlocking. Can you Help?

Inside DarkRP when you buy doors as any class you can't unlock or lock doors. However you can use the console commands to lock and unlock all doors server side. The animations are working. Any ideas? If you need any files ask me.

10 Hours Ago
by JackTheFlap Go to last post
2 59
Lua scripting
 

solved Expodential Functions and math.Clamp

I'm new to Lua coding in Garry's Mod and I am currently trying to create a Speed Bar for my BHOP HUD which uses Exponential Fucntions as I don't want it to reach the end of the bar as speed on BHOP is unlimited. How would I apply this method to achieve...

10 Hours Ago
by Loveasparagus Go to last post
4 126
Help
 

solved LUA error involving jobs

Hello, I've recently gotten this error and I can't seem to figure out the problem. addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:505: '}' expected (to close '{' at line 490) near 'premiumgundealer' 1. unknown -...

11 Hours Ago
by Tetris God Go to last post
5 67
QUESTION
 

solved Can't put a texture onto a derma button

Yes, I'm fully aware that I'm posting a lot in this section. Code for my team selection button (painting): team_2.Paint = function() surface.SetDrawColor( 255, 0, 0, 255 ) surface.DrawRect( 0, 0, team_2:GetWide(), team_2:GetTall() )...

11 Hours Ago
by Kogitsune Go to last post
2 71
Help
 

Gmod Chat in color

Quick question? Whats the command to add color to a message in chat (serverside - Gmod)

11 Hours Ago
by Mors Quaedam Go to last post
12 175
Help
 

solved Timers + ply = nope

Why are timers so uncooperative? timer.Simple( 1, function() player:EmitSound( "/npc/combine_soldier/vo/off2.wav", 100, 100) end) attempt to call method 'EmitSound' (a nil value)

12 Hours Ago
by arcaneex Go to last post
6 87
Help
 

DarkRP custom weapons errors

I installed custom weapon pack on my server. I put the folder in addon and the weapon_blabla folders in the weapon folder in darkrpmod. I spawn them using Q to test. But when I shoot I hear no sound and I get this error in console: ...

12 Hours Ago
by okkeh96 Go to last post
4 62
Request
 

Pointshop help?

Been trying to work on this code to get it a certain way for Pointshop. It's a traitor/detective buy, I've been trying to add a cooldown for 10 rounds, also something that will autoholster it, and not allow the player to reholster until the 10 rounds are...

12 Hours Ago
by cbpunchy Go to last post
11 269
Help
 

Easy steam group join with !join addon

Can somebody please link me to the addon where people only have to say "!join" in your server to join the steam group? i've been looking all over for it i can't seem to find it anywhere

12 Hours Ago
by crazyscouter Go to last post
9 141
QUESTION
 

solved Playing a sound from a player

I tried surface.PlaySound using a chatcommand thingy (in init.lua), but apparently surface is only for clients. Basically I want to play a sound coming right out of the player. How? Hopefully this is simple. (I did it when I first started Lua, but now I'm...

13 Hours Ago
by Exho Go to last post
1 49
QUESTION
 

solved Making text only appear to players in a certain radius

How do I make text appear to players only in a certain radius, similar to RP gamemodes?

13 Hours Ago
by Internet1001 Go to last post
1 61
Help
 

Addon Errors

I am trying to make a SWEP that adjusts the players jump height. When using the SWEP I get the errors posted at the bottom of this thread. This is my code in my shared.lua: //This makes sure clients download the file AddCSLuaFile() -- No arguments...

14 Hours Ago
by Praesdynamite Go to last post
2 44
Help
 

Forced name change

Hey, I'm looking for a way to change a player's Nickname but I can't find out how. I've tried stuff like LocalPlayer():Name == "blabla" but thats clearly not right. All help greatly appreciated :)

15 Hours Ago
by jrt232 Go to last post
4 86
Stupid
 

Uploading my first addon

I am trying to upload my first addon. I have already uploaded it but when I start up a single player game it says "Addon Gravity Minimizer Is Creating Script Errors." I have looked all over the internet for a detailed a thorough way to make a SWEP and...

15 Hours Ago
by Praesdynamite Go to last post
11 285
Request
 

Background image for chatbox?

Hello all! I was wondering if there was any way to change the chatbox so that the background of it would be an image. Basically what I'm asking is "is there a way to remove the defult chatbox and simply keep the text aspect of it, but replace the...

15 Hours Ago
by Nookyava Go to last post
8 185