NPC-s
#7

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Your code looks good.
Have you placed the npc script in the npcmodes folder and the recorded file in the recordings folder ?
Can we see the npc mini script too ?
Yeah i did, here

pawn Код:
#define RECORDING "TrainingGuy" //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() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif
Reply


Messages In This Thread
NPC-s - by Markx - 17.06.2011, 12:32
Re: NPC-s - by Stigg - 17.06.2011, 12:35
Re: NPC-s - by Markx - 17.06.2011, 12:41
Re: NPC-s - by Stigg - 17.06.2011, 13:15
Re: NPC-s - by Markx - 17.06.2011, 13:19
Re: NPC-s - by Stigg - 17.06.2011, 13:28
Re: NPC-s - by Markx - 17.06.2011, 13:31
Re: NPC-s - by Stigg - 17.06.2011, 13:52
Re: NPC-s - by Markx - 17.06.2011, 13:52
Re: NPC-s - by Markx - 17.06.2011, 14:41

Forum Jump:


Users browsing this thread: 2 Guest(s)