Raised This Month: $ Target: $400
 0% 

FM_AlertMessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
capndurk
Senior Member
Join Date: Feb 2006
Old 03-28-2006 , 00:03   FM_AlertMessage
Reply With Quote #1

I have this code:

Code:
register_forward(FM_AlertMessage, "eventSuicide")


I do want to block this message for the purpose of saving rank, but I'm having trouble with this:

Code:
public eventSuicide(at_type, message[]) {     if(containi(message, "suicide") != -1 && containi(message, "world") != -1)     {         if(g_switching[id] == true)         {             return FMRES_HANDLED         }     }         return PLUGIN_CONTINUE }


Basically, I have a global integer array that uses the 32 ids in the server, and I was wondering if there was a way to use at_type to gather that id from the function..?
__________________
I have left these forums because a certain respected member has been acting immaturely lately and has decided that I am not welcome in this community.
capndurk is offline
 



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 16:29.


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