From 6c44d7b4d601ba0c9699c87e67d0079d2aeee9a9 Mon Sep 17 00:00:00 2001 From: neon <> Date: Fri, 13 Dec 2019 13:04:59 +0100 Subject: [PATCH] FakeClients: oooops --- FakeClients/scripting/FakeClients.sp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);