Title / Thread Starter Last Post ByReverse Sort Order Replies Views
Help

Adding to TTT Easy Scoreboard

So the server I'm developing for runs the TTT Easy Scoreboard found here. We use this addon to handle all of the custom rank colors and titles for different levels of staff and donators. This is great but having to edit the file every time we want to give...

20th September 2015
by uggjesus Go to last post
3 253
Help

EvoCity Sound Scapes Fix?

How can i fix the broken sound scapes in rp_evocity_v2p,v33x,v2d,v4c?

20th September 2015
by The Commander Go to last post
2 258
Help

VCmod and cars for clockwork

Hello. How do i add new cars to clockwork i tried multiple times but i have not got them to work properly. Also is there anyone that ported VCmod to a plugin? Thanks / Joker

20th September 2015
by Netheous Go to last post
2 195
Lua

Variable bug function() RunConsoleCommand("ulx kill",self.Player:SteamID() or "0"); end )

Hello, I make this code function() RunConsoleCommand("ulx kill",self.Player:SteamID() or "0"); end ) For tab menu in my gamemode and i have this error ? RunConsoleCommand: Command has invalid characters! (ulx kill (' ')) The first...

20th September 2015
by LUModder Go to last post
9 393
Help

Nutscript ply:CanAfford equivalent

Hi guys, Quick question, the hook "ply:CanAfford", ply:AddMoney", "GAMEMODE:Notify" (DarkRP hooks), is there a similar hook for nutscript? This is what it's for. --CUSTOM GAMEMODE? - You will need to change these to your gamemode functions if you're...

20th September 2015
by ExodusTheFirs Go to last post
1 233
Help

Developer Needed

I am interested in looking for a developer that is very familiar with perp. (User was banned for this post ("read the stickied thread before you post here." - postal))

20th September 2015
by CGHippo Go to last post
3 208
Shitpost

Change HoldType on PrimaryAttack

Hello, when I do PrimaryAttack, it called serverside and on client who pressed, but not on another clients so they don't see changes. ... SWEP.HoldType = "normal" ... function SWEP:PrimaryAttack() self:SetHoldType("fist") -- changes visible...

20th September 2015
by Koji6ac9H Go to last post
4 220
Help

solved Entity simply disappears after overriding the variable.

-snip- Nevermind, fixed the issue as soon as I posted it lol.

20th September 2015
by Netheous Go to last post
0 122
Help

Chat commands

Hi, n I would like to make a chat command like "/command" that say "/me made a command" I've tried this but it seems not working : If anyone can help me please !

19th September 2015
by benji131201 Go to last post
3 195
Question

Create the func_breakable_surf

Hey everyone, can the "func_breakable_surf" entity created with ents.Create or can we make brush entites in lua with textures?

19th September 2015
by Exho Go to last post
6 267
Help

GMPublisher tool doesn't work!

My CMD doesn't recognise the command to publish addon. I typed cd (bin direction), then i typed the command gmpublish.exe create -icon (icon direction) -addon (gma direction) CMD just doesn't recognise that command. No any errors, but just that command...

19th September 2015
by Robotboy655 Go to last post
2 153
Help

Think hook with ply function??

Hello guys i'm trying to make : ply works in a Think hook hook.Add( "Think", "PlyThink", function(ply) local trace = LocalPlayer():GetEyeTrace() if input.IsKeyDown( KEY_M ) then

19th September 2015
by Phoenixf129 Go to last post
2 209
Beta

GluaScripts - CH/SF [Alternative] ( 2 3 4 Last )

Hello Facepunch Viewers, Since Coderhire has shutdown me and a few friends have decided to make a alternative coderhire/scriptfodder website which is aimed at providing developers the best oppertunity to securely manage, update and monitor the script...

19th September 2015
by WitheredPyre Go to last post
130 5,954
Lua

Code (if server playing on map)

Hello everyone ! I'm looking to make a quick and clean FastDL and for that I got the idea for the download of map download the map as when playing on the server instance: Escuse for my bad english resource.AddWorkshop( "149737736" )...

19th September 2015
by Pink3vil Go to last post
5 257
Help

solved Confusing ents.FindInCone behaviour.

Hi all, I'm trying to use ents.FindInCone to project a view-cone for a homing missile. Instead of returning all entities within the cone, it seems to return all entities in a 180 degree arc forward of the cone position. For example, this code: ...

19th September 2015
by Splambob Go to last post
4 369
Help

Adding new props

Hello, I am trying to add new props to f2s stronghold and the props when spawned, show as an error, I have the model in content/models/props_2fort and inside the spawnmenu.lua I have this: GM.SpawnLists = {...

19th September 2015
by Mattymoo14211 Go to last post
7 519
Lua

solved HELP NEEDED WITH CUSTOM ZOMBIE

CLASS.Name = "Predator Zombie" CLASS.TranslationName = "class_prdator" CLASS.Description = "description_predator" CLASS.Help = "controls_predator_zombie" CLASS.Model = Model("models/player/nethead/warrior_new.mdl") --Model("models/Zombie/Fast.mdl")...

19th September 2015
by G6Darkminion Go to last post
7 350
Help

DrugsMod

So I used Drugsmod https://steamcommunity.com/sharedfiles/filedetails/?id=112986621 I used gmad extractor to extract the files and mount them to my server, but it dosent work on my DarkRP. Or my sandbox, same with my base game. The files are in my Addons...

19th September 2015
by YaYaBinks3 Go to last post
5 340
Lua

No player respawns after intial spawn (One life mod)

Hey there guys, I have little to no knowledge of coding, and I was wondering if any of you guys knew if it was possible to make it to where after the player dies, they cannot respawn - either through them being forcefully booted from the game/server or it...

19th September 2015
by Ilssm Go to last post
5 513
Help

solved Creating an infinite table?

Is there a way to create a table of values that is infinite? ie 1 = "2" 2 = "5" 3 = "9" so on and so forth without causing an inf loop and messing everything up

19th September 2015
by kulcris Go to last post
22 599
Help

End of Round Deathrun Points

if SERVER then AddCSLuaFile() -- Send the file to the client. hook.Add( "OnRoundSet", "Round Set Example", function( round, winner ) if round == ROUND_WAITING then print( "We're waiting for the game to start!" ) elseif round ==...

18th September 2015
by Owzmo Go to last post
12 2,234
Help

Need Help Finding a Color!

Hey Im new to this site, But not to Gmod, I was wondering if I can ask you brilliant people about the Metropolice playermodel... I like my sort of guy to have matching clothes but I haven't been able to duplicate the Color of the pants for the jacket. Can...

18th September 2015
by possposs22 Go to last post
7 334
Help

Translate..

Hey I translated darkrp today now I have lua error ... Danish : https://gyazo.com/b4b9992aae2e9f11eb1cc04eb318971b Danish : https://gyazo.com/335eccda4dc07335cef209c85d71e4de English : https://gyazo.com/7d5d416922fb3d18f683eaa20243ef57 English :...

18th September 2015
by tzahush Go to last post
1 159
C++

Binary Module Repository

BINARY MODULES FOR GMOD I was wondering if anyone has ever bothered to make a big, comprehensive collection of binary modules for GMod? Right now it's a real pain to find binary modules. There are a few that are fairly well known and recognized, and...

18th September 2015
by Willox Go to last post
22 1,224
Lua

Can you reference a table as your content in file.Write ?

recap = { Var1 , Var2 } file.Write( "Logfile.txt" , recap)

18th September 2015
by Blakestr Go to last post
16 606
Help

solved Gamemode grouping rules in server browser?

What are the rules for grouping the servers based on gamemode in the server browser? I remember there were some little quirks you had to do in order for a gamemode to show up in the same category as others. IIRC, you needed to add some sort of prefix...

18th September 2015
by typedef state Go to last post
4 214
Lua

Need Some Help With Playermodels

So Iam trying to make an entity change your playermodel but once that entity has been taken off it reverts your playermodel back to what it was when the entity was used. So far ive got everything done but the part where the entity reverts your...

18th September 2015
by laithqakeesh Go to last post
2 166
Help

saving data

alright so im using file.Write or whatever and im attempting to make a table inside it... so when the player joins i hook it to a player join function to create a data file with there steamid64... in the file on join the file has {} in it (to be a...

18th September 2015
by whitestar Go to last post
9 310
Help

solved 3D2D Text Help

Hello! I need some help with displaying a title above a NPCs head and if you move it moves. Like this https://youtu.be/n1zBnkarJEo

18th September 2015
by whitestar Go to last post
7 282
Question

Is there a reason why there is not a multi tv youtube addon for gmod?

I was wondering if there was a reason why gmod doesn't have any addons that allow for players to have multiple you-tube videos playing on different tv's? Does it cause a load of lag on the network? Would it not be optimal with the current awsiomium...

18th September 2015
by LUModder Go to last post
8 394
Politics

What should a GLua linter lint for ( 2 Last )

I'm making a GLua linter, but I'm kind of short on ideas on what it should check for. Currently it checks for: - Inconsistent use of C-style and Lua style syntax (if true && true and true) - Deprecated functions - Scope depth checking (when you have...

18th September 2015
by Wizard of Ass Go to last post
68 2,910
Help

solved Is it possible to rotate a material using surface.DrawTexturedRectUV()

The code I am using is this, surface.SetMaterial(self.Powerbar) surface.SetDrawColor(255, 255, 255, 255) surface.DrawTexturedRectUV(x * 0.05, y * 0.9, x * 0.075, y * 0.15 * (self.Charge / 100), 1, 0, 0, (-self.Charge / 100)) which renders the...

18th September 2015
by Mythikos Go to last post
4 215
Lua

Coderhire Addon Cloning Thread ( 2 3 4 5 .. 12 13 14 15 Last )

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 https://openclipart.org/people/dear_theophilus/computers.svg The...

Exho Thread has images Winner x 38
18th September 2015
by matiasg90 Go to last post
568 53,199
Help

Joining DarkRP and spawning as "Joining/Connecting" Job

Hi, So you join the server as the joining/connecting job (yes the default job is set to citizen, yes it is coded right) I don't know why, there are no errors in console, at all. The config and job is set to citizen and I can't figure out what the problem...

18th September 2015
by fluffygods Go to last post
5 1,299
Science

2D3D + DrawPoly strangeness

I've recently discovered a bug in an addon I am working on.... however, the bug doesn't seem to be my fault. (Or, at least not completely) I've made a test entity to show others what's going on by copy/pasting some of my addons code. ...

17th September 2015
by LegoGuy Go to last post
2 233
Help

Spawning cars with lua

How would i use lua to spawn a car?

17th September 2015
by XxLMM13xXx Go to last post
31 1,049
Help

Viewmodel bobbing up and down

Hey. I'm relatively new to Lua. Now, what I want to do is make a weapon's view model bob up and down when it's idle. When I asked a good friend of mine, he gave me this code to use as a reference: ang = cmovedata:GetViewAngles() ang.p = ang.p -...

17th September 2015
by MaximLaHaxim Go to last post
0 136
Lua

solved Weapon Script Problems

I made a SWEP, using the bullets and props pack, but when the right fire action is pressed, (it shoots a prop) I get an error like "Vector excpected got userdata #1" This is my SWEP Script. //SWEP:Initialize()\\ function SWEP:Initialize()...

17th September 2015
by Lavacoal123 Go to last post
13 451
Help

solved Server list

Hello, I have a server and not DarkRP we see sla dan multiplayer list and must be a problem on your side because me my IP address is in canada then you can update your geolocation IP for server please Evidence for canada my server:...

17th September 2015
by Robotboy655 Go to last post
2 165
Help

solved [BUG] DCollapsibleCategory Moving NumberWangs and Textboxes to the Bottom

For some reason, DCollapsibleCategory is now moving the editable boxes (NumberWangs, Textboxes, etc..) to the bottom of the DListLayout. This was not happening before the update. Here's a video showing the bug: As you can see, the boxes are...

17th September 2015
by nicolasx21 Go to last post
2 287
Lua

Dialogue and Cutscenes within Gmod

Well I was Told I could make Conversations in Garrys Mod Gamemodes like in the style of Fallout(Where the NPC talks and you have a list of things to respond with, and the NPC Responds back.)Is that true? Can I do that in my Gmod Gamemode with an NPC? If...

17th September 2015
by whitestar Go to last post
9 1,057
Question

solved National Flag Icons Directory

Hi everyone, I need to know directory of flag icons to use with .DImage. I couldn't find them DIconBrowser.

17th September 2015
by anka067 Go to last post
2 151
Help

solved vgui_cleanup command?

Hey, Recently I have been working with derma a fair bit and sometimes run into the problem where I do something wrong and there is a lua error that makes the derma stick the screen. I have seen on other servers there is a vgui_cleanup command that...

17th September 2015
by Kirbd Go to last post
0 129
Help

DarkRP This shipment/weapon is unavailable

Hey guys, Since I installed my own custom shipments for my drug dealer and now it says that anything I try to order, be it pistols, ammo, whatever, is all unavailable. Could it be my shipments file or is it something else? Here's my shipments file...

17th September 2015
by matiasg90 Go to last post
2 1,270
Help

solved TTT Gamemode Issue

My server seems to have issues with bodys ragdolling really hard after a player dies, which causes the server to crash. I am not sure if this is a well known issue of the gamemode, or if there is even a way to fix this. A friend of mine owns a TTT...

17th September 2015
by OHQ Saucey Go to last post
4 180
Help

solved [ Time / Timer ] How to read time ?

Hello there, i need some help. How can i make it when a function is ran that it will count time and then do something. For Example. When a player joins team ZOMBIE the server will count for 15 minutes then in 15 minutes the server will change the players...

17th September 2015
by whitestar Go to last post
6 320
Question

How to make nexbot move to a position

I tried MoveToPos() but it gave error. Also I need to know how to make nextbot face an entity.

16th September 2015
by Robotboy655 Go to last post
3 191
Question

solved Workshop Download

Hey, My FastDL is getting slow for my german customers. Could it be because the server is in france? And maybe you know how to speed it up? I thought about switching to workshopDL, but is it allowed to make upload all the contents to steam workshop...

16th September 2015
by P4sca1 Go to last post
2 164
Lua

solved Tools?

Is there any way to change the current tool being used by a player in gmod? All I found was ply:GetTool(), but no ply:SetTool (Even tried it anyways, no such method exists...)

16th September 2015
by JasonMan34 Go to last post
5 205
Help

solved Help With Entity I'm Making

Hey guys! First off, thanks for any help you provide. Okay, so I've been trying to make my first entity ever and I've come into a problem that I don't quite understand, I'm sure my issue is that I am just inexperienced and don't understand it and I'm...

16th September 2015
by Jouaram Go to last post
17 246
Help

How to restrict Fading door tool in DarkRP ?

Hey Have a problem with my Fading Door Tool on my Gmod server. Players can use it on cars. How can i stop that ?

16th September 2015
by DaRkWoRlD1337 Go to last post
4 288
Lua

How to toggle custom hud? Please help

I am developing a custom hud, but I need to make a command that will toggle the client side hud? Is it possible I can make the toggle in the client side? I would prefer it to be a command, however I don't mind if it is a button, I just want to keep it all...

16th September 2015
by geferon Go to last post
13 408
Help

How do I make timers not run into eachother

Hey, I have these 3 timers and they eventually run into eachother and print 2 things in chat at once, how do I prevent this? timer.Create("chatnotifydonate", 60, 0, function() chat.AddText(Color(255,255,255), "Wanna ",Color(100, 255, 100),...

16th September 2015
by typedef state Go to last post
12 341
Help

LocalPlayer() Not Initiating Fast Enough?

Hello everyone, Im messing around with some Lua, but its quite there is a quite annoying bug I cannot figure out. Ill start out with my code: cl_init.lua DeriveGamemode("base") HudConfig = HudConfig or {} HudConfig.Name = LocalPlayer():Nick()...

16th September 2015
by Handsome Matt Go to last post
8 413
Lua

"Independent" flashlight - possible?

I'm trying to create an additional flashlight for my SWEP. All other flashlights I've seen before using env_projectedtexture entity running on serverside to work as the flashlight. Is it possible to re-create the same thing that env_projectedtexture doing...

16th September 2015
by Z0mb1n3 Go to last post
8 464
Lua

How do i add weapons to the redead gamemode

I've tried countless time's but i can't do it. I need help adding weapon's to a gamemode its in the title its a GMA file format and the creator said there was a lua in the GMA that i needed to edit and i asked him for help and he doesn't do that kind of...

16th September 2015
by Sazuzaki Go to last post
2 179
Help

solved Faulty physics on test entity only when spawned using ents.Create

Hi all, I'm having trouble spawning an entity I recently made. For my addon I need to spawn the entity using a tool. However, when I spawn it via ents.Create I can walk straight through it and I can't pick it up with the physgun or gravity gun, and...

15th September 2015
by Splambob Go to last post
4 210
Help

solved RP_EvoCity_v33x issues (again)

Hi. My ambient sounds on rp_evocity_v33x are broken, and it's only on my server. They work perfectly in singleplayer and other servers, but on mine they are weird as fuck. There's the dog barking outside of the city and the gunshots and stuff inside...

15th September 2015
by ScarehGhoost Go to last post
8 355
Help

solved Set DListView lines height

Hello facepunch, I wanted to ask how to set the height of the lines from the DListView, since they're really small, I tried using the returned line object, and doing settall, but it wont work. :c 15th September 2015 nevermind, it was SetDataHeight

15th September 2015
by whitestar Go to last post
1 117
Question

Return output of a console command?

Is it possible to return an output from a given command in the console. For example, the 'status' command?

15th September 2015
by stev_ Go to last post
3 246
Help

Help me out with some Glua?

I want to learn how to make Huds, and Derma Panels but it seems that the wiki.garrysmod.com is out dated, can someone help me out?

15th September 2015
by NiandraLades Go to last post
6 268
Request
15th September 2015
by Jordanlol Go to last post
0 209
Help

Noclip

Hey im helping a server with some bugs and we have an bug we really dont want so please help us! Yeah the bug is that everybody can write noclip in console and then fly around! :/ please help us!! :D

15th September 2015
by fluffygods Go to last post
11 349
Help

solved Daynight cycle for rp_evocity_v33x

Hi. My server runs rp_evocity_v33x and I've been trying to get Atmos to work. I've been having a few issues that I need help with. Firstly, at night, the sky doesn't get dark. Actually, the sky doesn't change at all. It stays white 24/7. Secondly,...

15th September 2015
by ScarehGhoost Go to last post
4 458
Lua

new gamemode NWInt question

I am currently creating a gamemode and have a couple of questions about the use of NWInts and exploits with said NWInts. The gamemode is going to have a rpg element to it (skills and leveling) what i want to know is if i set those likes this ...

15th September 2015
by Sapd Go to last post
9 316
Request

Converting from 2.4.3 to 2.5.1

Well, hello guys, i have one F4 menu, which calls "Redux F4 Menu". It is selled on CoderHire, but it is only 2.4.3 version, also there is no on scriptfodder. So ok, can somebody convert that F4 menu from 2.4.3 version to 2.5.1 darkrp ? Contact me on...

15th September 2015
by JessePinkman Go to last post
8 509
Help

solved Drawing a 3D box around a object based on hitbox

I want to draw a box that draws all around a object no matter the angle. I am using OBBMins and OBBMaxs to do this currently I have the lines setup (aka the lines which make up the box), but currently they dont behave as expected, the corners of the...

15th September 2015
by OMGOMG132 Go to last post
0 132
Help

solved Timed chat notifications

Hey, I am trying to add a chat notification feature similar to ULX where it adds a phrase to the chat every x amount of seconds to the admin mod I'm using. I know it has something to do with timers but I really don't know where to start to be honest....

15th September 2015
by kulcris Go to last post
5 170
Question

solved How to use vgui.CreateFromTable()

Can anyone give an example ?

15th September 2015
by whitestar Go to last post
3 230
Lua

Derma shadows?

My question is very simple. Are there any native functions to draw shadow at DLabel, DPanel and other D-s? Forum search does not work for some reason :o

15th September 2015
by Robotboy655 Go to last post
1 156
Art

solved Issue with surface.DrawPoly in VGUIs

So, I have a notification system that can display multiple notifications at a time. Notification function -- Draws and animates CAH notifications. function CAH:Notify( message, icon, noSound ) icon = icon or "cah/bell64.png" local SCREEN_X,...

15th September 2015
by _FR_Starfox64 Go to last post
3 192
Help

different cameras in playdemo

hi, i have different cameras while recording a demo. after i finished recording, i want to make a video out of every single camera view. (startmovie, playdemo, endmovie). unfortunately, i dont know how to switch to another camera while playdemo is...

15th September 2015
by ploy Go to last post
0 126
Lua

I need a script for this (darkrp)

Can you make a script to when the mayor dies or switches jobs, the laws will reset.

15th September 2015
by InfernusN Go to last post
3 220
Lua

Having chat commands emit sounds from the player who did it

friend has a chat command feature in his darkrp server to play metropolice radio commands on saying certain phrases in chat. he's wondering how to make it emit the sound from the player who did it so everyone can hear it, but i'm not sure how to do it and...

15th September 2015
by MissingNoGuy Go to last post
2 208
Lua

solved DarkRP Hiding custom classes from those without access

I've been trying to figure out how to disable users who don't match the steamID in customcheck from actually seeing the job in the F4 menu. How exactly would I go about doing so? I've already tried editing the disabled_defaults.lua to no anvil. ...

15th September 2015
by ThatOneMajora Go to last post
4 384
Help

Skining DTextEntry without breaking it?

Can someone give me some information on how I can skin it? I Have tried overriding pain hook but I have a problem that the text is not correct in a sense that if you click in the middle of a word the carrot would be placed somewhere else, can anyone give...

15th September 2015
by smithy285 Go to last post
1 206
Help

Best way creating entity?

Hey, I want to create simple sent, but my question is can i use In-game ide to make it? I hate using ftp, opening file, editing, uploading and then again the same. So can i create entity, that i can modify in real time?

15th September 2015
by whitestar Go to last post
6 219
Question

solved Restrict server running certain commands on clients.

There are some commands that e2/expadv2/starfall clients can run on themselves that I don't think should be allowed so I want to blacklist them (server-side). I'm guessing I need to detour Player.ConCommand, but I was wondering if anyone knows a better...

15th September 2015
by thegrb93 Go to last post
10 415
Question

How do I stop sound.Play?

sound.Add( { name = "hl2player", channel = CHAN_STATIC, volume = 1.0, level = 80, pitch = { 95, 110 }, sound = "music/HL1_song10.mp3" } ) sound.Play( "hl2player", self:GetPos(), 100, 100, 1 )

15th September 2015
by Winter Go to last post
4 186
Help

Deatrun Custom Player Loadout

I'm trying to give a certain group on my deathrun server a custom loadout(basically all weapons) The following code is what I got to so far, but it's not working. function Custom_Loadout( ply ) if ply:IsUserGroup("Head Admin") then ply:Give(...

15th September 2015
by Kirbd Go to last post
1 180