Garry's Mod

Garry's Mod

Hide and Seek
Twist  [udvikler] 2. juni 2014 kl. 8:16
3
Commands & Useful Server Info
COMMANDS
Server commands:
  • has_timelimit (secs) = The amount of time in seconds rounds last. (0 = infinite)
  • has_minplayers (number) = The minimum amount of players needed to start a round.
  • has_maxrounds (number) = The amount of rounds to be played until the map changes to the next map in the "mapcyclefile" convar list.
  • has_seekoncaught (0 or 1) = When enabled, players that are caught will join the seeking side. Otherwise, caught players will spectate until the round is over.
  • has_infinitestamina (0 or 1) = When enabled, players will be able to sprint forever.
  • has_choosetype (0 or 1) = Determines how the first seeker is chosen.
    (0 = random, 1 = first hider caught is seeker next round)
  • has_rtv_enabled (0 or 1) = When enabled, the chat command '!rtv' will work. You would only want to disable this if you've got an RTV plug-in already.
  • has_envdmgallowed (0 or 1) = When enabled, trigger_hurts will kill players while turning them into Seekers. This is to stop players hiding in areas that are normally inaccessable or in spots that would get them stuck.
  • has_restartround = This will force a round restart in-case something bugs up.
  • has_lasttrail (0 or 1) = This sets whether the trail appears on the last hider.
  • has_extendtime (secs) = This will extend the current round's time by the specified amount of seconds. Negative numbers will withdraw time.
  • has_dyntagging (0 or 1) = When enabled, the area-tagging range will shrink when next to walls and objects, minimizing the chances of tagging through walls.
    NOTE: This can slow down servers with large amounts of players.

Client commands:
  • has_help = This will show the help dialog. You can also press F1 to bring it up.
  • has_options = This will show the options dialog.
  • has_achievements = This will bring up the achievements list, showing both your earned and unearned achievements.

Chat commands:
  • !help = This will bring up the help menu for you. You can also press F1 to bring it up.
  • !achievements = This will bring up the achievements list, showing both your earned and unearned achievements.


HOOKS
Hook to use for mapchange voting:
  • hook.Add( "HASGameEnded" , "HookName" , function( RoundWinner ) )
  • This hook is called when all rounds have finished. If a function using this hook is returned true, the gamemode will NOT use the default mapchange.
  • This allows you to use your mapchange voting systems without the gamemode slapping it out the way.

  • The hook argument 'RoundWinner' is the player announced with the most points.
Sidst redigeret af Twist; 21. juni 2014 kl. 6:10
< >
Viser 1-7 af 7 kommentarer
What about a command to get rid of antistuck, like when we're hosting via an whisper server?

EDIT: I've just noticed it's not there actually. But even so, how do I turn it off on my dedicated server?
Sidst redigeret af thanos did nothing wrong; 21. juni 2014 kl. 8:07
alemismun 21. okt. 2015 kl. 7:33 
the has_lasttrail 0 doasent disable my trail D:
Gibbzy 26. apr. 2016 kl. 1:52 
how do u slap
bee 19. feb. 2023 kl. 20:40 
They don’t work
Olaf210 20. feb. 2023 kl. 6:51 
Oprindeligt skrevet af Gibbzy:
how do u slap
you must to download addon for this
Kris 4. juli 2023 kl. 8:26 
to push press e
Simon Scar 5. juli 2023 kl. 12:27 
Why is stamina a thing?
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50