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

solved Zombies not spawning

Figured it out

3 Weeks Ago
by Invule Go to last post
9 282
Help
 

solved Spectate after round ends?

It would be nice if someone edited this code so that when a round ends you go into spectator mode, and when a round begins you spawn back into the game. I'm having a very hard time doing this. include( 'shared.lua' ) --Tell the client to load...

3 Weeks Ago
by landbird13 Go to last post
4 162
Help
 

Fonts aren't working

I've been stuck on this for a while and thought I would ask here. I'm trying to make a DLabel for the title of a panel using the font found here: http://www.dafont.com/thirsty-script.font. However, the label doesn't show as that font; it's just a regular...

3 Weeks Ago
by gonzalolog Go to last post
8 188
Lua scripting
 

ULX Motd Print Message on new Players screen This thread has images

Is there a way to print a message on a new player's screen (that is not staff) after they close the Motd? Like this

3 Weeks Ago
by UnderYouFive Go to last post
16 353
Release
 

Website to hire coders and purchase scripts?

So hello guys, i am a fairly new PHP/CSS coder, but since coderhire.com is closing down i thought about making a websute somewhere close to coderhire. I am not sure when it will be up, but hopefully soon, when i open the website i am going to make...

3 Weeks Ago
by mib999 Go to last post
11 399
Request
 

Need a *simple* script for "merging" two bones of ragdolls together.

Hopefully this is the right place to ask, but basically I'm looking for a simple* tool like "Bone Merger" except between two ragdolls. *I'm not too linguistic on lua, so I have no idea how easy it would be Specifically, I would export a ragdoll in...

3 Weeks Ago
by Robotboy655 Go to last post
4 182
Help
 

solved playsound "music box.wav"

THIS IS NOT LUA! THIS IS THE CONSOLE! Although this does not seem fitting for the general discussion. How do I play a sound in the console with playsound, that has a space in it's name? like: playsound "/customtest/music box.wav" doesn't work. it tries...

3 Weeks Ago
by log404 Go to last post
12 212
Help
 

Timer help?

For some reason the timer always fails I don't know really what the problem is. But thanks in advanced for the help. I appreciate it. Here is the timer code. function init() timer.Create ("Lottery", Time, 0, function() Lottery() end) end hook.Add(...

3 Weeks Ago
by LoGiCKzZ Go to last post
0 86
Lua scripting
 

Darkrp Job spawn

How do i change the job that spawns when you join server...? becuase it spawns as a rock like person with no phygun but when you change to citizen your fine.

3 Weeks Ago
by LUModder Go to last post
4 143
Help
 

solved Derma DLabel Issues This thread has images

I am running into this issue all the time, and I'm not sure how to combat it.. self.info = vgui.Create( "DPanel", self ); self.info:SetSize( 400, 500 ); self.info.desc = vgui.Create( "DLabel", self.info ); ...

3 Weeks Ago
by Koolaidmini Go to last post
8 221
Lua scripting
 
Dumb x 21

[Release] Antinoob (auto-kick script by playtime) ( 2 Last ) This thread has images

I made a basic serverside script to kick players if their playtime does not match the minimum required because I'm tired of those little 2h-playtime-propkilling-kiddies joining my server and spamming it to death while I'm not watching. The script is no...

Uke
3 Weeks Ago
by sasherz Go to last post
52 1,759
Lua scripting
 

loading screen

How do i make a animated or slideshow loading screen i know the sv_loadingscreenurl "link" but how do i make it animated?? or loop through images

3 Weeks Ago
by code_gs Go to last post
3 157
Request
 

Need coder for server (FULL server coder)

So i am looking for someone that can code a gamemode with custom scripts/addons/huds/etc. for me. I will be paying weekly for the developer depending on how much work is done. As long as your working i will pay you. You should also be able to code sirens...

3 Weeks Ago
by crazyscouter Go to last post
3 153
Help
 

Untextured bullets

Okay so somethings up with myserver or something, whenever i shoot bullets out of my gun they are untextured like the purple+black squared things... can anybody tell me how to fix this?

3 Weeks Ago
by zerothefallen Go to last post
11 225
Lua scripting
 

gscript ( 2 3 Last ) This thread has images

gscript http://gscript.net https://github.com/MattWalton12/gscript After I heard about the shutdown of CoderHire, I took it upon my self to develop an alternative so that we don't have to resort to using a thread. gscript currently has the...

3 Weeks Ago
by NiandraLades Go to last post
108 2,677
Help
 

TTT Weapon stucks in the air

Soo i made this script for my TTT Server, it works very well but if a player throws the weapon away it stucks in the air. Hope someone can help me ;) if ( SERVER ) then AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "ar2" end if ( CLIENT )...

3 Weeks Ago
by mib999 Go to last post
7 224
Help
 

customising the scroolbar

HEy guys. I saw a few people customising the scrool bar that u guy with the vgui menu. this one: http://puu.sh/bqwKa/95f87709ef.jpg How would i be able to do that?

3 Weeks Ago
by Acecool Go to last post
3 132
Help
 

How can I get server port in lua??

I use GetConVarNumber("hostport"); but it's always 27015 How can I get server port in lua??

3 Weeks Ago
by code_gs Go to last post
6 237
Help
 

DarkRP - Changing the Money Printer color This thread has images

Hello! so i've been trying this for a while now XD and cant find a good thread or site that tells me how, so here i go XD im trying to change to color of a money printer. so what i learned from my "research" is that if have to add the code...

3 Weeks Ago
by No.Reponse Go to last post
2 135
Help
 

TTT Weapons fix help

Okay so when you try and throw the frag grenade on my server it doesn't throw it, it dissapears before it even leaves your hand here is the script for it im wondering if any of you could spot an error that might be causing this problem AddCSLuaFile() ...

3 Weeks Ago
by xthenarwhalx Go to last post
3 178
Help
 

ULX Syncing

Hello, guys! I currently own 2 murder servers, and I was wondering if there was a way to sync all of the ULX groups via MySQL, since it would help SOOOOO much to have them all automatically synced :) I really don't feel like having to add someone to a...

3 Weeks Ago
by ph03n1x Go to last post
0 100
Help
 

help me

In dupes mine is like ...

3 Weeks Ago
by syl0r Go to last post
1 116
Help
 

Freezing lua question

So I believe there is two ways to freeze player and it is lock and freeze, But lock doesn't seem to work and freeze only worked on a bot Im doing this with a darkrp bnaton that was modified. The code: function SWEP:PrimaryAttack() if CurTime() <...

3 Weeks Ago
by bfwlegend Go to last post
1 123
QUESTION
 

Garrys Mod Prop Hunt: Custom Models appearing on prop death

So in prop hunt, Prop bodys are not suppose to appear and rag doll, their suppose to just flat up vanish when the die. however, with the custom models we have on our servers for the Point shop, those models seem to appear when the prop dies and rag doll,...

3 Weeks Ago
by Eranisa Go to last post
3 176
Help
 

Are Dynmaic lights able to be viewed by client and server/all players? Help Please

Hey, i'm trying to get this light to be viewed by other players how would i do that? function Light( ply ) local ply = LocalPlayer() local veh = ply:GetVehicle() local rand = math.random(1,2) local dlight = DynamicLight( veh:EntIndex() )...

3 Weeks Ago
by wh1t3rabbit Go to last post
5 192
Help
 

q menu problem

in the q menu why do I have 2 things showing only in dupes and other people have 4 What resolution is this or is that not it.

3 Weeks Ago
by TheclassyDog Go to last post
2 115
Help
 

solved attempt to index local 'self' (a function value) error

This is my first attempt at making a custom VGUI button. So far, this is my code in the file "addon/lua/vgui/cButton.lua": cButton = {} cButton.OnMouseDown = nil cButton.OnMouseUp = nil cButton.State = nil cButton.ClickFunc = nil

3 Weeks Ago
by Khub Go to last post
2 126
Lua scripting
 

TTT Override radio commands

I wrote a small addon to overwrite the radio function. I did this so I can prevent people saying that they're with someone in spectator deathmatch or someone who is cloaked. It works perfectly when I overwrite the gamemode files, but I can't when I run it...

3 Weeks Ago
by LordButthurt Go to last post
4 131
Help
 

solved Removing Overlay with Console

self.Victim:ConCommand( "pp_mat_overlay my/overlay/here" ) I have this line under a function, and when the function happens the script is called, and it applies my overlay. It does so by running a console command, question is, which console command...

3 Weeks Ago
by ErrolLiamP Go to last post
3 119
Help
 

Prop Hunt Taunt Menu

Hey there, This is a quick one, but does anyone have a simple taunt menu that I could use for a new server? Following on from this, does anyone also have any code for allocating a certain amount of points for the pointshop to be given for each taunt...

3 Weeks Ago
by MeagreMuffin Go to last post
5 160
Lua scripting
 

Setting up a TTT server - can I get a quick tip?

Hello everyone! My friend is paying for a TTT server, and the guy that currently takes care of the server coding is about to quit. Since I have a small but decent knowledge of Python and Java (although it's been a long time that I don't have contact...

3 Weeks Ago
by coldkill3r Go to last post
4 225
Lua scripting
 

Help with net.WriteString and various other simple issues.

Hello all I am working on a small script and I want to exspand my knowledge on using the net libraries. I was trying to do something I thought was rather simple until I relised I couldn't do it. Perhaps someone could help me and educate me at the same...

3 Weeks Ago
by Robotboy655 Go to last post
7 175
Help
 

This lags the game?

Here is the code: (I know ents. related functions lag the game but is there another way to use to at least make them less laggy?) local friendslist = {"npc_vj_eye_deusex", "npc_vj_eye_deer", "npc_vj_eye_manduco", "npc_vj_eye_forma"} -- List for _,x...

3 Weeks Ago
by vrej Go to last post
4 265
Help
 

HL2 Weapon Functions

How do I make a weapon have the HL2 Weapon functions? Like if I wanted one gun to have the Combine Ball Launcher or one gun to have the Grenade Launcher or another to have the 2 round shotgun burst? I would I make that?

3 Weeks Ago
by Robotboy655 Go to last post
30 429
Lua scripting
 

Ragdoll Health?

I made a script that knocks people unconscious (Spawns a ragdoll when health is at 30 or below) I would like to know how to add health to it. Like for example if I shoot it, it then sets the ragdoll health down and eventually sets a Boolean value true. ...

3 Weeks Ago
by extra.game Go to last post
11 205
Help
 

Cars spawning under/in map?

Hey guys, I have a little problem here. Basically, whenever a car is spawned, whether it's from Q menu or a Car dealer, the tires are in the road and therefore it makes the car go ridiculously slow. And unless you physgun the car out of the road, it will...

3 Weeks Ago
by Acecool Go to last post
4 136
Help
 

solved PERP server crash when using car brake

Hi my perp server always crash when someone using the car brake... someone have the solution? (sorry there is no error in the console i will look more tomorow but please help me) Thanks you for reading :D

3 Weeks Ago
by supmax Go to last post
5 207
Help
 

DarkRP eveyrone can see the guns

I have a little problem with my DarkRP server. I have set all the guns to seperate and shipments. And set the teams correct, but people from other teams can see the guns but they can't buy them. But I don't want them to be able to see the guns since it...

3 Weeks Ago
by stapler2025 Go to last post
6 184
QUESTION
 

Any tips on keeping code short

Im making a an motd menu with my own custom tabs since DProperty sheet styling is useless and at the moment i have 1 tab, some various styling for the menu and theres just so much code for derma. Is that fine or are there ways to shorten it? Ill post some...

3 Weeks Ago
by Kogitsune Go to last post
2 182
Lua scripting
 

<eom> missing near end (Lastline)

f.e concommand.Add("AHack_Menu", function() //Im only using DColumnSheet because everyone used DPropertySheet. I just want to be different local main = vgui.Create("DFrame") main:SetSize(500,496) main:Center() ...

3 Weeks Ago
by helplesskitty Go to last post
3 157