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

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. https://scriptfodder.com/

3rd September 2014
by NiandraLades Go to last post
2 8,771
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,645
Release
 
Winner x 49

Next Update ( 2 3 4 5 .. 95 96 97 98 Last ) This thread has images

Current to-do list 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...

_Kilburn 4 reading
1 Minute Ago
by DarthTealc Go to last post
3,911 217,950
POST YOUR
 

Problems That Don't Need Their Own Thread v2.0 ( 2 3 4 5 .. 43 44 45 46 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 3 reading
7 Minutes Ago
by Giraffen93 Go to last post
1,827 42,170
Help
 

DarkRP Help Thread V1 ( 2 3 4 5 .. 37 38 39 40 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
44 Minutes Ago
by FPtje Go to last post
1,562 58,375
Release
 
Dumb x 51

ScriptFodder ( 2 3 4 5 .. 21 22 23 24 Last ) This thread has images

ScriptFodder is a script marketplace and job listings site for Garry's Mod. https://scriptfodder.com http://i.imgur.com/RbqLlcq.pnghttps://dl.dropboxusercontent.com/u/3659637/Screenshot_2014-09-25-23-23-21.png Any issues email to...

Handsome Matt 5 reading
58 Minutes Ago
by BoowmanTech Go to last post
937 37,840
Help
 

Pointshop Extras Erroring.

I installed the Pointshop extras, ran a FastDL Sync, restarted server etc, everytime I join the server I redownload the models etc. In the pointshop they are showing as errors and in the console it says: HTTP ERROR downloading...

Brendon 2 reading
1 Hour Ago
by Brendon Go to last post
2 30
Stupid
 

Converting SWEPS - Scope Issues This thread has images

Hello. I'm fairly new to editing weapons beyond the SWEP. config part. The issue I'm having is when converting particular SWEPS (m9k specifically). The weapon has a scope/special sight (red dot, eotech, etc.) in sandbox, but when I convert the weapon...

Gengarism 3 reading
1 Hour Ago
by Gengarism Go to last post
2 63
QUESTION
 

Vehicle Questions

I'm getting into creating vehicles, I have a few questions about them. 1. Would I have to make a new vehicle script to position the seat? 2. How would I add submodels without having to make a completely model (just for decoration purposes)

1 Hour Ago
by Robotboy655 Go to last post
1 51
Lua scripting
 

Quick help with function

Hello! I need help with this button function... local Clicker = vgui.Create("DButton", hello) Clicker:SetText("I always wanted to be a cop! :D") Clicker:SetSize(200, 35) Clicker:SetPos(230,200) Clicker:SetConsoleCommand("say",...

1 Hour Ago
by HumulusLupulu Go to last post
7 98
YouTUBE
 

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

PM me if anything else needs to be added, as always. Highlights from the previous thread

Mors Quaedam 8 reading
2 Hours Ago
by ROFLBURGER Go to last post
584 40,894
Shitpost
 

My server is spamming random errors

Everything on here was not tampered with, i just restarted my server because it was laggy and everything just stopped working. These are the errors: addons/rx3_darkrp_f4menu/lua/autorun/client/rx2f4_main.lua:140: attempt to concatenate a nil value ...

2 Hours Ago
by Exploderguy Go to last post
12 322
Help
 

Show menu / context menu

Hi people , I'm working on a DarkRP server , and i wan't to remove the "Show menu" and "Show context menu" for the players because i want to intruduce a destructible props on the F4 menu, but i want to allow this only for the supers admin . It's...

2 Hours Ago
by Exploderguy Go to last post
1 123
games
 

[DarkRP]: printing the players balance on loading screen

Hello i have been making a loading screen and its is almost to my liking, i would like to print "Your Balance:" in it but i have not found a way of doing so. if you would like to view what i have, it is here. it has been entered but doesn't give a value...

3 Hours Ago
by smithy285 Go to last post
12 171
Help
 

solved Stopping a function from running.

Is there a away to stop a function from running? I have a function and at the top of that function there is a function running to check different conditions. If all those conditions meet, the function wont run. Is there anyway of doing this? Cause I don't...

3 Hours Ago
by OMGOMG132 Go to last post
2 61
Help
 

HUD Text size too big for box?

This vs This draw.DrawText(""..LocalPlayer():getDarkRPVar("job")or 0, "PropFont1", ScrW()-ScrW()+326, ScrH()-125, Color(255,255,255,255), TEXT_ALIGN_RIGHT, TEXT_ALIGN_RIGHT) Also if you can make my profile picture actaully fix the box when...

4 Hours Ago
by Fabulus Go to last post
0 54
Lua scripting
 

Hl2rp optimization

Gents, I am having issues sorting out a high CPU issue with my hl2rp server. I run a 40 slot nco server which in the past has done me well. I need help optimizing my server since I have a small amount of experience myself, and a coder who cannot find...

5 Hours Ago
by Blackfire76 Go to last post
4 107
Lua scripting
5 Hours Ago
by Syntax_Error752 Go to last post
3 82
Help
 

Error help

So I'm on darkrp and i just started to get this error addons/thepurge/lua/autorun/thepurge.lua:63: bad argument #1 to 'WriteFl oat' (number expected, got nil) 1. WriteFloat - :-1 2. fn - addons/thepurge/lua/autorun/thepurge.lua:63 3....

9 Hours Ago
by Acecool Go to last post
5 98
Help
 

solved Lua script errors for TTT

So recently I started getting a bunch of errors like these on my TTT server Lua Error: Couldn't find 'weapons/weapon_zm_pistol/shared.lua I know this has been a problem in the past with TTT, and the fix was to update or reinstall TTT. This fix...

9 Hours Ago
by covey88 Go to last post
10 185
Help
 

hook

so I tried to make a hook for making a job run faster and i can seem to figure out whats wrong with it hook.Add("OnPlayerChangedTeam", "setrunspeed", function( ply, oldteam, newteam) if newteam == TEAM_PET then ply:SetRunSpeed(150) else...

Jvesche 1 reading
10 Hours Ago
by Jvesche Go to last post
0 54
Lua scripting
 

"cannot resume dead coroutine"

i'm having problems with a simple sound entity i'm trying to make. function ENT:RunBehaviour() -- give me some new sequences, vary it up until i get communication working local done = nil local sequence = nil while(true) do if(done ~= true) then...

10 Hours Ago
by Luni Go to last post
4 116
Help
 

Help me with this error?

So here is the error: gamemodes/sandbox/entities/entities/health.lua:42: ')' expected near '=' 1. unknown - gamemodes/sandbox/entities/entities/health.lua:0 And here is line 42. Fuck it here's all of it: function ENT:Use( ply )

10 Hours Ago
by Mr.Mezzy Go to last post
8 112
QUESTION
 

Mixamo Fuse -> GMOD Download Option WIP Test characters

Hello all, I'm one of the developers of the character creator, Mixamo Fuse. I'm not posting to pitch the software, just looking to get some feedback. I'm working on an automated system so people can download a pre-compiled Garry's mod ragdoll. We may...

10 Hours Ago
by badtertle Go to last post
7 179
Help
 

How do I carry all the ranks from my old server to my new server?

Because all my ulx ranks are there from my old server, and then when I add them to my new server they're not there. Any help? Thanks.

10 Hours Ago
by Acecool Go to last post
5 163
Shitpost
 

ULX - Ban Bug

Whenever i ban someone it says You have banned (Console) for 1440 minutes

11 Hours Ago
by Exploderguy Go to last post
4 163
Lua scripting
 
Winner x 31

Coderhire Addon Cloning Thread ( 2 3 4 5 .. 7 8 9 10 Last ) This thread has images

Edit 9/14: With the demise of Coderhire and the appearance of a couple clones, I would like this thread to still be focused on recreating paid addons not limited to Coderhire. Gracias The sole purpose is to find fairly easy/5 minute scripts that people...

11 Hours Ago
by Tomelyr Go to last post
362 17,064
Lua scripting
 

Portal Gun PVS Problem

I'll start with some video first. Mouse over the annotations in the top right. If you moused over the annotations, it tells you that the little video monitor in the top right is a 2D render of the ORANGE portal, minus the oval shaped stencil. When...

12 Hours Ago
by bobbleheadbob Go to last post
0 90
cpp
 

RunConsoleCommand Bypass? This thread has images

Yo yo, is there any way i can do a run console command that is blocked? for example crosshair bind ? thx yo yo

kittix 1 reading
12 Hours Ago
by Willox Go to last post
19 682
Help
 

solved CreateClientConVar not registering on dedicated server, but works on local single player server

So i have this add-on that i added to my add ons folder, and to call the add ons you type in a console command, (ah_snake). When i hit "start new game" and the go into a single player game, i open up the console and the command is there. However, when i...

12 Hours Ago
by mattk0628 Go to last post
4 148
Help
 

Players Not Being Moved to Spectator

I'm trying to get these functions to work: function GM:PlayerInitialSpawn(target_ply) target_ply:SetTeam( TEAM_GUARD_DEAD ) target_ply:SetTeam( TEAM_PRISONER_DEAD ) GAMEMODE:PlayerSpawnAsSpectator( player) end Players still spawn in the...

13 Hours Ago
by Exploderguy Go to last post
2 127
Help
 

Blinded Prophunt Screen Question

Ok so here is the code for the blinding process of the Hunters in PropHunt, and the HUD for props letting them know when the Hunters are unblinded surface.CreateFont( "HideFont", { font = "Helvetica", size = 256, weight = 1000, antialias =...

13 Hours Ago
by mattk0628 Go to last post
0 56
QUESTION
 

Tips/Resources for an aspiring lua coder?

I've always wanted to try coding something for gmod, and I've gotten okay at coding in some other languages(java and python). So I'm asking for any pointers on where to get started, what Lua tutorials worked best for you guys and what other resources were...

13 Hours Ago
by Exploderguy Go to last post
8 217
Help
 

on playerinitialspawn i want to make the player a spectator

so on playerinitial spawn i want the player to be a spectator in a fixed pos hook.Add("PlayerInitialSpawn", "startscreen", function(ply, vector) ply:Spectate(OBS_MODE_FIXED) ply:Lock() end) not sure what to do now

14 Hours Ago
by Acecool Go to last post
10 180
Help
 

Laws of the land board problem

When the mayor spawns the law board and trys to add laws, it dones't appear. But when a superadmin spaws the board through q menu -entities-darkrp-board, the laws show on that board, how can i change that? Also the board that the mayor spawns is the laws...

15 Hours Ago
by carlossc Go to last post
1 87
games
 

Prop hunt with current prop static?

Hello, In the fretta based prop hunt the prop position follow your view angle. How can I change to let the prop static in my screen? For example: If I'm a sign. I want to be able to see all sides of the sign while moving my mouse.

15 Hours Ago
by Nicksf13 Go to last post
0 34
Help
 

Help with Multi-Color Money printer

Hi I'm new to lua could someone help me add this color code to Koolaidmini's Custom Printers, so the printer color changes from one to another. timer.Create("PrinterChangeColour", 0.1, 0, function() self:SetColor(Color(math.random(0,255),...

16 Hours Ago
by hchips Go to last post
0 60
QUESTION
 

solved What's the best way to make an Entity do the same animations as the NPC/Player it's parented to? This thread has images

Basically just an Entity that performs the same sequence/actions/ecc the NPC does. I tried creating a base_aibased entity and setting its sequence and respective info the same as its parent but it didn't work out the way I wanted it to. What's the best...

17 Hours Ago
by Wolfo Go to last post
4 109
Lua scripting
 

Adding variables to player entity

is there a way to add variables to the player entity? I've tried something like this : local meta = FindMetaTable( "Player" ) local flags = {} function meta:GetFlag(_var, _valdefault, _local) if !self:IsValid() then return end if...

17 Hours Ago
by Acecool Go to last post
12 205
QUESTION
 

How to reset the Toolgun screen to black?

Hi forum, I recently took a look at Garry's code in github, and what I see there was that I can make: function TOOL:DrawToolScreen(w, h) --- call some stuff from the surface library in here surface.DrawCircle( w / 2, h / 2, (w / 2 + h / 2)...

17 Hours Ago
by Acecool Go to last post
10 138
QUESTION
 

mysql tutorial?

Any good MySQL Tutorials?

18 Hours Ago
by Acecool Go to last post
4 105
Help
 

Ram vs. CPU for Dedicated

Alright so my community currently has a server with 32 gb, 6cores/6threads, 3.1GHz+/3.5 GHZ burst. We are going to be moving to a new dedicated due to having issues with the location of our server and our player base. Currently our server is in...

19 Hours Ago
by frietje2008 Go to last post
8 277