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:
@ -342,6 +342,13 @@ void OnPluginsLoaded()
|
||||
g_death_info = MF_RegisterForward("client_death", ET_IGNORE, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int AmxxCheckGame(const char *game)
|
||||
{
|
||||
if (strcasecmp(game, "ts") == 0)
|
||||
return AMXX_GAME_OK;
|
||||
|
||||
return AMXX_GAME_BAD;
|
||||
}
|
||||
void OnAmxxAttach()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user