View Single Post
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 04-05-2009 , 07:22   Re: [DEV] Event detection
Reply With Quote #4

Nice plugin but I have a suggestion.
You can dynamically load available events from the game. For example: in CS:S events are listed in this files:
Code:
cstrike\resource\modevents.res
hl2\resource\gameevents.res
hl2\resource\serverevents.res
hl2\resource\hltvevents.res
I think for other mods files are the same. Your plugin can just read all this events OnPluginLoad. This can be very useful for games which events aren't listed in the SM Wiki page. You can make your plugin to be universal.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel