diff --git a/api/AltV.Net.Client/Core.cs b/api/AltV.Net.Client/Core.cs index 7e25e673..8977c24c 100644 --- a/api/AltV.Net.Client/Core.cs +++ b/api/AltV.Net.Client/Core.cs @@ -232,7 +232,7 @@ public IReadOnlyCollection GetAllTextLabels() { CheckIfCallIsValid(); ulong size = 0; - var ptr = Library.Shared.Core_GetMarkers(NativePointer, &size); + var ptr = Library.Shared.Core_GetTextLabels(NativePointer, &size); var data = new IntPtr[size]; Marshal.Copy(ptr, data, 0, (int)size); var arr = data.Select(e => PoolManager.TextLabel.GetOrCreate(this, e)).ToArray();