Raised This Month: $ Target: $400
 0% 

[L4D REQ] Simple Pause/Freeze command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
guilty80100
Member
Join Date: Jul 2009
Old 08-11-2009 , 04:59   Re: [L4D REQ] Simple Pause/Freeze command
Reply With Quote #6

pause.cfg

sm_cvar z_frustration 0
sm_cvar director_stop 1
sm_freeze @all 1000
sm_cvar god 1
sm_cvar sb_stop 1
say "> Pause <"
echo "> Pause <"

-----------------------
unpause.cfg

sm_cvar z_frustration 1
sm_cvar director_stop 0
sm_freeze @all 0
sm_cvar god 0
sm_cvar sb_stop 0

say "> Pause end <"
echo "> Pause end <"

--------------------------
to bind a cmd:
it's the beggining of the code i can't help you much i'm noob @scripting

public OnPluginStart()
{
RegConsoleCmd("pause", to_pause)
RegConsoleCmd("unpause", to_unpause)
}

--------------------------------------

they're is some problem with that :
- if survivor are hanging during the pause, when unpause they will fall
- infected aren't invincible, god 1 doesn't afect infected team

good points :
- witch will be still here after pause/unpause
- tank don't loose control (z_frustration 0)
-even if an infected is in ghostmod he will be frozen and if he try to spawn for being unstuck he will be frozen instantly
guilty80100 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode