diff --git a/FakeClients/scripting/FakeClients.sp b/FakeClients/scripting/FakeClients.sp index 51201435..c5796099 100644 --- a/FakeClients/scripting/FakeClients.sp +++ b/FakeClients/scripting/FakeClients.sp @@ -158,8 +158,8 @@ public Action RandomizeNames(Handle timer) { int iRand = GetRandomInt(0, hNames.Length - 1); char sName[MAX_NAME_LENGTH]; - g_hNames.GetString(iRand, sName, sizeof(sName)); - g_hNames.Erase(iRand); + hNames.GetString(iRand, sName, sizeof(sName)); + hNames.Erase(iRand); SetClientName(i, sName); } } @@ -412,7 +412,7 @@ public void CheckPopulation() } int iRand = GetRandomInt(0, hNames.Length - 1); - g_hNames.GetString(iRand, sName, sizeof(sName)); + hNames.GetString(iRand, sName, sizeof(sName)); delete hNames; int iIndex = CreateFakeClient(sName);