Raised This Month: $ Target: $400
 0% 

Solved [HELP] Stopping Brass Event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hellmonja
Senior Member
Join Date: Oct 2015
Old 08-10-2019 , 15:12   [HELP] Stopping Brass Event
Reply With Quote #1

Any way to stop an event? I'm trying to stop the Brass event (https://wiki.alliedmods.net/Half-Lif...e_Events#Brass) for M3, Scout, and AWP, but nothing works. Here's what I have so far:
PHP Code:
register_event("Brass""Event_Brass""a");
...
public 
Event_Brass()
{
    new 
user read_data(15);
    
client_print(userprint_chat"BRASS!");

    return 
PLUGIN_HANDLED

The client_print is there to tell me if it's hooked, and it is so far. But it doesn't stop the shell that's ejecting after you shoot...
__________________

Last edited by hellmonja; 08-10-2019 at 23:51.
hellmonja is offline
 


Thread Tools
Display Modes

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 17:22.


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