Having problem with native DropPlayer in C#

Hello,

Im having a problem on server side script, apparently there should be a native:
DropPlayer(string playerSrc, string reason);
Link to FiveM Native DB

But for some reason when im trying to call it with CitizenFX.Core.Native.API.DropPlayer it does not exist.
Script is using both

using CitizenFX.Core;
using static CitizenFX.Core.Native.API;
1 Like

Make sure you are using the server CitizenFX.Core binary as reference, not the client one

Iā€™m using the CitizenFX.Core v1.3.0 provided in Nuget

You should use CitizenFX.Core.Server https://www.nuget.org/packages/CitizenFX.Core.Server/