View Single Post
communication between two plugins
Old
  (#1)
commonbullet
Member
 
commonbullet's Avatar
 
Status: Offline
Posts: 49
Join Date: Nov 2004
Default communication between two plugins - 13-10-2008

I was wondering how could I establish communication between an amxx plugin and a metamod plugin - more precisely, an amxmodx plugin sets the game rule and a metamod bot should be aware about what's going on in the match.

It's been suggested that I could use engine messages, but I lack of understanding the mechanism.

I guess those messages have fixed sequences of parameters for each type of "event". I couldn't find where/how they are set in hlsdk, all I found was about SVC_TEMPENTITY.

Can I use a custom sequence of parameters and just return supercede?
Otherwise, if I would only be able to use existent messages patterns, wouldn't that be confused with 'real' engine messages.

I'd appreciate any information you could provide.
  
Reply With Quote