Show Posts
|
Pages: [1] 2 3 4 ... 13
|
2
|
Other / Trouble in Terrorist Town / SVN Credentials?
|
on: October 08, 2011, 08:43:38 AM
|
Hey, well its been a while since I was on here last, hello to anyone who can still remember me :)
Anyway, I tried using the SVN recently: http://facepunch.svn.beanstalkapp.com/gmodgame/garrysmod/
But it's asking for a username and password... which I don't have...
Would anyone know what it is?
Thanks :)
-Manmax75
|
|
|
4
|
Other / Trouble in Terrorist Town / Re: Advice with this code:
|
on: March 15, 2011, 09:19:30 PM
|
the hook "TTTBeginRound" does not return any player object values, thus ply will be nill and your script wont work. You can probably try overriding the default ttt model set function. Try the following code: function GM:PlayerSetModel(ply) if ply:IsActiveDetective() then ply:SetModel ( "models/player/gman_high.mdl" ) else local mdl = GAMEMODE.playermodel or "models/player/phoenix.mdl" util.PrecacheModel(mdl) ply:SetModel(mdl) end end
I am not sure if this will fully work, worth a shot tho.
|
|
|
10
|
Other / Trouble in Terrorist Town / Re: What the hell is wrong with this code?
|
on: February 25, 2011, 09:09:55 AM
|
try doing elseif rather then else so:
function MySBColors(ply) if ply:IsUserGroup("vip") then return Color(255, 85, 0) elseif ply:IsUserGroup("operator") then return Color(0, 255, 237) elseif ply:IsUserGroup("designer") then return Color(1, 1, 1) end end
|
|
|
13
|
Other / Trouble in Terrorist Town / Re: Traitor Equipment: Mute
|
on: February 18, 2011, 10:50:53 AM
|
It is possible to have mic chat restricted to only certain players. However half the functions gmod uses for controlling sound are broken, which is unfortunent cause some would have been quite useful.
|
|
|
14
|
Other / Trouble in Terrorist Town / Re: Broken Server?
|
on: February 09, 2011, 07:53:52 AM
|
It means all client-side files failed to download to the clients correctly, are you using fastdl? If so then check your fastdl settings and configuration.
|
|
|
16
|
Other / Trouble in Terrorist Town / Re: Help With Coding!
|
on: February 02, 2011, 07:40:49 PM
|
The whole concept of this is bad, but anyway.
function IsVIP(ply) if ply:IsUserGroup("vip") then ply:SetHealth(200) ply:Give( "weapon_ttt_health_station" ) end end
hook.Add("PlayerLoadout", "VIP", IsVIP)
Now just use ULX or some admin mod and make a usergroup called "vip"
|
|
|
19
|
Other / Trouble in Terrorist Town / Re: Coding help
|
on: January 31, 2011, 08:25:04 PM
|
Your lucky that BKU helped you. AddCSLua tells the server to download a file to the client, in otherwords, this script is a clientside script. For more information consult the gmod wiki.
For now, I will give you a direct link outlining the purpose and function of AddCSLua()
http://wiki.garrysmod.com/?title=G.AddCSLuaFile
|
|
|
|
|