SA-MP Forums Archive
First time using NPC's - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: First time using NPC's (/showthread.php?tid=156899)



First time using NPC's - ViruZZzZ_ChiLLL - 24.06.2010

Is this right? I mean they don't even join at all.

pawn Код:
#include <a_samp>
#include <a_npc>

#define RECORDING_TYPE 2
main() {}


#if RECORDING_TYPE == 1
public OnRecordingPlaybackEnd()
{
 StartRecordingPlayback(RECORDING_TYPE, "Bank2");
}

public OnNPCSpawn()
{
 StartRecordingPlayback(RECORDING_TYPE, "Bank2");
}
#endif


public OnFilterScriptInit()
{
  ConnectNPC("Bank2", "npcbank");
  return 1;
}



Re: First time using NPC's - Kar - 24.06.2010

does it say incoming connection?

if so. change max npcs in your server .cfg to a high number


Re: First time using NPC's - Doppeyy - 24.06.2010

Did you read the tutorial ?

~Nookie


Re: First time using NPC's - ViruZZzZ_ChiLLL - 24.06.2010

Quote:
Originally Posted by Kar
does it say incoming connection?

if so. change max npcs in your server .cfg to a high number
Yeah, I changed it but nothing happens.
It doesn't say, incoming connection.

Quote:
Originally Posted by ภ๏๏кเє
Did you read the tutorial ?

~Nookie
Yeah I've read it, but I'm still confused


Re: First time using NPC's - Doppeyy - 24.06.2010

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by Kar
does it say incoming connection?

if so. change max npcs in your server .cfg to a high number
Yeah, I changed it but nothing happens.
It doesn't say, incoming connection.

Quote:
Originally Posted by ภ๏๏кเє
Did you read the tutorial ?

~Nookie
Yeah I've read it, but I'm still confused
Make sure you read the tutorial good and take your time to read it.
It was confusing for me the first time aswell but you have to take your time and read it verry good.

Incanatrix.