Posted by: DarkNight
Date posted: Aug 31 2003 User Rating: 2 out of 5.0 | Number of views: 4453 Number of comments: 0 | Description: Client Side |
Ok people, this one is pretty simple yet useful. Firstly, create a new header called alert.h and put this in it.
| | #ifndef _ALERT_H_ #define _ALERT_H_
typedef enum { at_notice, at_console, at_aiconsole, at_warning, at_error, at_logged } ALERT_TYPE;
#define ALERT AlertMessage extern void AlertMessage( ALERT_TYPE atype, char *szFmt, ... );
#endif
|
Now put this in your client dll directory, and whenever you need to use ALERT on the client side, just include the alert.h header into the file you wish to use the ALERT function in.
If you have any complaints, suggestions,problems,ect. Feel free to email me at the_dark_wonderer@hotmail.com |
|
User Comments
No User Comments
You must register to post a comment. If you have already registered, you must login.
|