Nuclide
Software Development Kit for id Tech
|
Go to the source code of this file.
Macros | |
#define | MOTD_FILE autocvar_motdfile |
#define | MOTD_LINES 32 |
Hard-limit to how many lines are allowed within a message of the day. More... | |
Functions | |
void | MOTD_LoadDefault (void) |
Called on the server to load the default 'message of the day' file. More... | |
void | MOT_LoadFromFile (string) |
Called on the server to load a specific 'message of the day' file. More... | |
void | MOTD_Init (void) |
Called by CSQC_Init() on the client game and by initents() on the server game to set up a networked 'message of the day'. More... | |
string | MOTD_GetTextBody (void) |
Returns the full text body of the 'message of the day' that is on the server. More... | |
int | MOTD_GetLineCount (void) |
Returns how many individual lines are present in the message of the day. More... | |
Variables | |
var string | autocvar_motdfile = "motd.txt" |
#define MOTD_FILE autocvar_motdfile |
#define MOTD_LINES 32 |
Hard-limit to how many lines are allowed within a message of the day.
Called on the server to load a specific 'message of the day' file.
Returns how many individual lines are present in the message of the day.
Returns the full text body of the 'message of the day' that is on the server.
Can be retrieved by clients via the motd
console command.
Called by CSQC_Init() on the client game and by initents() on the server game to set up a networked 'message of the day'.
var string autocvar_motdfile = "motd.txt" |