NPC help
#7

Well...
pawn Код:
#define RECORDING "Bus"
#define RECORDING_TYPE 1

main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);

#if RECORDING_TYPE == 1
    public OnNPCEnterVehicle(437, 1) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  public OnNPCExitVehicle() StopRecordingPlayback();
#else
    public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif
This is NPC script. This MUST be under the npcmode(amx ofcourse).

Other stuff goes under your gamemode script. You connect and put it to vehicle under gamemodeinit. If you don't get me read tutorial twice.


Reply


Messages In This Thread
NPC help - by ScottCFR - 10.02.2010, 20:03
Re: NPC help - by MadeMan - 10.02.2010, 20:05
Re: NPC help - by ScottCFR - 10.02.2010, 20:12
Re: NPC help - by Ricop522 - 10.02.2010, 20:13
Re: NPC help - by ScottCFR - 10.02.2010, 20:17
Re: NPC help - by ScottCFR - 10.02.2010, 20:59
Re: NPC help - by actiwe - 10.02.2010, 21:04
Re: NPC help - by ScottCFR - 10.02.2010, 21:32
Re: NPC help - by actiwe - 10.02.2010, 21:39
Re: NPC help - by V1ceC1ty - 10.02.2010, 22:21

Forum Jump:


Users browsing this thread: 1 Guest(s)