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:
@ -294,6 +294,13 @@ void SetModel_Post(edict_t *e, const char *m)
|
||||
RETURN_META(MRES_IGNORED);
|
||||
}
|
||||
|
||||
int AmxxCheckGame(const char *game)
|
||||
{
|
||||
if (strcasecmp(game, "dod") == 0)
|
||||
return AMXX_GAME_OK;
|
||||
|
||||
return AMXX_GAME_BAD;
|
||||
}
|
||||
void OnAmxxAttach()
|
||||
{
|
||||
MF_AddNatives( base_Natives );
|
||||
|
Reference in New Issue
Block a user