Welcome, Guest. Please login or register.
Did you miss your activation email?
November 24, 2024, 03:52:57 PM
Home Help Login Register
News: Zombie Master 2 discussion

  Show Posts
Pages: [1]
1  Other / Trouble in Terrorist Town / Re: How to disable Prop possession on one map only? on: October 08, 2011, 06:27:00 PM
Yeah, it works now. Thanks.
2  Other / Trouble in Terrorist Town / Re: How to disable Prop possession on one map only? on: October 07, 2011, 08:18:37 PM
You could use a tiny Lua script that checks when the map has loaded if it is richland, and sets the cvar to 0 if so.

Something like:
local function richlandtime()
  if game.getMap() == "dm_richland" then
      RunConsoleCommand("ttt_spec_prop_control", "0")
  end
end
hook.Add("Initialize", "richlandtime", richlandtime)


Put in a Lua file (eg. "richlandtime.lua") on the server in the /garrysmod/lua/autorun/server/ directory.


Doesen't work..
Quote
ERROR: Hook 'richlandtime' Failed: [lua/autorun/server/richlandtime.lua:2] attempt to call field 'getMap' (a nil value)
Removing Hook 'richlandtime'
3  Other / Trouble in Terrorist Town / Re: How to disable Prop possession on one map only? on: October 07, 2011, 04:17:07 PM
Simple Answer: STAY AWAY FROM THE CARS.

Problem Solved.

Not really. What if you are taking cover from shooting traitors? Problem not solved. Ofc propkillers can always be banned, but it doesn't solve the problem in long run.
4  Other / Trouble in Terrorist Town / How to disable Prop possession on one map only? on: October 07, 2011, 01:57:49 PM
Title. Players often kill other players on dm_richland using cars and such while they are on spectate. I don't want disable Prop possession on all maps.
I'v tried creating dm_richland.cfg (with ttt_spec_prop_control 0) and placing it to maps/cfg dir but it does not seem to work on gmod.
Does anyone have any ideas how to solve this prop-problem?
5  Other / Trouble in Terrorist Town / Re: TTT Map Pack [UPDATED] [107 Maps] on: October 05, 2011, 09:53:49 AM
This thread should be stickied.

E: ttt_wintermansion_beta2 dl link is broken. For some reason it has been deleted from garrysmod.org.
6  Other / Trouble in Terrorist Town / Re: Non TTT Maps Rearmed on: April 01, 2011, 05:28:42 PM
Please post new re-arm links! All are broken ;(
Pages: [1]


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.011 seconds with 19 queries.