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