Updated all module SDKs to stop the most annoying issue ever: amxxmodule.h required size_t but did not include stddef.h
Also stopped dodfun, dodx, tfcx and tsx from loading on games other than the ones they are designed for.
This commit is contained in:
@ -471,6 +471,13 @@ void OnMetaAttach()
|
||||
dodstats_pause = CVAR_GET_POINTER(init_dodstats_pause.name);
|
||||
}
|
||||
|
||||
int AmxxCheckGame(const char *game)
|
||||
{
|
||||
if (strcasecmp(game, "dod") == 0)
|
||||
return AMXX_GAME_OK;
|
||||
|
||||
return AMXX_GAME_BAD;
|
||||
}
|
||||
void OnAmxxAttach()
|
||||
{
|
||||
MF_AddNatives( stats_Natives );
|
||||
|
Reference in New Issue
Block a user