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


Messages In This Thread
NPC's what am I doning wrong? - by Lars_Frederiksen - 05.05.2011, 05:19
Re: NPC's what am I doning wrong? - by Backwardsman97 - 05.05.2011, 07:19
Re: NPC's what am I doning wrong? - by Lars_Frederiksen - 05.05.2011, 08:00
Re: NPC's what am I doning wrong? - by linuxthefish - 05.05.2011, 08:04
Re: NPC's what am I doning wrong? - by Lars_Frederiksen - 05.05.2011, 08:10

Forum Jump:


Users browsing this thread: 1 Guest(s)