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

Drawing a user screen's in VGUI help

Honestly, I am completely lost, I was just wondering if it is possible to do this and how. I know it has something to do with SetRenderTarget but I don't know anything about it. Thanks for the help.

1 Week Ago
by OMGOMG132 Go to last post
0 81
Lua scripting
 

Darkrp Can't Chance Job Bug Lua

Can't Chance job Hello, When i try to Chance job, It does not work i click on the job then northing happens i am useing thecodingbeast f4 menu so can you find a fix or somthing ??? Thanks, Joshua

1 Week Ago
by joshuaharry Go to last post
4 106
Shitpost
 

I am whitelisted from my own server, how did this happen?

I did not even add a whitelist nor do i know how to turn it on, how did this happen and how do i fix it?

1 Week Ago
by joshuaharry Go to last post
7 298
Lua scripting
 

pointmaster help?

Hello, Ive been trying to find this everywhere but i just cant find where to change the values (playing on the server and receiving 10 points every __ seconds). I have my point system all set up but people get too many points!! I need to limit the ammount...

1 Week Ago
by Aeternal Go to last post
2 107
Lua scripting
 

solved Playermodel Wont show up? And steamcmd [ERROR] This thread has images

Hello, I've been getting an error when the first person joins and it says "TTT Initializing convar settings...", it appears in yellow and red.\ *I WOULD LIKE TO MENTION* Yes the model is Osama Bin Laden... One of my donators was willing to donate $20...

1 Week Ago
by Marshgray Go to last post
3 78
games
 

solved Bad argument #2 to '_sub' vector expected, got number

Hello, the error is on this line: local hullxymax = math.Round(math.Max(ent:OBBMaxs() - ent:OBBMaxs().x * ((ent:GetAngles().y % 90)/90), ent:OBBMaxs().y + ent:OBBMaxs().x * ent:OBBMaxs().y * ((ent:GetAngles().y % 90)/90)), 1)

1 Week Ago
by Grocel Go to last post
1 119
Lua scripting
 

solved Admin Mod Problems (aowl)

I understand that aowl is private to Metastruct only and that I'm one of the very few server owners using it and not many people know how to fix it. But it's only certain parts of it not working. 1. Commands aren't working for non-admin ranks. 2. I...

1 Week Ago
by LUModder Go to last post
6 246
Help
 

Pointshop Modifactions.

Yes I am trying to decompose a Vector. to get the x y z as different numbers. Its for a pointshop item. The Vector is actually "modifications.color" I was thinking it was like "modifications.color.x" and change the x with y and z and so on. Or...

1 Week Ago
by adamdburton Go to last post
8 217
Help
 

Give Pointshop Points

Hi guys, I am coding a web application and the app can give points to players. I use the xPaw class for this. I tested the RCON connection with Rusty(connection works) and I don't know how I can add points. I use the pointshop from Undefinied. ...

1 Week Ago
by miny1997 Go to last post
8 276
Help
 

Gmod singleplayer crashing

I hope this is in the correct section. Ok so I've been trying forever to fix the conflicts between my mods for along time it works and doesn't work. I have been looking through the Minidump's and try unsubscribing from the addons that conflict but some...

1 Week Ago
by Xzonedude Go to last post
2 125
Lua scripting
 

Entity Question

So I am working on an entity and I am wondering how I can put some floating text above it saying (For example) 'Press E on me!'. - Thanks!

1 Week Ago
by Netheous Go to last post
1 100
QUESTION
 

Updated Control Point Example

I was searching about how to make a conquest gamemode and found this thread with an example. 2 problems: 1. It's from 2009 2. The code is confusing Is there an updated example anywhere (or can someone make one) AND the main question, can't I just do...

1 Week Ago
by mcd1992 Go to last post
2 114
Help
 

Zombie Survival Pointshop help

Hi there I recently went editing the sh_options file to add in the FA:S weapons and it all was fine when I only edited the worth menu part but after I added the rest of the weapons to the pointshop part now when you press f2 the pointshop wont open but...

1 Week Ago
by Braintwistah Go to last post
0 81
games
 

People joining in as "unassigned"? HELP

People in my server started joining as "unassigned" people/playermodels. Now I think i may have an idea of why this was happening but im not sure. Was it because i wasn't using the Darkrp Modifications? I would really appreciate any help/feedback as this...

1 Week Ago
by kpjVideo Go to last post
3 123
Stupid
 

solved Help pls and thanks xP

-snip- thanks to the guy below V VVVVVVVVVVV

1 Week Ago
by King Penisless Go to last post
1 95
Lua scripting
 

Admin Playermodel Thread

Hi, facepunch. I have my own GMod sandbox server. So, I dont know how to make playermodels for admins (superadmins) only. (Users cant use this playermodels) I tried to find how to do that, but found nothing. Help me, please. (Sorry, If my english...

1 Week Ago
by Xaotic Go to last post
5 144
Help
 

attempt to get length of local 'query' (a userdata value)

Hey! So here I am, I'm trying to fix an old gamemode, from 2009 and I've got some issues to convert the mysql. (It used gdatabase and now it's on mysqloo) So here's the error: attempt to get length of local 'query' (a nil value) And the script:

1 Week Ago
by >>oubliette<< Go to last post
3 164
QUESTION
 

DModelPanel SetLookAt cursor?

Hello, I was just wondering how to get a DModelPanel (playermodel in this case) to follow your cursor with it's head. (look where you are pointing) I've messed around with SetLookAt but I was only able to get non-moving positions. Any help would be...

1 Week Ago
by Kogitsune Go to last post
2 105
Help
 

DarkRP - HUD PlayerName Changes font help?

Hi, bassically i'm trying to make players usernames fit on my hud by changing the font to a smaller font if their name is over 20 characters. This is what i have so far but it isn't working. Could somebody fix please and tell me why it isn't working....

1 Week Ago
by TheEmp Go to last post
2 94
Help
 

solved MAP resource

hey! im making a server and i only want the map to download if we are playing on it i know there is a function for it so if map = "one we are using" then resource.AddWorkshop("themap") just not sure if i need a hook or what function to put it in. there...

1 Week Ago
by TrippleT Go to last post
2 90
Lua scripting
 

How would I create multiple SWEPs? This thread has images

Basically,my LUA code only has one SWEP coded into it. Now I want to know how I could expand and put in more weapons? Also, would a laser beam just effect one weapon or all of them? Would I need multiple LUA files for each individual gun? Thanks...

1 Week Ago
by viper720666 Go to last post
6 215
QUESTION
1 Week Ago
by Internet1001 Go to last post
4 109
Art
 

PNG materials? This thread has images

local splash = Material("gmachines/splash.png") function ENT:Draw() render.MaterialOverrideByIndex(1, splash) self.BaseClass.Draw(self) end What am I doing wrong?

Ott
1 Week Ago
by Ott Go to last post
8 213
beta
 

[BINARY] gm_crypt high functional hashing/crypting This thread has images

I'm sick of bumping Seth's old thread so I made this one Download Just rename it to gmcl_ if you want it clientside. Source number crc16(string)

1 Week Ago
by Cardcapture1 Go to last post
30 1,833
Help
 

DarkRP In-Game Server Switcher

I was wondering if anyone knows an addon that allows a player to switch in between your own servers. I know with ModernMOTD, you can do this, but im trying to find a free addon. Any help would be great.

1 Week Ago
by CASAVANT Go to last post
4 177
Help
 

solved How to make key bind to open and close the menu?

I came up with this code that opens the menu: local FKeyMenus = { KEY_F4 = phm_1; KEY_C = phm_1; }; hook.Add( "PlayerBindPress", "PlayerBindPressFKeyMenus", function( _p, _bind, _pressed ) local _key = "KEY_" .. string.upper(...

1 Week Ago
by VashBaldeus Go to last post
0 60
Lua scripting
 

How do I get the variable of a clientside weapon?

Alright, so I could be completely misreading a large swath of Lua code, but many TTT weapons have block of code like this: if CLIENT then SWEP.PrintName = "AK47" SWEP.Slot = 2 -- add 1 to get the slot number key SWEP.ViewModelFOV = 72...

1 Week Ago
by PatPeter Go to last post
8 343
Help
 

How do I test my custom particle?

Hello everyone, I made my first custom source engine particle today, and had GMOD in mind. How can I test my new particle? It is a leaf particle effect, so, I want to see leaves falling from a soda can or something. Please help. Thanks, -Blue

1 Week Ago
by BlueMustache Go to last post
6 111
Help
 

Can't update workshop submission's thumbnail

Hello, I've been trying to update the thumbnail of my workshop submission after I noticed that there's something wrong with it. I tried the wiki's way but it didn't work, here's what I got: I tried the normal update way but all what happened...

1 Week Ago
by KleinerHl Go to last post
0 67
Help
 

DListView using SortByColumn?

I have this code local spawnLogList = vgui.Create("DListView", spawnLogPanel) spawnLogList:SetMultiSelect(false) spawnLogList:SetPos(2, 2) spawnLogList:SetSize(frame:GetWide() - 30, frame:GetTall() - 80)...

1 Week Ago
by OMGOMG132 Go to last post
0 51
Tutorial
 

Best Extensive Tutorials

Hello everyone. I have been using Lua for a long time, and have intermediate knowledge of the language, but I have yet to find a thorough, extensive tutorial for GMod scripting. How did all of you learn? Did any of you use YouTube? An E-book? Any...

1 Week Ago
by mcd1992 Go to last post
3 161
Lua scripting
 

Derma Question

So I made a Button on my derma menu that gives the player guns when clicked. How can I get it to take money from the player when clicked as well? And how can I limit the button to one team such as CP?

1 Week Ago
by Mr.Mezzy Go to last post
7 209
Help
 

solved DermaMenu freezes player movement when opens...

DermaMenu freezes player movement when opens. I have this DermaMenu: local p1_base = vgui.Create( "DFrame") //Menu Frame p1_base:SetSize(176, 571) p1_base:SetPos(sWidth-176,sHight-779) p1_base:SetTitle("Menu Title")...

1 Week Ago
by VashBaldeus Go to last post
2 67
Help
 

solved Setting the DermaMenu:SetPos() to the right side of screen..?

How do I need to set this: p1_base:SetPos(ScrW(),ScrH()) So the menu would appear more or less like this: http://oi59.tinypic.com/27zaxqu.jpg Meaning so it will show up on the right side of the players screen in the middle.

1 Week Ago
by VashBaldeus Go to last post
0 58
Lua scripting
 

SNPC Changing Walk Animation HELP

Hay, I want to change walking animation of my zombie snpc. And i have a question. Can i use for example HeadCrab Zombie's Walk animation to Citizen model? Please Give me hints/tips or bit of code. Thanks!

1 Week Ago
by JakusPL Go to last post
0 85
Lua scripting
 

solved Expected ')' near |. help me

AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include('shared.lua') local schdChase = ai_schedule.New( "AIFighter Chase" ) //creates the schedule used for this npc local enemy = ents.FindByClass("npc_*", "snpc_*", "monster_*",...

1 Week Ago
by JakusPL Go to last post
3 148
Help
 

DarkRP - PlayerName size changes if name is too long?

Hi.. I'm in the process of making a HUD and i'm having a little problem i can't seem to solve. I need to make it so when a players name is over 17 the font changes size. Here is what i have tried so far but it doesn't work. surface.CreateFont(...

1 Week Ago
by vontiagaming Go to last post
4 105
Request
 

wiki.garrysmod.com - expanding side menu annoyance

I'm not sure where to report this, but on http://wiki.garrysmod.com/, when viewing the Lua API by expanding the tree nodes on the left, if you then visit one of those sections, the whole page is re-rendered and the tree menu resets - so if you want to...

1 Week Ago
by ph:lxyz Go to last post
5 244
Help
 

solved Parsing all rows from a SQL Table.

Hello all again, So i'm trying to parse a complete table to manage player bans (yes i'm remaking gmod banning system). Here is what i'm using This code is in the intialization of my ban mod : timer.Create("RRP_BanManagerUpdater", 3600, 0,...

1 Week Ago
by Acecool Go to last post
15 321
Release
 
Winner x 23

GMPublish - publish addons to workshop ( 2 3 4 5 .. 12 13 14 15 Last ) This thread has images

Windows/Linux/OSX: These files are available in the bin folder of your Garry's Mod install. Publishing an Addon to Workshop I am going to assume you have already created your gma file using this tool. To publish your created addon to the...

1 Week Ago
by Rassy Go to last post
569 71,409