Raised This Month: $51 Target: $400
 12% 

L4d2 safe room panic event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
insobniut2004
Member
Join Date: Feb 2022
Old 02-27-2022 , 01:42   L4d2 safe room panic event
Reply With Quote #1

hello ¿how can I add a panic event at the beginning of each map with the lock.smx plugins and also correct the c8m1 map?

Of course, after the countdown ends.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_lock.sp - 64 views - 39.4 KB)
File Type: smx l4d2_lock.smx (27.2 KB, 59 views)
File Type: inc glow.inc (3.1 KB, 59 views)

Last edited by insobniut2004; 02-27-2022 at 02:55.
insobniut2004 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 02-27-2022 , 07:17   Re: L4d2 safe room panic event
Reply With Quote #2

call a horde
PHP Code:
CheatCommand(anyclient"director_force_panic_event"); //Or CheatCommand(anyclient, "z_spawn", "mob", "auto");

void CheatCommand(int clientchar[] commandchar[] arguments ""char[] extra "")
{
    
int userFlags GetUserFlagBits(client);
    
SetUserFlagBits(clientADMFLAG_ROOT);
    
int flags GetCommandFlags(command);
    
SetCommandFlags(commandflags & ~FCVAR_CHEAT);
    
FakeClientCommand(client"%s %s %s"commandargumentsextra);
    
SetCommandFlags(commandflags);
    
SetUserFlagBits(clientuserFlags);

there is a similar plugin
https://forums.alliedmods.net/showpo...9&postcount=54
__________________

Last edited by HarryPotter; 02-27-2022 at 07:19.
HarryPotter is offline
insobniut2004
Member
Join Date: Feb 2022
Old 02-27-2022 , 09:36   Re: L4d2 safe room panic event
Reply With Quote #3

Quote:
Originally Posted by HarryPotter View Post
call a horde
PHP Code:
CheatCommand(anyclient"director_force_panic_event"); //Or CheatCommand(anyclient, "z_spawn", "mob", "auto");

void CheatCommand(int clientchar[] commandchar[] arguments ""char[] extra "")
{
    
int userFlags GetUserFlagBits(client);
    
SetUserFlagBits(clientADMFLAG_ROOT);
    
int flags GetCommandFlags(command);
    
SetCommandFlags(commandflags & ~FCVAR_CHEAT);
    
FakeClientCommand(client"%s %s %s"commandargumentsextra);
    
SetCommandFlags(commandflags);
    
SetUserFlagBits(clientuserFlags);

there is a similar plugin
https://forums.alliedmods.net/showpo...9&postcount=54
Your plugins seem very good to me but the point is to do it at the beginning of each map and can you help me on the map c8m1? I don't know how to correct the position of the objects. pleas
insobniut2004 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 14:39.


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