[Request]Spawning bots

InfinityScript plugins for dedicated servers.
whitewolfza
TeknoCricket
TeknoCricket
Posts: 1
Joined: Fri Nov 15, 2019 11:55 am

Re: [Request]Spawning bots

Postby whitewolfza » Fri Nov 15, 2019 11:57 am

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

Return to “InfinityScript”

Who is online

Users browsing this forum: No registered users and 6 guests