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

solved Drug Dealer job shipments not showing!!

In shipments.lua i have everything coded in how it should be. Yet when i join my server and choose my Drug Dealer job i can't click shipments to buy a drug!!! Here is my shipments.lua script: --] DarkRP.createShipment("Famas F1", { model =...

24th April 2016
by MidasCaan Go to last post
18 158
Help

How to load image data as an IMaterial?

I'm not sure if this question needs it's own thread, but here's what I want to know: Is it possible to load image data (such as the string generated by render.Capture) as an IMaterial without having to save the image data and then load it again? ...

24th April 2016
by MPan1 Go to last post
6 149
Help

Source Particle Editor Tutorial?

Not sure if this is the right place, couldn't find anywhere else to put this thread. Any good, in-depth tutorials for source particle editor? I can't find any. Yes, I've used google. Any help is appreciated, thank you.

24th April 2016
by overki11 Go to last post
2 61
Lua

solved ULX Commands

Could someone in here help me make some ulx commands like this examples !returnwep or !refund = return weapons the target player had before they died !showdeath = mark the place where the target player died !gotocar = goto car owned by target player

24th April 2016
by feldma Go to last post
7 178
Help

solved gain point when npc is damage by player HELP!!

can i get some help with figuring out how to make it when a player damages a nextbot they again 10 points i thought it would have some thing to do with the function ENT:OnInjured with a AddMoney(10) command but that got me no ware as i dont know how...

24th April 2016
by Jenssons Go to last post
2 42
Help

solved Adding Table to DB Through Lua

Hey guys! So I have the following: local BannedProps = {} function AddBannedProp(mdl) table.insert(BannedProps, mdl) end AddBannedProp("models/hunter/blocks/cube025x025x025.mdl") AddBannedProp("models/hunter/blocks/cube025x05x025.mdl")...

24th April 2016
by Percipience Go to last post
3 69
Lua

solved Error When i open f4 menu

When ever i open f4 i get this error. Any help? I have reinstalled it, scanned for backdoors and lua viruses. A runtime error has occurred in "lua/includes/extensions/table.lua" on line 94. The best help I can give you is this: bad argument...

24th April 2016
by TnxBT Go to last post
6 124
Help

solved DarkRP Banned Prop List

local BannedProps = {} function AddBannedProp(mdl) table.insert(BannedProps, mdl) end AddBannedProp("models/hunter/blocks/cube025x025x025.mdl") ect... What would I do now to add these to the banned props? If someone can help me, I'd really...

24th April 2016
by Percipience Go to last post
2 98
Help

solved DarkRP Whitelisted Models?

Yo! So, is there any list out there that I can look at the see the props that I need to white list? Thanks guys!

24th April 2016
by Percipience Go to last post
9 125
Help

solved Function Always Returning True

I have functions that check a MySQL database to see if a player is banned or exempt(meaning any addon restrictions don't apply to they player) from a specific action but regardless of the query they always seem to return true. //Banned function...

24th April 2016
by man with hat Go to last post
3 173
Question

solved Finding a Player From Their SteamID

I want to make a function that takes a SteamID and then uses that SteamID to find and return a player. I have no clue on how to achieve this though. Any and all help is appreciated!

24th April 2016
by Computer600 Go to last post
2 80
Help

Installing Garry's Mod on CentOS 6 system

I'm trying to install Garry's Mod on my VPS, but when i try to run it i get this error: Failed to open dedicated_srv.so (/lib/libm.so.6: version `GLIBC_2.15' not found (required by bin/dedicated_srv.so)) Add "-debug" to the ./srcds_run command line to...

24th April 2016
by lRoberth Go to last post
4 146
Help

MySQL question functions

Alright so this is my code... function LMMESTOREUserBanned(ply) db:Query( "SELECT * FROM banned", function(result) for i=1, #result.data do if result.data.banned == ply:SteamID64() then print("Hey") return true end

24th April 2016
by Semajnad Go to last post
15 199
Help

Change color of the weapon pickup hud

I would like to know what file I would edit the color of the weapon pickup hud

24th April 2016
by XxLMM13xXx Go to last post
5 102
Help

solved [Lua Gmod Error] "attempt to index a global 'surface' (a nil value)"

Hi. I'm making a SWEP pack for Gmod consisting of recreations of the non-stock HL2 weapons from the HL2 co-op mod Synergy. Everything is great, but for having custom HUD font-based icons, I need to use "surface.CreateFont". The HUD icons work fine, but...

24th April 2016
by EvacX Go to last post
8 132
Help

solved RoundedBox Blur

-snip everything- I have it fixed. It was easy as hell, not sure why I didn't get it earlier. local blur = Material("pp/blurscreen") local function DrawBlurPanel(panel, amount, heavyness) surface.SetDrawColor(255, 255, 255, 255)...

24th April 2016
by Percipience Go to last post
9 175
Lua

[LUA HELP] DarkRP Config - How to set Money Model's skin?

Hi there! On my DarkRP server, I have set the GM.Config.moneyModel in the settings.lua to a realistic British Pound Note model. However, the model has 4 different skins for the 5, 10, 20 and 50 notes. Currently, it uses the default skin, which is...

24th April 2016
by MPan1 Go to last post
3 67
Help

solved [Advanced]DarkRP Default Weapon Customizing

So, how would I go about doing this? I know I need to change the default weapons' code by going to sh_weaponsettings.lua, however, I can't seem to find out how to change functions in that file. Could someone please help me?

24th April 2016
by Percipience Go to last post
28 193
Help

solved deleting spawnmenu items

hey! so I want the following off of the spawnmenu: how would I go about doing this? (obviously, I'd like the contents of the categories gone as well)

24th April 2016
by Percipience Go to last post
10 100
Request

TTT - Innocent detective menu

Hi would it be possible to make it so innocents have a context menu like the detectives or traitors?

24th April 2016
by KevinnTCG Go to last post
7 189
Question

solved Running MySQL Query After 'x' Minutes

I have a function in my addon that bans users from specific actions. I'm trying to add MySQL support so that the bans can have effect across all of an owner's servers, and I was wondering how I could run a query to delete a user from the banned table...

24th April 2016
by Semajnad Go to last post
1 87
Help

Question Regarding MYSQL, MYSQLOO and Pointshop

So the server I am a part of has officially gathered enough funds to buy another server slot for our second game mode, the only issue is that after setting up our MySQL and MySQLOO the items and points that players had on our TTT server is not...

23rd April 2016
by feldma Go to last post
13 154
Help

solved Dropping alternate weapons - unsure how to code.

Hey guys, I'm trying to make a weapon on TTT that when you drop it, it turns into a different weapon. The dropped weapon needs to have the same ammo as the dropped weapon. Here's what I've got so far: function SWEP:onDrop() self:Remove() end

23rd April 2016
by feldma Go to last post
16 256
Lua

solved Need help with DarkRP Custom Commands

I need help coding a new chat command similar to /ooc and /advert Any help is needed, sorry for my poor English. Thank you

23rd April 2016
by Semajnad Go to last post
11 121
Help

Panel is messing up the scoreboard

I'm making a side panel right now for the scoreboard and I used the hook.Add for ScoreboardShow and ScoreboardHide in order for it to work. The panel loads, but the actual scoreboard doesn't load anymore. How can I possibly add a panel alongside a...

23rd April 2016
by kulcris Go to last post
4 68
Love

solved CalcView and cursor movement

I've wanted to do a bit of 3rd person prop dragging, but appearently CalcView doesn't provide data about mouse movement/wheeling or any usage really that is done with active gui cursor. In short: I'm looking for alternatives (other than drawing an...

23rd April 2016
by Netheous Go to last post
11 178
Question

solved Clientside NPCs?

Are fully clientside NPCs possible? I wanted to make a Combine helicopter fly by at a certain time, but it's multiplayer, and it would happen when you go to a certain area, so... I don't really care that it wouldnt be able to actually collide and attack...

23rd April 2016
by Shenesis Go to last post
1 85
Help

solved Cam.Start3D drawn elements bouncing

Hello, I'm using a cam.Start3D and cam.Start3D2D. I've got it to work how I want, although I'm having issues with the drawn items bouncing whenever a player encounters a step or a fall or damage( tested explosive). I've tried correcting it with...

23rd April 2016
by Palooz Go to last post
4 183
Question
23rd April 2016
by RonanZer0 Go to last post
0 35
Help

sound.PlayURL() not working on Linux?

I'm having troubles getting sound.PlayURL() on my linux computer. I can hear it on my windows computer, but not any of my linux computers. If use it on my server, everyone else can hear it except me. Has anyone else had this problem? Should I submit a bug...

23rd April 2016
by Grocel Go to last post
7 226
Help

solved Problem making chat command for acts

Like the title says, I have problems making chat commands for the Garry's Mod acts. I get this error when the code below is executed: FCVAR_SERVER_CAN_EXECUTE prevented server running command: act hook.Add( "PlayerSay", "actcommands", function(...

23rd April 2016
by Horsten Go to last post
2 65
PC Games

solved Can I change the (TextureError) picture?

Hello. I would like to change this picture: http://i.imgur.com/Fbl88hP.png In something like this: VGUI/ttt/sprite_traitor.vmt http://t7.rbxcdn.com/4ccf82ca24ee71de8ec60459067bd590 Is it possible?

23rd April 2016
by NeatNit Go to last post
5 135
Help

solved GUI Not Saving Table on Net Receive

I have my GUI setup to receive a table named RAS.Config, here is the code for that: net.Receive("RASOpenConfigEditor", function() tbl = net.ReadTable() tfpick1 = tobool(tbl.AntiSpamming) tfpick2 = tobool(tbl.Chat.Enabled) tfpick3 =...

23rd April 2016
by man with hat Go to last post
5 146
Help

solved Hiding/Removing Dimage

I'm wanting to create a menu using my own assets. I'm wanting the menu to appear whenever the user presses "O" and then disappear when the user lets go of "O". I'm displaying the image using a DImage which someone suggested using on another topic. This is...

23rd April 2016
by MPan1 Go to last post
2 94
Help

Addons won't download or install properly for clients!

I have the workshop collection right. I have the startup right (+host_workshop_collection 635141033 -authkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) and I have the workshop.lua file in the lua/autorun/server directory. It's all right but for some reason some...

23rd April 2016
by feldma Go to last post
6 128
Lua

solved best weapon base?

I'm tired of every weapon being made on either bob's base, or a shitty custom base. I want a base to build my own weapons from. It can be very basic, I just need something I can start with. With iron sights at least.\ I would create my own, but I'm...

23rd April 2016
by Percipience Go to last post
7 99
Help

Hello, I am in need of some help.

I'm not completely un-tech savvy, but this setting up a gmod server thing is very new to me. I realize I'll get some hate and some "Do it yourself" messages on here, that's given. But if anyone is willing to tell me exactly how to set up this starwars RP...

23rd April 2016
by DonkeySoda Go to last post
11 373
Help

solved Unusual lag with my gamemode?

Whenever I join my server with my custom gamemode on it, a timer is used to spawn NPC's. The NPC's, however, tend to lag around the map, even if there is a small amount of them. Any ideas as to why I'm having this issue? Thanks.

23rd April 2016
by A-c-e Go to last post
18 151
Lua

Addon not loading at all, no errors, nothing.

I'm trying to create an addon that tells staff when a player breaks one of the rules on a server I'm admin on, so that the owner can add it, but it never seems to load. There are two files, a cv_ and an sv_ version. They are located in...

23rd April 2016
by Mista_Epic Go to last post
5 97
Help

How to make a compass in a Hud

Can any off you tell me the code to make a compass and how to turn it into a HUD. Thank you very much!

22nd April 2016
by zeaga Go to last post
9 222
Help

DarkRP jobs, and TFA

Hello, just wondering how to add a TFA skin as a weapon on a darkrp job? would it be something like this: (let's the name of the weapon is ak-47 and the model i want instead of the default is located in models/base/ak47redline.mdl) function(ply) ...

22nd April 2016
by Netheous Go to last post
3 142
Help

solved Scripted Brush Entity (Not Working)

This is my scripted brush code: ENT.Base = "base_brush"; ENT.Type = "brush"; function ENT:StartTouch(ent) print("start touch"); end function ENT:EndTouch(ent) print("end touch");

22nd April 2016
by Robotboy655 Go to last post
9 101
Poll

What does everyone think so far?

I've been working on a custom motd for a little while and I would like to see what everyone thinks about it so far!

22nd April 2016
by ATomIK` Go to last post
17 449
Lua

how to show string on screen for a while ?

i know these code can show string on screen, but i want the text disappeared in ten second, how to do so ? thank you in advance hook.Add( "HUDPaint", "HelloThere", function() draw.DrawText( "Hello there!", "TargetID", ScrW() * 0.5, ScrH() * 0.25,...

22nd April 2016
by Semajnad Go to last post
2 132
Lua

DarkRP - Customizable Weaponry 2.0 - Problem with inserting .giveAttachments code and turning them off

Trying to insert code for ply get attachment on spawn (job). This is what the whole job looks like. This is what i want to insert I dont think the code is right. Just tells me there is a problem on line 75. That would be the...

22nd April 2016
by lannebro Go to last post
0 61
Help

util.TraceHull Crashing

Whenever I try to modify the mins and maxs of a tracehull to account for an angle offset, it seems to crash. I might be missing something obvious, but is there a reason it would crash? local function MoveOffset(pos, ang) return Vector(pos.x *...

22nd April 2016
by code_gs Go to last post
4 115
Help

solved player_manager and SetupDataTables confliction

Solved...turned out player_manager is not conflicting with setting up my own data tables. Beware PlayerInitialSpawn: " Called when the player spawns for the first time. Please note that this hook is called before the player has fully loaded. For...

22nd April 2016
by Palooz Go to last post
0 51
Lua

solved How to use EmitSound to play only a certain segment of audio?

Continuation of this thread I need to play certain 0.1 segments of audio for everyone, as it's part of the swep firing. How can I do this?

21st April 2016
by Mista_Epic Go to last post
24 282
Help

cam.Start3D2D PLY Keypress Toggle??

So, I have this Derma panel & Model. The Model has been scripted into an Entity. The Derma Panel has been finished. When a Player goes up to said Entity and presses the use key "E" on the Scripted Entity the Derma panel will run, then when "Esc" is...

LOT
21st April 2016
by LOT Go to last post
0 66
Help

GMAD.exe Not working

Hello folks, I am new to making mods and am currently working to develop my own gmod addons. I've been following the tutorials (https://wiki.garrysmod.com/page/Workshop_Addon_Creation) , however I have run into a problem. I have been attempting to...

21st April 2016
by Cogs Go to last post
3 125
Lua

Entity not setting material

Hi guys, Got a small issue, wondered if anyone could lend me a hand and point out what I'm doing wrong here. I've got a turret and it works perfectly. But I want to give it the Citizen Rebels skin, so I used the method at the bottom of the...

21st April 2016
by DubyxD Go to last post
4 56
Poll

solved Weird drone rewrite backdoor hack? странный беспилотный (rewrite) бэкдор хак? 

Welcome I found command "dronerewrite_admin_hackall" command in drone rewrite drone addon. It appear on 20 april but dissapeared on 21 april so owner may put it in again later? can someone confirm? thx sry my english is very bad I am originally...

21st April 2016
by scoutMadness Go to last post
2 378
Help

solved Help with improving server performance

Hello, I am occuring some lag spikes on my server and want to figure out where they came from. I installed DbugR to see which Timers/Hooks etc are called often or with a high value. Everything seems okay, except one timer which is called with a really...

21st April 2016
by P4sca1 Go to last post
2 78
Help

gcap more than 1 group permission

Hi, i'm trying to make gcap so more than 1 person can actually use it the original code is CAP.allowance = { = true, } this is the code i tried but didn't work i have no idea what i'm doing CAP.allowance = { = true, }

21st April 2016
by P4sca1 Go to last post
6 84
Lua

solved Physgun cars script HELP!

why is this code not working? it is placed in lua/autorun function acpc( ply, ent) if ply:IsAdmin() or ply:IsSuperAdmin() and ent:IsVehicle() then return true end end hook.Add(PhysgunPickup, adminpickupcars, acpc)

21st April 2016
by Tupac Go to last post
1 56
Help

hook.Add not acting as expected

So I have two functions that I need to run in hooks. "SyncClientGlow" sends a net.Broadcast() message containing a table of entities when the mouse is pressed (debug stuff), and "AddGlow" receives the table and applies a constant halo effect to said...

21st April 2016
by firegodjr Go to last post
4 161
Help

random function problem

Here is my Code: function random(n1,n2,rs) math.randomseed(rs) r = math.random(n1,n2) return r end Now I'm trying to call the function:

21st April 2016
by bigdogmat Go to last post
19 243
Lua

solved [TTT] Make people unaware that they are speaking

On a ttt server, players often ghost/team up with each other. If there are suspicions, we force their mic on (+voicerecord on a timer) and make it so that only admins can hear them while their mic is on. However - the player whose mic is forced on can...

21st April 2016
by meharryp Go to last post
6 175
Help

Lua Error, Not sure what is causing it?

Lua Error: gamemodes/starwarsrp/gamemode/modules/base/sv_gamemode_functions.lua:239: attempt to index local 'jobTable' (a nil value) unknown - gamemodes/starwarsrp/gamemode/modules/base/sv_gamemode_functions.lua:239 ...

21st April 2016
by Semajnad Go to last post
8 159
Help

solved Importing assets

How exactly do I input custom assets that I've made, using script. I've made visuals for a menu and I'm not sure how to import them using script and use them. Any help?

21st April 2016
by codelyoko373 Go to last post
2 48
Question

Collision hull and mesh understanding

Hello, I'm just a little bit confused and would like someone to validate what I believe or correct me if im wrong. So from my understanding a collision hull is a simple box around the actual collision mesh that tells the source engine when two things...

21st April 2016
by MPan1 Go to last post
1 89
Request

CityRP Chatbox Error

I'm trying to set up a CityRP Gamemode but I get this error: gamemodes/cityrp_www.fearlessrp.net_2014_2875/gamemode/cl_init.lua:992: attempt to index global 'cityrp' (a nil value) 1. unknown -...

21st April 2016
by KevinnTCG Go to last post
4 241
Help

LUA error. i canot fix.

Alright. So i left my DarkRP server for a while. and i am just coming back to reboot it. and get it running again. (i am very rusty with coding its been along time) So i get this error. Here is the error. A runtime error has occurred in...

21st April 2016
by djmuz Go to last post
6 127
Love

ScriptFodder - Version 2 is live! ( 2 3 4 5 .. 123 124 125 126 Last )

ScriptFodder - The Garry's Mod Marketplace ScriptFodder is tailored towards two types of people, if you're a Garry's Mod server owner, ScriptFodder can offer a variety of premium content for your server, or if you're looking for something a little more...

Netheous Thread has images Dumb x 55
21st April 2016
by Mikey Howell Go to last post
5,001 187,028
Lua

solved DLabel not fitting?

Can't find anything about this on the wiki. Pretty straightforward. I'm making an addon for a server owner with a template he provided, and whenever I use the DLabel the message won't fit on it. It just goes "Would you..." cutting off the message with the...

20th April 2016
by overki11 Go to last post
4 77
Help

Disabling/Removing default tools on a server

Hello! I was wondering if there was any way of removing or disabling some of the default tools, more specifically, the paint tool. For some reason neither FPP or URS can stop it from working, even if it is restricted. The tool causes a lot of server...

20th April 2016
by joealdred Go to last post
5 72
Question

Asistance Required: Invisible Weapons Bug

Found the reason for the bug, was linked to "Wasted Death Screen". Please close thread. <3

20th April 2016
by CastielViaLB Go to last post
0 52
Help

First render in a 'poster' issue

I may be going insane. This is as small as I could make my code to replicate the issue: local tex_render = render.GetMoBlurTex0() local mat_copy = Material("pp/copy") hook.Add("RenderScene", "GAAHHHHHH", function(origin, angles, fov)...

20th April 2016
by NeatNit Go to last post
1 53
Art

Server logo

NO DO NOT LINK ME SCRIPTFODDER IM NOT MADE OUT OF CASH, IM SURE SOME ONE WILL INPUT FOR FREE. Hey guys! I've been working on a TTT server lately that is near completion. I am here because I need help on making a server emblem/logo (I suck at...

20th April 2016
by Hoffa1337 Go to last post
23 801
Help

PostDrawOpaqueRenderables

this is my code: local function LMMNPCRBounceFunction() for k, v in pairs( ents.FindByClass( "lmm_npcr" ) ) do local p p = v:GetPos() + Vector(0,0,95 + math.sin(CurTime()*3)*5)

20th April 2016
by Q2F2ZSBKb2huc Go to last post
11 238
Gross

DarkRP unable to write to sv.db?

I'm having an issue where, when someone new joins my DarkRP server, they're appearing as the gray playermodel, as if they aren't being assigned a job. Thing is, the other people who joined before him are fine when they join, but no one after that is. The...

20th April 2016
by GarrysDorian Go to last post
3 149
Help

solved Bodygroups not setting properly on spawn

Hi facepunch, Sorry in advance if this is a simple question, I am fairly new to coding. I have put a piece of code into a custom DarkRP job so that when you spawn it sets your bodygroups and skin based on our ULX group. Although the skin works fine,...

20th April 2016
by GarrysDorian Go to last post
1 65
Question

solved Custom Notifications

I want to make the code listed below and add a custom look to it. function RAS.AddNotify( ply, message, kind, length ) net.Start( "RAS.Notification" ) net.WriteString( message ) net.WriteInt( kind || NOTIFY_GENERIC ) ...

20th April 2016
by MexicanR Go to last post
2 75
Help

solved TTT error on killing player

I seem to be getting the following error whenever a player dies on my TTT server: gamemodes/terrortown/gamemode/cl_init.lua:388: attempt to call method 'SnatchModelInstance' (a nil value) 1. unknown - gamemodes/terrortown/gamemode/cl_init.lua:388 ...

20th April 2016
by Deathbypwnage Go to last post
0 29
Help

Struggling to get DMG types to work for my TTT weapon

I attempted to recreate the solved post here https://facepunch.com/showthread.php?t=955510 but resulted in script errors when trying to do so. I was wondering if anyone more skilled than I could show me what is needed to be done in order to set a dmg type...

20th April 2016
by reddersboy Go to last post
0 42
Lua

Image from switch weapon on top

Can I get an icon of weapon(at least from hl2) from switch menu by some lua script? I'm already tryed to get some options of weapons(like damage, fire rate, shooting mode etc), but I got it only from custom guns. And one more little question: Can I check...

20th April 2016
by Mrkostet Go to last post
4 128
Help

How do I make my audio sound like crap?

Hello Facepunch, This is definitely a weird question for me to ask. So I'll tell you why. I am making bots for GMOD, and am giving them pre-recorded phrases to say in response to events. My code emulates the button being pressed, to make it look like...

20th April 2016
by Semajnad Go to last post
16 197
Help

Stopping Scrolling Text Teleporting

I've found this from an old thread local multiplier = 80 local width = ScrW() local font = "BebasNeueSmallerSmaller" local ypos = 933 local textcol = color_white

20th April 2016
by MPan1 Go to last post
2 99
Question

TTT is there a way to have a toggle voice drain that doesn't need a map restart ?

So I know I could just make an addon that does the drain just like the default game-mode does and I could get it to work there but is there a way I could just tell the game-mode to update the settings to make it more easy ?. Thanks for any help

20th April 2016
by Nak Go to last post
4 186
Question

solved Using SteamID() on a string

I have an argument that a player has to enter either a SteamID or a player's nick but since this is considered a string I can't run Player:SteamID on it. Is there any way to make it so that I can run SteamID() on the argument?

20th April 2016
by MPan1 Go to last post
1 87