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

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/

2 Weeks Ago
by NiandraLades Go to last post
2 8,422
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,367
Help
 

[B]Last Prop Standing script[/B]

I'm looking for a code for prop hunt that gives the last prop a weapon. I've tried creating my own but nothing works. I've only seen a few servers that had this feature, so finding a code is next to impossible. Here is a code that might be helpful,...

covey88 3 reading
4 Minutes Ago
by Blasteh Go to last post
8 191
QUESTION
 

Get an entity's weapon class?

When weapon entities are on the world they are called spawned_entity. I wanted to get the weapon's entity name. For example, I used print( LocalPlayer():GetEyeTrace().Entity:GetClass() ) thinking I'd get something like weapon_crossbow, instead it's...

Winter 2 reading
1 Hour Ago
by ShadowRanger Go to last post
3 77
Help
 

Give ranked players weapon on spawn (TTT) ( 2 Last )

Hi all! Yes im a LUA noob, but im trying to learn. The idea is to give ranked players a weapon on spawn each round. Like a bonus for the regular playes. this is what I've made so far, but i keep getting the error: Lua 4: function arguments...

zapha 1 reading
1 Hour Ago
by Tomelyr Go to last post
47 4,783
Release
 
Winner x 47

Next Update ( 2 3 4 5 .. 88 89 90 91 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 7 reading
1 Hour Ago
by Bo98 Go to last post
3,626 191,418
NSFW
 

GMod - What are you working on? September 2014 (#37) ( 2 3 4 5 .. 8 9 10 11 Last ) This thread has images

Time for another thread. Highlights from the previous thread

Mors Quaedam 8 reading
1 Hour Ago
by MDave Go to last post
433 27,958
POST YOUR
 

Problems That Don't Need Their Own Thread v2.0 ( 2 3 4 5 .. 28 29 30 31 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 1 reading
2 Hours Ago
by scottd564 Go to last post
1,230 27,829
Release
 
Winner x 26

ScriptFodder ( 2 3 4 5 6 7 8 9 Last ) This thread has images

ScriptFodder is a script marketplace and job listings site for Garry's Mod. https://scriptfodder.com A few screenshots of the site (runs great on mobile etc..):...

Handsome Matt 2 reading
2 Hours Ago
by Handsome Matt Go to last post
348 12,466
Help
 

Automatic Restart on Crash (i.e.

Currently I'm running Garry's Mod (for a TTT server) within GNU screen, so I can easily reattach to get access to the game console. (Running on a Debian box.) I have a shell script that boots the server with the required arguments, launching a new screen...

4 Hours Ago
by mib999 Go to last post
3 115
Lua scripting
 
Winner x 28

Coderhire Addon Cloning Thread ( 2 3 4 5 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...

Exho 3 reading
6 Hours Ago
by CallMePyro Go to last post
184 6,841
QUESTION
 

sql.Query do not want to make another SQL table

Info http://wiki.garrysmod.com/page/sql/Query Hello, every1 When I use my dynamic SQL Query generator library, I get the following output. SQLCreateTable: Table PIECES Dropped ! SQLCreateTable: Indexed Table PIECES Created ! SQLCreateTable:...

8 Hours Ago
by dvd_video Go to last post
4 181
QUESTION
 

Checking if a spot is free

I want to check if the spot is free (SetPos) and if it's not then use a different one. I looked it up and I can't find anything to check if an entity is already in spot.

9 Hours Ago
by Disseminate Go to last post
3 134
Lua scripting
 

Disabling Advanced Duplicator 2 Uploads

Players have been able to upload stuff like e2 and weapons to my server and then spawn them in and I want to know how to disable uploading of files to my sever's advanced duplicator 2 tool. I found some info but its all on Advanced Duplicator 1.

9 Hours Ago
by Ott Go to last post
3 127
Help
 

Fixing stuff luaside with PAC3

In the development branch Metastruct has for PAC3. We have this thing called mdl_import which uses the VFS binary module. Sometimes the MDL's have 2 issues. 1. Texture scaling issues 2. Not being able to put multiple textures on models that need them ...

11 Hours Ago
by LUModder Go to last post
4 119
cpp
 

Passing Entites through Lua Modules.

I cant seem to figure out specifically what class type is being pointed at by lua userdata. int testLuaFunc( lua_State *state ){ UserData *ud = (UserData*)LUA->GetUserdata( 1 ); CBaseHandle *hent = (CBaseHandle*)ud->data; if( !hent ){ ...

mcd1992 1 reading
11 Hours Ago
by mcd1992 Go to last post
0 100
Lua scripting
 

CreateSound Problem

I'm trying to get a Nextbot to play sounds using CreateSound. My problem here is that instead of emitting from my bot, it emits from the middle of the map, and i'm not sure why. Here's what i have: local talk = CreateSound(self,...

12 Hours Ago
by Jeezy Go to last post
10 273
QUESTION
 

What would cause all weapons to change DMG Type?

I recently installed M9K weapons, but only as skins in my PointShop. (Yeah, Pointshop) Lately players have pointed out that my leaderboards were no longer working so I checked the damage type and it turns out to be 8194 (DMG_ALWAYSGIB) when they were...

13 Hours Ago
by serfma Go to last post
5 149
Request
 

Requesting RP_C18_V1 VMF

Hey, so I don't post on here so much, or rather just request anything. I have looked nearly everywhere now and I can't seem to find a working original .vmf file for the map rp_c18_v1. If anybody has any information or even said file, it would help out a...

13 Hours Ago
by Liink Go to last post
6 173
QUESTION
 

Help with finding the cause of server crashes?

I've been running a TTT server for a month or so and recently the server has been crashing daily, around 2+ times a day. I've got no clue if an addon is causing it but I do have the mini dump files but I'm unsure how to read them properly (I know not...

15 Hours Ago
by Acecool Go to last post
3 112
Help
 

solved Need help with NPC shop

I have the NPC spawning, unable to move, or take damage. Now I need to set it up so useing the NPC (push e) opens a derma menu, but I can't seem to figure out how to do that. Every tutorial that I have found so far regarding NPC shops is i suspect...

15 Hours Ago
by narpuppy Go to last post
2 96
Help
 

Save DColorMixer color

I'm in need of a way for the color chosen on a "DColorMixer" to be saved as the color of a, DFrame in this example. I've got it working to where when the frame is open, the mixer is shown on the panel. When I change the color on the mixer, the frame...

17 Hours Ago
by IMayhem Go to last post
2 100
Lua scripting
 

Hiring a Coder MegaThread ~ Rip In Peace CoderHire ( 2 3 4 5 6 7 Last ) This thread has images

New Gmod Scripts/Jobs Site: ScriptFodder By now we all heard the news that http://coderhire.com/ is going to be closing it's doors so might as well go back to the good ol' megathread days. This thread is for anyone who wishes to hire a coder to...

17 Hours Ago
by Uncle Fred Go to last post
248 9,916
Help
 

Some Crossbow

Problem: When this crossbow is shot at someone, it instantly damages them (70 damage) while shooting a projectile (a visual bolt) that eventually hits right after, and does 0 damage. Is there a way for me to make the visual bolt do the damage? It...

17 Hours Ago
by Acecool Go to last post
1 77
Lua scripting
 

solved Pointshop Item - Ranks

So I had this idea where I wanted to offer ranks by points in the pointshop. I want to add an item that users can buy that would be a price like 50,000 points and they can use their points to buy the rank "VIP" or something similar. Is there anyway to do...

17 Hours Ago
by bluebull107 Go to last post
6 102
Lua scripting
 

Transmitting Sound

How might I hook into gmod and do the following. Make a an entity that looks like a can. Then take all the sounds it picks up, at their sound strength. The transmit them syncronously to another entity, a barrel, as a speaker. Think how you can...

18 Hours Ago
by BlueMustache Go to last post
12 235
Lua scripting
 

Writing an Addon: Best choice of MySQL library?

I need my addon (Intended for sale) to be able to run on anybodys server (Including people who use a Hosting Service), but gmsv_mysqloo v8 requires them to place a file in the SRCDS folder (http://facepunch.com/showthread.php?t=1220537). I know some Hosts...

19 Hours Ago
by Acecool Go to last post
12 225
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 1 reading
20 Hours Ago
by chandlerR Go to last post
1,536 56,358
QUESTION
 

solved How would I call a function upon getting a kill?

Is there a way to call a function upon a player getting a kill? Like, if I wanted to have it play a sound effect for every kill and have it only play for the killer, would that be possible?

21 Hours Ago
by iamgoofball Go to last post
3 80
Lua scripting
 

solved unexpected symbol near '=' (PLEASE HELP)

when coding for a new game mode (was following a tutorial on the basics, made my own stuff with that knowledge) and i was working on GUI. then this happened gamemodes/spooky ghosts/gamemode/cl_init.lua:73: unexpected symbol near '=' 1. unknown...

21 Hours Ago
by Applecooler Go to last post
4 87
Help
 

DarkRP Custom Job Spawns

I want my Civil Protection job to spawn near the PD. TEAM_POLICE What command exactly do I do, and how?

21 Hours Ago
by mcd1992 Go to last post
3 66
Help
 

solved Need help spawning a workshop vehicle

I have tried searching through the first few pages of google and couldn't seem to find something that wasn't apparently outdated. If anyone can link me to a tutorial or explain how to spawn workshop entities on the map it would be much appreciated. So...

22 Hours Ago
by narpuppy Go to last post
11 208
Release
 
Winner x 32

GMad - command line addon creator/extractor ( 2 3 4 5 .. 7 8 9 10 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:

22 Hours Ago
by Acecool Go to last post
374 90,058
QUESTION
 

SFM addon in gmod?

Hello everybody I'd like to know if we can import SFM addon in gmod,because i need the robotic boogaloo props addon for my image/posters Thank,and have fun. (sorry if wrong category,i didnt knew between SFM part or Gmod part because it's about...

23 Hours Ago
by gonzalolog Go to last post
3 123
Help
 

How to retrive the number of players of another server.

Hello! First, sorry for my bad english, I'm french canadian. Feel free to fix my typos and all that stuff I will appreciate it :) So I own a community in which I host multiple servers (Cinema, Trouble In Terrorist Town, Deathrun, etc.) and what i'm...

23 Hours Ago
by Banana Lord. Go to last post
16 203
Help
 

Player crashes on death.

Hi, I'm creating a gamemode and every time a player dies, he/she dies. Does anyone know any quick method to fix this? Thanks. init.lua : AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua")

1 Day Ago
by mindfulhacker Go to last post
6 149
QUESTION
 

srcds crash or in game bug at certain time

Hello, My srcds crash at someone moment, and, in game, I have freeze at someone moment my server.cfg : hostname " Monde Shielx" rcon_password "XXXXXXX"

1 Day Ago
by Acecool Go to last post
4 151
Help
 

Prop Hunt: Hunters/Props picking up props

On my prop hunt server i have made it so the hunters and props team players can pick up props Which is with this: function GM:AllowPlayerPickup(player, entity) return true end

1 Day Ago
by covey88 Go to last post
4 81
Help
 

Gamemode not showing up in main menu.

I'm working on a new gamemode, and for some stupid reason it's not showing up in the drop down menu in the main menu. I've been searching for ages now and it's still no use.

1 Day Ago
by Acecool Go to last post
3 88
Lua scripting
 

Forcing random players to swap teams JAILBREAK

Just need to make a custom command that swaps random players to a team for jailbreak the command could be anything i will edit that

1 Day Ago
by NiandraLades Go to last post
18 269
Help
 

solved 'Q' Menu items broken

Alright, so I've been having this problem for a few days on my server, and cannot find the source of it. Basically some of the 'Q' menu items are gone. Chairs, weapons, NPCs, all gone. This is a problem with my server, not my client. Everyone is being...

1 Day Ago
by Robotboy655 Go to last post
1 95
Lua scripting
 

Entity Weight

Is there a way to change the weight of an entity to where it can be moved by a gravity gun?

1 Day Ago
by vexx21322 Go to last post
1 102