204 Results
[QUOTE=PortalGod;46956781]when using a gamepad, InputMouseApply's fourth arg (the view angle) changes correctly, but args 2 and 3 (delta x and delta y) stay 0. they work fine when moving the mouse. is this intentional?[/QUOTE] [IMG]http://facepunch.com/image.php?u=235325&d...
Kittai Developing Reply
For the love of god, please [lua] use tags.
Kittai Help & Support Reply
[QUOTE=ms333;43178861]How are you supposed to open it then?[/QUOTE] He probably just wants it to open through the button or keypad tool, rather than players using their numpad.
Kittai Developing Reply
[QUOTE=Feihc;43176859]Paladin! [vid]https://dl.dropboxusercontent.com/u/9780864/gm_paladin.webm[/vid][/QUOTE] Diablo II :dance: Really cool!
Kittai Developing Reply
[url]http://facepunch.com/showthread.php?t=1215910&p=37938741&viewfull=1#post37938741[/url] It's not gonna be exactly like CS:S movement, but pretty similar.
Kittai Developing Reply
[QUOTE=_Undefined;42061453]Just so everybody knows, this isn't how to get your ban reduced.[/QUOTE] How could you ban my future customer! [img_thumb]http://i.imgur.com/EWups68.png[/img_thumb]
Kittai Developing Reply
pls be quiet, you'RE both dumb :wink:
Kittai Developing Reply
Can you please fix going back to a previous page? If I'm on page 15, click on a script and I press back on my browser, it sends me back to page 1 instead of page 15.
Kittai Developing Reply
[QUOTE=attacker1983;41599946]can somone help me so when you become a job you cant /drop the weapons the job spawns with i need a full explenation for a noob at lua (i dont even know lua) so i need the line where the code goes etc[/QUOTE] Check the config.lua file, I believe it...
Kittai Developing Reply
[QUOTE=Banana Lord.;39751303]I agree with Sadistic, I really miss the server hosting section[/QUOTE] What about the Roleplay forum? :v:
Kittai Developing Reply
Pistachio points to the sledbuild thread :v:
Kittai Addons Reply
[lua] local amount = 10; hook.Add( "PlayerDeath", "KillPoints", function( victim, weapon, killer) if( IsValid( killer ) and IsValid( victim ) ) then if( killer:IsPlayer() and victim:IsPlayer() ) then if ( killer:Team() == TEAM_RUNNER and victim:Team() =...
Kittai Addons Reply
Just got an update, when I open up gmod it just closes right away. Doesn't even launch. [editline]20th December 2012[/editline] No errors or anything.
Kittai Help & Support Reply
Garry's Mod not launching?
Kittai Help & Support Thread
[QUOTE=Hyper Iguana;38896609]Does anyone happen to know how to remove the default player description when you hover over someone?[/QUOTE] function GM:HUDDrawTargetID()
Kittai Developing Reply
You should really use tab when you code.
Kittai Developing Reply
One of my friends fixed up this gamemode, the only server running it at the moment. One of the major problems (other than getting the gamemode to run properly) was that bullets lagged people, making them glitch through walls and just in general chop around.
Kittai Addons Reply
[QUOTE=_Undefined;38814621]Does anyone have request for hats, masks or heads they'd like adding? I'm going to add all or most of these anyway: [url]http://www.garrysmod.org/downloads/?a=view&id=97791[/url][/QUOTE] Custom headcrab model... just looks bigger; see no point in th...
Kittai Addons Reply
I think he meant MelonRacer.
Kittai Developing Reply
No, it goes by this function [lua]function meta:TeamBan(t) if not self.bannedfrom then self.bannedfrom = {} end t = t or self:Team() self.bannedfrom[t] = 1 timer.Simple(GAMEMODE.Config.demotetime, function() if not IsValid(self) then return end self:TeamUnBan(t)...
Kittai Developing Reply
v:TeamBan()
Kittai Developing Reply
Inside gamemode/server/gamemode_functions.lua go to the function GM:PlayerLoadout(ply) function then edit what players get.
Kittai Developing Reply
[QUOTE=jarikfw;38663227]http://puu.sh/1whQO how could i make it so? hook.Add PlayerDeath than remove trail/smoke[/QUOTE] OHH UMM YOU JUST SET IT TO NOT DRAW
Kittai Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
[QUOTE=nick_9_8;37880971]I wanted him to work for himself instead of constantly asking a shitton of basic questions :v:[/QUOTE] I'm sorry just wanted to be helpful :(
Kittai Developing Reply
At line 326 in darkrp/gamemode/server/player.lua there is this: [lua] if tobool(GetConVarNumber("removeclassitems")) then for k, v in pairs(ents.FindByClass("microwave")) do if v.SID == self.SID then v:Remove() end end for k, v in pairs(ents.FindByClass("gunlab")...
Kittai Developing Reply
Perfect for DarkRP.
Kittai Addons Reply
[video=youtube;4UlZyuFiGks]http://www.youtube.com/watch?v=4UlZyuFiGks[/video] Need to be relaxed man...
Kittai Developing Reply
I'm sorry, but.. [QUOTE=PencilOnDesk;36536805]http://www.youtube.com/user/[U][B]pigfucker480[/B][/U]/videos[/QUOTE] [IMG]http://facepunch.com/fp/emoot/frog.gif[/IMG]
Kittai Developing Reply
Here is a snippet of an old code I have. I know it's in physgundrop but it's an example [lua]function PhysgunDrop( ply, ent ) local tr = {} tr.start = ent.StartPos tr.endpos = ent:GetPos() tr.filter = Ents local trace = util.TraceLine(tr) tr.start = ply:GetShootPos() ...
Kittai Developing Reply
You could find the dropmoneyondeath hook and use it on OnNPCKilled, then use math.random 1, 5.
Kittai Developing Reply
This is too good.
Kittai Garry's Mod General Reply
Took this long for someone to release it on FP?
Kittai Garry's Mod General Reply
I don't think the GUI is bad at all. Not great but not bad.
Kittai Addons Reply
What the...
Kittai Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
[QUOTE=whitespace;36003614]Draw library doesn't have word wrapping either. I suggest you to use [URL="http://bananatree.im/wiki/wiki.garrysmod.com/index5fee.html?title=DTextEntry"]DTextEntry.[/URL] Remember to do SetEditable( false ) and SetMultiline( true ).[/QUOTE] [url]ht...
Kittai Developing Reply
It doesn't work in brackets though. So I guess I will do it in a straight line with ""
Kittai Developing Reply
[QUOTE=InfernalCookie;36000373]SetPos( xvalue, (Default Pos) + 12*k )[/QUOTE] What is xvalue, and how can I get the default pos?
Kittai Developing Reply
[QUOTE=InfernalCookie;35999994]( I seperated each line with /n )[/QUOTE] So I just have to add \n to every sentence? Someone said I can use string.explode but I don't know how it works. [editline]a[/editline] Oh God... I used this: [lua] function GM:DefinitionsTab() local Help...
Kittai Developing Reply
What else could I use for text? (That would work with darkrp f4)
Kittai Developing Reply
Do I have to add position and size for SizeToContents? I already have it in there.
Kittai Developing Reply
In DarkRP, I'm adding a definitions tab with text but the text cuts out halfway. Here is all the code: showteamtabs.lua [lua]function GM:DefinitionsTab() local Help = vgui.Create("DPanelList") Help:SetSpacing(1) Help:EnableHorizontal(false) Help:EnableVerticalScrollbar(tru...
Kittai Developing Reply
DLabel cuts out text?
Kittai Developing Thread
As said above, PData stores strings, ints and floats. You could use Glon for this.
Kittai Developing Reply
[QUOTE=Map in a box;35954193][B]outside[/B][/QUOTE] what is that
Kittai Developing Reply
Try using this? [lua]ply:SetPos(table.Random(PlayerSpawns))[/lua]
Kittai Developing Reply
-snip-, found out why.
Kittai Developing Reply
Why isn't this clean script working correctly?
Kittai Developing Thread
[url]http://www.facepunch.com/threads/1172596[/url]
Kittai Developing Reply
You would use ents.Create("darkrp_laws") and hook it up with InitPostEntity.
Kittai Developing Reply
Same here.
Kittai Help & Support Reply
I got banned for prop glitching(using madcows recoil to shoot through props), but the reason was "your a horrible minge, take lesons". I take that as a compliment more than anything.
Kittai Garry's Mod General Reply
That's weird, when I joined you were talking about how "You can take people offline"... so I didn't want anything to do with your server after that.
Kittai Developing Reply
You would have to go to gamemode_functions.lua and edit it in the Playerspawn and Playerloadout hooks.
Kittai Developing Reply
Anyone know why my little code isn't working?
Kittai Developing Reply
When I try this it doesn't do anything: [lua]function ENT:Use(activator,caller) if activator:IsPlayer() then timer.Simple(20, function() activator:SetColor(Color(255, 255, 255, 255)) activator:ChatPrint("Your experimental drug wore off.") ...
Kittai Developing Reply
I agree it was a tad bit suspicious, I never seen any commit have over 3 positives on the DarkRP code and it was at 10 within 1 hour and half. But I'm glad you guys came up with a decision.
Kittai Addons Reply
I can do these, add me on steam.
Kittai Developing Reply
[QUOTE=.Kaleb;35671267]I lol'd at your ban barricade. [url]http://code.google.com/p/darkrp/source/detail?r=1118[/url][/QUOTE] HAHAHAHAHAHAHAHA [url]http://code.google.com/p/darkrp/source/detail?r=1123[/url] Damn drake...
Kittai Addons Reply
I lol'd at your ban barricade. [url]http://code.google.com/p/darkrp/source/detail?r=1118[/url]
Kittai Addons Reply
Can't believe this hasn't been answered! Go to showteamtabs.lua and around between lines 513 to 515 there is this: [lua]icon:SetIconSize(120)[/lua] Just set it lower, on my DarkRP it's set to 90. Cheers!
Kittai Developing Reply
Looks very nice, going to test this on lan!
Kittai Addons Reply
[url]http://facepunch.com/threads/1175343?p=35442203&viewfull=1#post35442203[/url] One by the one and only, Lauscript.
Kittai Developing Reply
Anybody?
Kittai Developing Reply
I tried both ply and ent, they both return nil.
Kittai Developing Reply
Both of those are returning nil.
Kittai Developing Reply
Sorry for bump, but ent:GetPos() targets the players feet, how would I make it go through head to feet of the player?
Kittai Developing Reply
That map looks bad.
Kittai Addons Reply
Garry's Mod is more popular than it ever was before.
Kittai Garry's Mod General Reply
[QUOTE=Disseminate;35572664]400 zombies count 'em[/QUOTE] You just told us how many zombies there were! We don't need to count!
Kittai Developing Reply
What is boxcord?
Kittai Developing Reply
If you want to add another tool, do this: [lua]tool == 'rope' or tool == 'hydraulic' or tool == 'another_tool'[/lua] You forgot to add tool == on the last one. If you want it to show a message, do this: [lua] hook.Add("CanTool", "NoToolOnWorld", function(ply, trace, tool) ...
Kittai Developing Reply
[lua]hook.Add("CanTool", "NoToolOnWorld", function(ply, trace, tool) if tool == 'rope' or tool == 'hydraulic' then if trace.Entity:IsWorld() then return false end end end)[/lua]
Kittai Developing Reply
What about class C_ClientRagdoll, class C_PhysPropClientside, class C_HL2MPRagdoll?
Kittai Developing Reply
[url]http://www.facepunch.com/threads/980087[/url]
Kittai Developing Reply
Just wondering. Say if I had a script that removed a prop from a certain area by doing timer.Create, will it eventually lag from creating multiple timers?
Kittai Developing Reply
Can timer.Create cause lag?
Kittai Developing Thread
[QUOTE=DreBly;35063667][lua] function GM:PhysgunDrop( ply, ent ) if ply:IsPlayer() and ValidEntity(ent) then for k, v in pairs(player.GetAll()) do if v:GetPos():Distance(ent:GetPos()) <= 50 then ent:Remove() end end end end [/lua] Something like that will work...
Kittai Developing Reply
Can someone give me an example?
Kittai Developing Reply
Player Inside prop
Kittai Developing Thread
Alright so, what I am doing here is when you are holding a prop, and you drop it, then if the prop is too close to the player then just remove it. It works, but only for me. If I put the prop too close to another player, it doesn't remove the prop. Here is what I am using: [...
Kittai Developing Reply
-snip-, accident
Kittai Addons Reply
Looks great... *Wishes that aide will fail*
Kittai Addons Reply
Looks great.
Kittai Addons Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
[QUOTE=trotskygrad;34995889]guys, how many more servers do we NEED [IMG]http://i.imgur.com/3G68t.png[/IMG] dat yuri kalashnikovi person made his own server D: This makes me sad though [/QUOTE] Where is my server :(
Kittai Addons Reply
Just played this for the first time. I like it, though it did take me a while to get used to.
Kittai Addons Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
Welcome back!
Kittai Level Design Reply
DarkRP base gmod gamemode. :v:
Kittai Addons Reply
I have a huge feeling you made your room spotless before taking the picture.
Kittai Programming Reply