diff --git a/reapi/src/main.cpp b/reapi/src/main.cpp index 9fe8b2a..4bedd99 100644 --- a/reapi/src/main.cpp +++ b/reapi/src/main.cpp @@ -22,6 +22,7 @@ void OnAmxxAttach() { // initialize API api_cfg.Init(); + g_pEdicts = g_engfuncs.pfnPEntityOfEntIndex(0); } bool OnMetaAttach()