Raised This Month: $32 Target: $400
 8% 

[L4D2] director_force_panic_event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Neevar
Senior Member
Join Date: Mar 2014
Old 04-30-2014 , 07:00   [L4D2] director_force_panic_event
Reply With Quote #1

Hi guys,

Please help,

I'm trying to set this in my server and I've put it in my server.cfg

but when i put director_force_panic_event, i get the error message saying this can be only used when sv_cheats is 1

then i tried using sm_cvar director_force_panic_event and I got the error message saying "Unable to find cvar: director_force_panic_event


Please help me!

My motive is to set my server have loads of zombies all the time
Neevar is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 04-30-2014 , 16:18   Re: [L4D2] director_force_panic_event
Reply With Quote #2

you may try compile this:

PHP Code:
#include <sourcemod>
public OnMapStart()
{
    
SetConVarIntFindConVar"director_force_panic_event" ), );

__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
sheo
SourceMod Donor
Join Date: Jul 2013
Location: Russia, Moscow
Old 04-30-2014 , 16:31   Re: [L4D2] director_force_panic_event
Reply With Quote #3

"director_force_panic_event" is not a con var in L4D2, but command. You have to remove cheat flag from it in order to execute this command
sheo is offline
RU_6uK
SourceMod Donor
Join Date: May 2010
Old 04-30-2014 , 19:21   Re: [L4D2] director_force_panic_event
Reply With Quote #4

sm_cvar director_panic_forever 1
RU_6uK is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 05-01-2014 , 10:51   Re: [L4D2] director_force_panic_event
Reply With Quote #5

uhh.. that make the sense out of the warning.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 05-03-2014 , 04:10   Re: [L4D2] director_force_panic_event
Reply With Quote #6

Quote:
Originally Posted by GsiX View Post
you may try compile this:

PHP Code:
#include <sourcemod>
public OnMapStart()
{
    
SetConVarIntFindConVar"director_force_panic_event" ), );

I will try that once i get my home. so i just put this in a notepad with SP extension, compile and add to my plugins?

Quote:
Originally Posted by RU_6uK View Post
sm_cvar director_panic_forever 1
this will give me the error i said in the first post, unable to find cvar

Last edited by Neevar; 05-03-2014 at 04:12.
Neevar is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 05-05-2014 , 04:54   Re: [L4D2] director_force_panic_event
Reply With Quote #7

unfortunately the script idea doesn't work. anyone else with help?
Neevar is offline
Mortiegama
Senior Member
Join Date: Feb 2010
Old 05-07-2014 , 08:48   Re: [L4D2] director_force_panic_event
Reply With Quote #8

PHP Code:
new flags GetCommandFlags("z_spawn_old");
SetCommandFlags("z_spawn_old"flags & ~FCVAR_CHEAT);
FakeClientCommand(client,"z_spawn_old mob auto");
SetCommandFlags("z_spawn_old"flags|FCVAR_CHEAT); 
__________________

Last edited by Mortiegama; 05-07-2014 at 08:50.
Mortiegama is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 05-15-2014 , 03:44   Re: [L4D2] director_force_panic_event
Reply With Quote #9

hi mortie, may i know what this does? and what am i supposed to do?

really sorry bro
Neevar is offline
Reply



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 11:56.


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