NPC's what am I doning wrong?
#1

filterscripts:
Код:
#include <a_npc>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Ghost_Of_Jesus by lars");
	print("--------------------------------------\n");
  	ConnectNPC("God","coplv");
	return 1;
}
#endif
npcmodes:
Код:
#define RECORDING "coplv" //This is the filename of your recording without the extension.
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);

#if RECORDING_TYPE == 2
  public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  public OnNPCExitVehicle() StopRecordingPlayback();
#else
  public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif
It loads the filterscript but the bot does not connect, can someone help me fix this?
Reply
#2

In your script you need to place the npc in a vehicle apparently for this to start.
Reply
#3

Yeah I added a vehicle, and onplayerspawn i made it putplayerinvehicle but still nothing...
Reply
#4

You set the max numbers of npc's?
Reply
#5

yeh its at 50
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)