mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-29 08:05:36 +03:00
Fix: get a first edict from AMXX_Attach
This commit is contained in:
parent
5ffedc69cb
commit
f6d0f02e6a
@ -22,6 +22,7 @@ void OnAmxxAttach()
|
|||||||
{
|
{
|
||||||
// initialize API
|
// initialize API
|
||||||
api_cfg.Init();
|
api_cfg.Init();
|
||||||
|
g_pEdicts = g_engfuncs.pfnPEntityOfEntIndex(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OnMetaAttach()
|
bool OnMetaAttach()
|
||||||
|
Loading…
Reference in New Issue
Block a user