Page 2 of 2

Re: [Request]Spawning bots

Posted: Fri Nov 15, 2019 11:57 am
by whitewolfza
Hi I have implemented :
[DllImport("TeknoMW3S.dll", EntryPoint = "GI_AddTestClient")]
public static extern int AddTestClient();

And called :
public static Entity AddTestClient()
{
var entref = GameInterface.AddTestClient();

if (entref == 0)
{
return null;
}

return Entity.GetEntity(entref);
}


but it always returns null