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

Hiding Chatbox

So I'm trying to hide the default chatbox. I've managed to make it disappear whenever a player begins to chat (opens the chatbox). It seems that the way to hide it is by returning true in the StartChat hook. However, this doesn't seem to work unless...

2 Weeks Ago
by LauScript Go to last post
8 186
Help
 

solved Help with an error

Can Someone help me out and point me in the right direction for fixing this error that is getting spammed in the server logs. L 08/17/2014 - 12:16:12: Lua Error: gamemodes/terrortown/entities/entities/base_ammo_ttt.lua:107: attempt to call method...

2 Weeks Ago
by npd1124 Go to last post
2 110
Help
 

solved attempt to perform arithmetic on global 'expNeed' (a nil value)

The area that gives off errors: cl_init This is used inside of the HUD Draw hook The network int is saved inside of PData and gathered/created on PlayerInitialSpawn TEST gamemodes/example/gamemode/cl_init.lua:21: attempt to perform...

2 Weeks Ago
by Monkey4TL Go to last post
6 135
QUESTION
 

Ideas for features for Automatic donation system

Hello, i'am currently developing a Automatic Donation System, and i wondered if any of you guys had any ideas for some good features to add ? I'm not a very creative person neither, so i also wondered if any of you had any god ideas for a name for my...

2 Weeks Ago
by severinfg Go to last post
7 202
Request
 

solved bad argument #2 to 'HeadPos' (number expected, got nil)

Hey guys, I have been trying to make some ESP for fun for my build server, But I have been getting some LUA Errors The error is lua/kittix.lua:130: bad argument #2 to 'HeadPos' (number expected, got nil) 1. HeadPos - :-1 2. Visible -...

2 Weeks Ago
by LauScript Go to last post
17 177
Lua scripting
 

Nextbot BehaveUpdate

i'm trying out the Behave Update Function for a Nexbot i'm trying to code, where it updates every time it's target comes into Melee range. I use the following: function ENT:BehaveUpdate( fInterval ) if ( !self.BehaveThread ) then return end ...

2 Weeks Ago
by MysticLlama Go to last post
1 120
Help
 

Different looks to wiremod

Does anyone know how to make it so wiremod looks like this http://gyazo.com/ff89c17b6afd18b7c9493584f6e1a62e, whenever I install it it always looks different. Did they manually code this or is there an addon that makes wire look like this?

2 Weeks Ago
by npd1124 Go to last post
7 172
Help
 

Making a weapon with fists.

Hello. I was wondering how can i make a swep without a viewmodel, just using ur hands as fists? Since i dont want one kind of models, i want each model to have his hands.

2 Weeks Ago
by tzahush Go to last post
2 158
Help
2 Weeks Ago
by Acecool Go to last post
10 183
Help
 

ShoolRP?

I want to change darkrp 2.4.3's title to "ShcoolRP" on gmod. Many servers have done this but I don't know how? Tell me which files to change and what lua lines to edit!

2 Weeks Ago
by Baron von Hax Go to last post
30 736
QUESTION
 

Making people stop killing through fences

On my deathrun server people can kill the deaths through the death barrier with the sweps. I have no idea what is causing this. Here is a script of a swep SWEP.ViewModel = "models/weapons/v_frostmourne.mdl" SWEP.WorldModel =...

2 Weeks Ago
by Jeezy Go to last post
1 146
beta
 

solved SetScissorRect in panel Paint

So you know how every drawing function called in a panels paint function originates at the start of the panel (even if using 0,0) Does SetScissorRect ignore that? I got this: render.SetScissorRect(0,0,self.hoverOn,h,true) --h = panel height...

2 Weeks Ago
by Robotboy655 Go to last post
1 114
Lua scripting
 

TTT NWString problem

Hey facepunch, I can not find a problem with my nickname system. So basically, I use a ulx command to set a player's NWString, it stays for only one map. It changes the next map. I don't think TTT resets Network strings after map. Function...

2 Weeks Ago
by Sm63 Go to last post
17 364
Help
 

Derma Button Paint Help

Hey. Can anyone help me with this. I'm just starting on Derma and wanna try a few things before I try to make anything too advanced with it. I have a panel with a few buttons and sliders. I made the buttons solid white by doing the paint function and...

2 Weeks Ago
by IMayhem Go to last post
3 124
Help
 

Positioning HUD

This is the code for the KunFuel that I believe contains the HUD. function Kun_Gasmeter() local ply = LocalPlayer() local car = ply:GetVehicle() if(car != nil and car:IsValid() and car.KunFuel != nil) then draw.RoundedBox( 4, ScrW() - 125,...

2 Weeks Ago
by crazyscouter Go to last post
3 101
Help
 

How to get current gamemode of server?

So I have a decent amount of lua scripts for my server, but most of them work only with TTT and break/cause ungodly amounts of errors in other gamemodes. How would I check what gamemode the server is in to make these scripts run only in ttt?

2 Weeks Ago
by code_gs Go to last post
7 214
Help
 

view angles

Hi again I have the below code for an mmo-style third person camera mode. I'd really appreciate if someone could give it a try and tell me what's wrong! Press F2 to switch to third person. Move the camera in this mode by bumping the edge of the...

2 Weeks Ago
by Acecool Go to last post
1 147
games
 

bug of f4 in darkrp

hello I can not close the menu trades in darkrp (key = f4). I can open the menu trades but I still press f4 to close but then its not working. I change the key (f4 >> h) but favor. if anyone has a solution? thank you in advance. :smile:

2 Weeks Ago
by Zephruz Go to last post
2 175
Help
 

solved [DarkRP] Messages on Day/Night with Atmos

Hello, I am wanting to make a day/night message system for my friends DarkRP server. He has an undead job that I want to have messages for when they attack and when they don't I was wondering if there was a way to do this and have it "hook in to" Atmos...

2 Weeks Ago
by LUModder Go to last post
2 112
Help
 

Change Player movement animation

How do you change the player movement animation for walk, run, swim and such? I want to make civil protection (combines) actually move like combines

2 Weeks Ago
by Jeezy Go to last post
4 144
News
 

solved [IMPORTANT] Garry's Mod IP ban exploit through steam browser.

-SNIP- I was trying to be smart in all :( No one loves me

2 Weeks Ago
by crazyscouter Go to last post
2 214
Help
 

solved Pointshop change points in file

Hello, How to change points in the file please ? Best Regards

2 Weeks Ago
by Chimpanzee Go to last post
5 116
Lua scripting
 

How to make the knife have infinite uses in TTT?

I am trying to make a lua file that is exactly identical to weapon_ttt_knife.lua except it's called weapon_ttt_k.lua and it cannot be bought and has infinite uses. I want to use it for knife only fights on my server. Thanks a lot!

2 Weeks Ago
by Chimpanzee Go to last post
1 109
QUESTION
 

Re-install server but keep important settings.

So basically my server is having issues and addons are not working properly. I have many addons that are either half broken or won't work I have tried many solutions to try to determine the problem but can't. To fix this I believe the best solution is to...

2 Weeks Ago
by Acecool Go to last post
4 148
Lua scripting
 

Murder Loot Adding This thread has images

So right now I am testing how to add loot spawns to maps that aren't supported by default. The map I am currently testing this with it gm_construct. I am getting errors when trying to add prop spawns through the files and the command "mu_loot_add...

2 Weeks Ago
by Gizmotist Go to last post
7 249
Release
 

NetWrapper - a simple and lightweight networking library This thread has images

Hello friends! This is my first publicly-released library. I originally wrote this to create a centralized way of networking data with net messages and without the use of ENTITY:SetNW* / ENTITY:SetDT*. The code is available on GitHub Addon...

2 Weeks Ago
by Kidd Go to last post
35 1,614
Stupid
 

Need help with coding

Hey everyone! I am new to lua/gLua and I am still learning so please don't judge :( Anyways so basically I have a timer for a gamemode called The Purge and when the purge starts I want it to remove vehicles that are currently on the map and make it so...

2 Weeks Ago
by LieutExcalibu Go to last post
11 245
Help
 

[Not allowed by whitelist]

I've been looking around for a while now and I just couldn't find out how to solve this issue. Most of them had the until I lowercased most of the "Jane" in the text below. OTher than that, I'm not sure what else to do for it to go ahead and create the...

2 Weeks Ago
by javoris767 Go to last post
2 122
Lua scripting
 

TTT gamemode problems

Heey guys, I'm kinda new into hosting a server but i've got myself quite far with a TTT gamemode for now (as i say myself hahaha) now i have 2 problems, 1. When my server reachs the amount of players to let a round start the round won't start. I'll...

NoFearzz 1 reading
2 Weeks Ago
by NoFearzz Go to last post
4 102
Help
 

Attempting To update entity from toybox to Gm 13

Hello all. I was attempting to find the old toybox "black hole" in the gmod workshop, but the one I remembered wasnt there. I took a look through my old gmod folder (before the steam pipe update) and found some old gcf files under the toybox folder. When...

2 Weeks Ago
by Mista Tea Go to last post
11 310
Lua scripting
 

SWEP wont appear in game

Alright this is my swep, I have made sweps in the past and they have worked fine, I have no idea what is wrong. But it refuses to show up in menu: SWEP.Base = "weapon_base" -- Effect settings SWEP.PrintName = "Soul Power : Soul Energy Art - Soul...

2 Weeks Ago
by DEAD KARL Go to last post
6 164
Lua scripting
 

Physgun problem

When i use to ragdoll people on my server via ULX i could pick them up... rope them ect... but now i cant i physgun them they glow but wont move or freeze any idea what to do...

2 Weeks Ago
by gonzalolog Go to last post
3 121
Help
 

solved DarkRP ULX Commands

I am looking for a module to addon to my DarkRP server that will have commands for giving/taking money and assigning jobs to players. Anyone know where I can get this? (Yes I googled first)

2 Weeks Ago
by Praesdynamite Go to last post
1 92
QUESTION
 

ulx help

In darkrp theres a ulx command for allowing and disallowing certain groups to pickup players anyone know the directory of that script?

2 Weeks Ago
by Baron von Hax Go to last post
1 115
Help
 

change walk behaviour

Hi all Can someone please point me in the direction of which function I would need to use to change the behaviour of pressing the A and D keys? I need to be able toggle them from strafing left and right to turning left and right. Currently this can be...

2 Weeks Ago
by selfdestruk1 Go to last post
2 101
Help
 

solved Player Models wont ragdoll?!?!

I have never had this issue ever.. I uninstalled everything I added recently yet still having the issue. You can kill in post round and you body will just vanish same with during round..

2 Weeks Ago
by D3M0NiiCx Go to last post
4 131
Help
 

solved Hook to run code directly after clientsideinfo was sent

Hello! I want to play a sound as the player joins, only can get the inital spawn hook but the player spawns before clientside info was sent/before the player is actually ingame. Any clues?

2 Weeks Ago
by Xaotic Go to last post
4 210
Lua scripting
 

solved ok I have messed my jobs up with error

OK so I'v been told from many people how to fix my job error near custom check. and I'v made it worse because the guy had no clue how to do it and the group i want it in is called "Rags class" and also "lemons class" for another group and also a group...

2 Weeks Ago
by Acecool Go to last post
14 272
Help
 

Pointshop & Levels?

Can I somehow implement this script to work with pointshop so you require a certain level to buy some items, & just something as simple as getting exp after each round you win? If you could teach me that'd be amazing <3

2 Weeks Ago
by HumbleTH Go to last post
10 259
Help
 

How to add Prop rotation?

Was wondering if anyone could help me in sorting out the ability for prop rotation for this version of Prop Hunt: https://github.com/xspacesoft/PropHunt

2 Weeks Ago
by zeaga Go to last post
7 189