Raised This Month: $ Target: $400
 0% 

Hooking crescendos l4d2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fleepster99
Senior Member
Join Date: Apr 2010
Old 07-07-2010 , 11:29   Hooking crescendos l4d2
Reply With Quote #1

Hi im writting my first plugin at the moment and i need to hook all crescendo events excluding finales, my plan is to stop every one for 10 seconds once one is called, the 10 seconds part is not a problem, ive read also atomicstryker's events list but still wasnt able to hook it heres an example of what i did.

Quote:
HookEvent("explain_elevator_button", Event_Elevator);
Quote:
public Action:Event_Elevator(Handle:event, const String:name[], bool:dontBroadcast)
{


for(new i=1;i<=MaxClients;i++)
{
PrintToChatAll("THIS MEANS THE ELEVATOR HAS BEEN DETECTED");
//no message turned up on dead center first map
}

}
Im guessing im doing something wrong if you guys could help me i would really appreciate it
Fleepster99 is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 07-07-2010 , 12:03   Re: Hooking crescendos l4d2
Reply With Quote #2

There is no general event or structure to the Crescendo Events. You could try and use Stripper to get the trigger_relays and hook their outputs.
AtomicStryker is offline
Fleepster99
Senior Member
Join Date: Apr 2010
Old 07-07-2010 , 12:19   Re: Hooking crescendos l4d2
Reply With Quote #3

Quote:
Originally Posted by AtomicStryker View Post
There is no general event or structure to the Crescendo Events. You could try and use Stripper to get the trigger_relays and hook their outputs.
oh that sucks il look into that but i doubt il be able to make it work but il try thanks.
Fleepster99 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:03.


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