npc doesnt load bots?
#1

[01:06:26] Filter Scripts
[01:06:26] ---------------
[01:06:26] Loading filter script 'npcs.amx'...

Bot no bots connect to the server...

I have Serverhex..

It worked for my test server
Reply
#2

In your server.cfg set maxnpc to the amount of NPCs in your script.
Reply
#3

this should help you maybe

Код:
public OnGameModeInit()
{
  print("my gamemode");
  ConnectNPC("MyFirstNPC","mynpc");
  return 1;
}
Reply
#4

Quote:
Originally Posted by Sfinx_17
this should help you maybe

Код:
public OnGameModeInit()
{
  print("my gamemode");
  ConnectNPC("MyFirstNPC","mynpc");
  return 1;
}
I did that

Quote:
Originally Posted by Memoryz
In your server.cfg set maxnpc to the amount of NPCs in your script.
I set it to...
Reply
#5

help..
Reply
#6

Read over the whole tutorial:

http://forum.sa-mp.com/index.php?topic=119947.0
Reply
#7

Yes i read it...

Like i said it worked for my test server but it doesnt work with Serverhex i contacted Boylett and he said he doesnt block the bots
Reply
#8

If the NPCs are in the filterscript, then why are you using OnGameModeInit()?
Reply
#9

I'm using it as a FS not a GM
Reply
#10

Quote:
Originally Posted by HydraX
I'm using it as a FS not a GM
Then use OnFilterScriptInit() instead of OnGameModeInit() in the npcs.pwn.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)