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,760
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,637
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

TrippleT 1 reading
1 Minute Ago
by TrippleT Go to last post
0 1
Help
 

darkrpmodification jobs not working

I have coded in a number of jobs into jobs.lua when I join the server the defaults are not disabled and my new jobs are not being added. This is the relevant lua error: addons/darkrpmodification/lua/darkrp_config/disabled_defaults.lua:36: attempt to...

Marsden107 1 reading
3 Minutes Ago
by Acecool Go to last post
3 71
Release
 
Dumb x 50

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 4 reading
1 Hour Ago
by Rone_ Go to last post
928 37,153
Help
 

Displaying server chat on a website?

Is there any way I would be able to take chat from in-game and display live on a website?

btc1322 1 reading
1 Hour Ago
by Judd Go to last post
4 110
Shitpost
 

Would this work?

function Player( ply ) local name = ply:Name() local SteamID = ply:SteamID() local ip = ply:IPAddress() print( "Player Connected. Name: " .. name .. " SteamID: " .. SteamID .. " IP: " .. ip ) end hook.Add("PlayerConnected", "Player",...

1 Hour Ago
by Acecool Go to last post
3 99
Help
 

SetBaseKarma error

lua/autorun/karmareset.lua:13: attempt to call method 'SetBaseKarma' (a nil value) 1. fn - lua/autorun/karmareset.lua:13 2. Call - addons/ulib/lua/ulib/shared/hook.lua:365 3. RoundStateChange - gamemodes/terrortown/gamemode/cl_init.lua:131 4. func...

1 Hour Ago
by Acecool Go to last post
3 79
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...

1 Hour Ago
by Acecool Go to last post
7 146
Help
 

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

1 Hour Ago
by Sm63 Go to last post
3 69
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...

1 Hour Ago
by kila58 Go to last post
1 63
Request
 

Are you allowed to use not working vehicle models from the Workshop

Hello, GModders! This morning I was in a great mood: I received my development server for my favourite server. Soon after I uploaded an image where I got one of the Protocol Gaming vehicles to work. However, when I came home from school I received a...

Techdaan 1 reading
1 Hour Ago
by Acecool Go to last post
5 109
Help
 

hooks like playerinitialspawn

hey im trying to make a motd for my server that makes your player wait to spawn till you click spawn on the motd. im not sure what hook to use to stop the player from spawning. also to open the menu. i have tryed playerinitialspawn this will be for...

1 Hour Ago
by TrippleT Go to last post
10 167
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...

1 Hour Ago
by DEFCON1 Go to last post
4 64
Help
 

Prop Hunt Players Can't Hear Custom Taunts

Hey guys, So I have just started a Prop Hunt server! When people join the download all of the taunts, but when they get in the game, they can't hear the taunts! Can anyone help with this? Also, on a side note, people can also hear random...

1 Hour Ago
by slacker12345 Go to last post
3 99
YouTUBE
 

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

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

Mors Quaedam 5 reading
2 Hours Ago
by gonzalolog Go to last post
557 39,106
QUESTION
 

Would this work? Number. 2

function Player( ply ) local banned = {"XXX.XXX.XXX.XXX", "XXX.XXX.XXX.XXX"} local name = ply:Name() local SteamID = ply:SteamID() local ip = ply:IPAddress() print( "Player Connected. Name: " .. name .. " SteamID: " .. SteamID .. " IP: " .. ip )...

3 Hours Ago
by sasherz Go to last post
3 130
Help
 

solved Is it possible to check if an entity belongs to a list of entities?

I'm working on a project, and I was wondering if it's possible to check and see if an entity is part of a set list. If so, how would I go about this?

3 Hours Ago
by zerf Go to last post
1 44
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...

Judd 1 reading
3 Hours Ago
by sasherz Go to last post
7 206
POST YOUR
 

Problems That Don't Need Their Own Thread v2.0 ( 2 3 4 5 .. 42 43 44 45 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
4 Hours Ago
by GmanMan Go to last post
1,795 41,548
Addon
 
Friendly x 27

Converting Addons for free. (GM12 > GM13) ( 2 3 4 5 .. 16 17 18 19 Last ) This thread has images

Hello there facepunch, I don't have a lot of work to do at the moment so I'm willing to do this. Just post the link of the addon, and I'll fix it up for GM13 then send it to you via PM or post it here. Or, If you're a lua coder and just don't have the...

4 Hours Ago
by Tolee Go to last post
741 30,238
QUESTION
 

solved Networking entities and NPCs

Hi guys, I've been looking around on the wiki, old wiki and other places, and the closest thing I could find was a bug report on GitHub that seems to lack resolution, so perhaps someone here may know. When working with networking entities,...

5 Hours Ago
by Jeezy Go to last post
3 77
Lua scripting
 

Team Unassigned, changing to tem two

function GM:PlayerSpawn( ply ) ply:GiveGamemodeWeapons() if ply:Team() == TEAM_UNASSIGNED then ply:SetModel("models/player/zombie_classic.mdl") ply:SetTeam(2) end end

5 Hours Ago
by SwikCoder Go to last post
2 83
Lua scripting
 

NextBot Coding and Discussion Thread ( 2 3 4 5 .. 7 8 9 10 Last ) This thread has images

This thread will be for anything related to the new NextBot system, I'll keep the OP updated with useful information to help anyone who has questions or needs help. Update 160 added bindings to the nextbot system, which is what CSS, TF2 and L4D bots...

highvoltage 1 reading
6 Hours Ago
by Jeezy Go to last post
384 31,846
QUESTION
 

Starting an inventory system

I'm wanting to start an inventory system for my money system and NPC shop for buying, selling, using, etc. The problem is, I don't know where to start for the serverside/network side. Any examples will help.

7 Hours Ago
by LUModder Go to last post
4 169
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.

7 Hours Ago
by PredzVAIN Go to last post
3 108
beta
 

solved Variable Zoom for Scripted Weapons

I created a thread for it because this is a pretty huge issue that I've been having with my scripted weapons. I'm having a massive problem with net probably because I don't understand it. I'm basically trying to create variable zoom for my scripted weapon...

8 Hours Ago
by ROFLBURGER Go to last post
3 159
Help
 

solved AvatarImage

-- CHECK LAST POST (Has working Lua code there) Hi, I'm trying to round the AvatarImage to make it circular, however I can't seem to get it to work. I've searched the forums on trying this and I've found a stencil code form "Handsome Matt", Also some...

8 Hours Ago
by keensta Go to last post
3 115
Help
 

noob lua help im so bad

SWEP.Primary.ClipSize = 15 function SWEP:ClipSize() self.Owner:SteamID() == "STEAM_0:1:40852869" then end how do i change per player is it just return 100 or something

10 Hours Ago
by elevate Go to last post
9 297
Help
 

M9K Autorun Error

Making weapons on M9K Base, after made sounds in autorun, get this error several times in console. addons/ndg misc. weapons/lua/autorun/ndgautorunmisc.lua:162: '}' expected (to close '{' at line 156) near 'sound' 1. unknown - addons/ndg misc....

11 Hours Ago
by slacker12345 Go to last post
4 94
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...

11 Hours Ago
by Giraffen93 Go to last post
1,552 58,096
Help
 

Connecting to database.

So im trying to get global bans to work, it seems that it gives the error: connectToDatabase Access denied for user 'polarisrp'@'%' to database 'polarisrp_ulxbans' every single time. All of the log in info is correct. I don't get why it wont connect.

12 Hours Ago
by Adzter Go to last post
1 57
Help
 

Console commands added with concommand.Add don't get recognised the first time?

Hi guys, I am currently working on a gamemode, but my console commands I added with concommand.Add in the init.lua don't work, they show up as autocomplete but once I hit enter it says unknown command. However, when I reload my init.lua by adding a...

13 Hours Ago
by Seanrinox Go to last post
3 92
Help
 

Real-Time Updated Values of Ammo for People Being Spectated?

Is it physically possible for the clip sizes and such of the currently active weapon of a player being spectated (not the dead player observing) to update in real-time? It works with health levels, frags and deaths I know. Something like... weapon =...

13 Hours Ago
by therealist Go to last post
4 109
Help
 

DModel positioning? This thread has images

Hello, with some of my models in a model panel, they are very small. What is the best way to make them fit the panel, without being too small.

14 Hours Ago
by Metamist Go to last post
2 79
Help
 

DarkRP: Custom Police Office isn't added to the Civil Protection Gamemode

Hi, I have been working on my DarkRP server for about a week and I just started working on custom jobs, followed TheCodingBeast's tutorial on the topic. I am using a dedicated server and have latest versions of DarkRP and DarkRPModification. My...

14 Hours Ago
by ajgeek Go to last post
1 97
Help
 

Need help with an idea.

Okay so MoronYard has an option that will disable all hats clientside for that player. I would like to actually have the option for my servers, so that we can have tf2 hats in the pointshop, and the players that dont have tf2 installed can have the...

15 Hours Ago
by gonzalolog Go to last post
7 199
games
 

PlayX Help needed!

So i installed PlayX on my DarkRp server. this is the version i have: http://steamcommunity.com/sharedfiles/filedetails/?id=106516163 I'm trying to spawn it in as a Cinema Owner and i cant seem to get it to work. it spawns as an entity. I also have to...

17 Hours Ago
by LUModder Go to last post
1 75
QUESTION
 

Gmad.exe [Not allowed by whitelist]

I have finished my gamemode that I have worked so very hard on. The only problem is that I can't make it into a gma to publish. Every single file in the under gamemodes/blockado/content/ gets an error about it not being on the whitelist. For example, the...

17 Hours Ago
by Stargazer808 Go to last post
8 233
Help
 

solved Error "attempt to index global 'gui' (a nil value)" ... help

I want to create a simple .lua code that when a player types !css or /css it will open in the steam overlay the location where he can download the css content addon.. I am getting this error: lua/autorun/css_addon.lua:4: attempt to index global 'gui'...

19 Hours Ago
by VashBaldeus Go to last post
2 81
Help
 

Ammo In F4 Menu, Doesnt give ammo + Weapons purchasable by everyone

Hello again all. I've been bashing my head against the wall for a few days now over a few issues in my server: Firstly, I have the ammo in the F4 Menu and it appears, purchases and drops on the ground fine. But when i pick it up no ammo is given,...

19 Hours Ago
by doomblood66 Go to last post
8 146
Lua scripting
 

FAS 2.0 : Problem Having trouble switching gun with lua

Ok.. so I cannot switch the gun's using GetWeapon(), I can use getweapon on about any-other gun's and they switch with no problem? No errors or nothing, They just refuse to switch, somtimes they give a occasional holsteranim is nil error? Sorry if...

20 Hours Ago
by BFG9000 Go to last post
10 205