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,862
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,084
Help
 

Lua Newb needs help

2 Problems 1. I added 2 sounds, 1 for left click and one for right click and I got it to work by adding another function but I was wondering if I could add both sounds to work into the 1 function that was originally there in the tutorial that I found?...

alex578344 10 reading
7 Minutes Ago
by Acecool Go to last post
3 65
Link
 
Winner x 69

CoderHire ( 2 3 4 5 .. 118 119 120 121 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 25 reading
11 Minutes Ago
by Netheous Go to last post
4,808 193,270
Release
 
Winner x 47

Next Update ( 2 3 4 5 .. 79 80 81 82 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 9 reading
11 Minutes Ago
by Robotboy655 Go to last post
3,267 171,089
Lua scripting
 

Darkrp FBI

In TTT theres a class called the detective... could i add the menu were you can click on bodys onto my dark rp fbi class... if not what can i do wich would be like that :)

squid_slipper 4 reading
42 Minutes Ago
by LUModder Go to last post
1 33
Lua scripting
 

Need help with ents.FindInSphere with two same entities

Two same entities, cant find solution how to find only second entity for k, v in pairs (ents.FindInSphere(self:GetPos(), 0.5)) do if self ~= v then if v:GetClass() == "my_ent" then return end end end

lua_error 2 reading
1 Hour Ago
by lua_error Go to last post
10 221
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...

1 Hour Ago
by meharryp Go to last post
10 221
Help
 

Contact between a GMod server and a website?

Hey again everyone. I was wondering how to tackle something like connecting between a GMod server and a Website. I got this idea from an addon that can manage a server live from a website. I don't remember the name of the addon. The only way I see,...

Fillipuster 7 reading
1 Hour Ago
by meharryp Go to last post
2 61
Help
 

Lua Error TTT Server (Golden Deagle/Damageinfo)

Hello =) I have a TTT Server and I am trying to solve some lua errors. Maybe you guys can help me by this problem. I solved a few errors by my own but I dont know what I should do here. If players shoot with the golden deagle I get this lua error on my...

Nessaj1 1 reading
2 Hours Ago
by Nessaj1 Go to last post
3 205
Help
 

Hatschat2 Tags flash

This is the script i use for my chat tags.. it's HatsChat2.. Please could someone tell me how i could make one of these tags flash? HatsChat.ChatTags = {} local CT = HatsChat.ChatTags CT.Enabled = true CT.Tags = { = {Color(85,0,150), ""}, =...

Kristian3 2 reading
2 Hours Ago
by Acecool Go to last post
1 55
Lua scripting
 

Client-Side Player Velocity (SPEED) for HUD

I'm new to Garry's Mod lua and have created a simple Bunny Hop HUD, as you may know "Speed" is a main part of this HUD. I need help displaying the players speed in Unit/s not as a vector I'm using local velocity = ply:GetVelocity()

Loveasparagus 2 reading
2 Hours Ago
by Acecool Go to last post
9 188
Help
 

Need to allow for mapvote at end of round for Hide and Seek

Hide and Seek init.lua: http://paste.ubuntu.com/8157187/ 58-96 is where I think it needs to be changed but I'm not sure. My map vote I use, uses function FC_VOTE.StartVote()

2 Hours Ago
by Acecool Go to last post
1 71
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 5 reading
4 Hours Ago
by kibble Go to last post
523 34,357
Help
 

Gmod Derma button variable

Hi i am trying to make a button have a countdown from 5 (timer already made) But i cannot seem to get it to work. I am trying to make the text look like: "Abort (5)" and it counts down Here is my vgui. How would i make it refresh to display the...

4 Hours Ago
by 1-Bit Go to last post
5 164
Lua scripting
 

Custom CVars/Settings?

Hello, I'm looking to create some custom settings for my gamemode but I can't seem to figure out how. The official wiki talks of settings inside of the gamemode's info but I don't see how I'm supposed to access it in any way. What I am specifically...

Z61
5 Hours Ago
by Z61 Go to last post
4 116
Help
 

Custom job Spawn with health help?

Hello, Basicly the title says it all, I Was wondering if you guys could maybe send me the code to make a class spawn with health? Im also new to coding so i apolagize if this is a very easy answer, like i said im a noob at coding so yeah. Thanks. ...

[ML] Soda 1 reading
5 Hours Ago
by Acecool Go to last post
2 50
Help
 

Lua Error

OK, here is the original code: concommand.Add( "amg_start", function( ply, cmd, args, string ) if AMG.UseTimer then print( "AMG.UseTimer must be set to false." ) else StartMinigame( args, args ) end end)

6 Hours Ago
by Gamer12594 Go to last post
30 334
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...

6 Hours Ago
by Gamer12594 Go to last post
23 449
QUESTION
 

Creating timers for specific players

I am trying to make a health station. When you walk up and press E, it will give you health in exchange for money. When you activate it, a timer begins for 300 seconds. You can not use the health again until the timer is up. Everything works flawlessly,...

7 Hours Ago
by Acecool Go to last post
8 125
QUESTION
 

"Dynamic" Player Spawns for DM?

I don't want to recompile 5+ maps with entities that may glitch out just for spawnpoints. But Nutscript has a thing where you can do /spawnadd faction and have the faction always spawn on those points. I want to do something like this for my deathmatch...

7 Hours Ago
by Acecool Go to last post
3 104
Lua scripting
 

(TTT) PointShop Weapon Purchase Stripping

Basically, if you have no weapons of the class you are buying, you'll receive your weapon just fine. However, say if you have an M16 and you wanna buy an AK47 from the PointShop, you don't get your weapon at all. I've created this code with the help of...

Pjor1 1 reading
7 Hours Ago
by Acecool Go to last post
15 230
Lua scripting
 

New game mode from scratch

I just have to quickly gripe: the gmod documentation seems scattered and much of it out of date. Even the official garry's mod wiki has tutorials that don't work. I followed creating a game mode tutorial from there to the letter, yet I'm having some...

8 Hours Ago
by Acecool Go to last post
20 315
Help
 

Garrys Mod wont load my gamemode.

I have my gamemode in the right destination ( C:\Program Files (x86)\Steam\SteamApps\common\GarrysMod\garrysmod\gamemodes ) but it will not load up in game. Im trying to test out my GM. It wont come up for me to select. Also it is a garrys mod 13 GM....

9 Hours Ago
by ShadowRanger Go to last post
9 151
Help
 

Lua error [darkrp]

Hi, this is the error I got last night after installing a recent printer addon addons/darkrpmodification/lua/entities/k_coolant_cell/cl_init.lua:5: Tried to use a NULL entity! 1. GetClass - :-1 2. fn -...

9 Hours Ago
by code_gs Go to last post
3 76
QUESTION
 

How terrible is my configuration class?

I've written a configuration class to load very simple key/value files, in the format "key = value". I'm not the best at Lua, so I was wondering if anyone could provide feedback on my code. I'd prefer constructive criticism, but do what you will. So,...

10 Hours Ago
by jackwilsdon Go to last post
3 117
Lua scripting
 

Image Above Players Head

Hello FacePunch community! I have just a small thing that I wan't to code into my gamemode but I'm not sure how :c What I wan't to do is if the player has a certain SteamID then an image displays above there head. Such as if the SteamID is...

10 Hours Ago
by Acecool Go to last post
3 115
Repeat
 

Which better sv.db or mysqloo?

Hello everyone. On my server I need frequent synchronization with the database. Before I had server and site on different hosts, but now I've moved to the DS, What will advise? Easies way how i think it's sv.db, cuz i can using data at site and server...

Koji6ac9H 1 reading
11 Hours Ago
by Acecool Go to last post
19 413
Lua scripting
 

Lua Problem with Font

so I want to have a custome font for a Derma button, but I can't seem to get it to work! this is the fonts I am using http://fontfabric.com/code-free-font-3/ . In the client file I wrote this if CLIENT then surface.CreateFont( "Close1", { font =...

11 Hours Ago
by Acecool Go to last post
5 163
QUESTION
 

solved Am I putting these variables in the right function??

Hey I just need a pointer tell let me know if im putting the variables in the right functions. Thanks :) ( not 100% because of the Garrys Mod 13 changes ) AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) ...

13 Hours Ago
by Vizik Go to last post
8 101
Lua scripting
 

Reusable Jihad bomb for TTT?

So I like doing fun rounds where I disable winning and give everyone a custom weapon like a reusable knife or an awp that has 200 bullets. But I wanted to make a custom jihad bomb. I've already taken out the ability for traitors to buy it. How do I make...

13 Hours Ago
by smithy285 Go to last post
7 122
Help
 

saving/retrieving punctuation into sql

Hi all, as the title says, how would I accept input from a player that includes punctuation, save it to sql, and then display it without losing any of the punctuation or formatting? Currently, any punctuation seems to stop SQL from saving the value. Can I...

13 Hours Ago
by selfdestruk1 Go to last post
16 434
Help
 

TTT Spectators Spawn with Pointshop Weapons??

I have no idea if its the code I am using or what... But I dont like it cause people are getting killed randomly. Its been happening for some time whenever I notice it I have to slay the spectator for it to stop. Here is my pointshop weapon code...

13 Hours Ago
by JasonMan34 Go to last post
14 242
Steam
 

Need a little help with player_ext.lua sprinting

I'm trying to implement TTT sprinting (sandbox style), so no stamina involved. I already have the buttons and everything working. The thing I need help with: The runspeed and maxspeed keep resetting every map change. So something is overwriting it as soon...

13 Hours Ago
by Sonichum Go to last post
4 98
Lua scripting
 

solved ConVars!

Where is the best place I can learn about " CreateConVar " ? Thank you for your help. Just wanted to get advance from experienced lua coders. :)

14 Hours Ago
by Vizik Go to last post
3 55
POST YOUR
 

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

14 Hours Ago
by WalkingZombie Go to last post
831 18,472
Help
 

Applying a skin to a weapon

Hey, I want to apply a weapon skin (This one: http://hl2.gamebanana.com/skins/133190) To a weapon I put in gmod (This one: http://hl2.gamebanana.com/skins/105813). How do I do this? I renamed all the textures, and went in XVI32, and changed the texture...

15 Hours Ago
by smithy285 Go to last post
2 131
Lua scripting
 

Fake Players

Does anyone have the source to the thing gmod.biz uses? I'd like to have only 1 fake player on my server :\

15 Hours Ago
by mib999 Go to last post
5 275
Lua scripting
 

Donator ( 2 Last )

I want to make some jobs Donator only //Created using DeaDeye's Classmaker TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(23, 23, 23, 255), "models/player/riot.mdl", ], {"bb_ump45_alt","bb_usp_alt","handcuffs","riotshield", "handcuffs", "arrest_stick",...

16 Hours Ago
by ms333 Go to last post
47 821
Shitpost
 

darkrp - how do i disable suicide for a job(s)

i just wanna know how to disable suicide for a job or totally disable it

17 Hours Ago
by jack10685 Go to last post
3 95
Lua scripting
 

PAC3 Hide outifts on death

I just want it so that you dont have floating outfits from dead people. Pretty simple but I dont know much about pac3

17 Hours Ago
by AJ10017 Go to last post
4 130
Lua scripting
 

solved Vehicle for Cook !

Hello, When i want to put a vehicle for TEAM_COOK in DarkRP 2.5.1 it's not possible... I put : DarkRP.createVehicle({ name = "PizzaBoy", model = "models/tiggomods/gta/vc/pizzaboybody.mdl", price = 100,

17 Hours Ago
by Mika32 Go to last post
9 201