Problems with NPC (spawn problems)
#2

Well, you haven't set them up for spawning, For my NPC, in the npcmode it looks like this:


Code:
#define RECORDING "DealerNPC2" //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 == 1
  public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  public OnNPCExitVehicle() StopRecordingPlayback();
#else
  public OnNPCSpawn() 
  {
                
		 SetMyPos(1091.7188,-1791.7927,13.6404); <------  Maybe try Putting this in yours?
		 StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  }
#endif
Reply


Messages In This Thread
Problems with NPC (spawn problems) - by Squirrel - 18.09.2012, 18:02
Re: Problems with NPC (spawn problems) - by Hiddle - 18.09.2012, 18:12
Re: Problems with NPC (spawn problems) - by Squirrel - 18.09.2012, 18:14
Re: Problems with NPC (spawn problems) - by Hiddle - 18.09.2012, 18:16
Re: Problems with NPC (spawn problems) - by Squirrel - 18.09.2012, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)