problem
#1

where to put in NPCmodes this code?

Код:
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
i want a example code plz
Reply
#2

Код:
#define RECORDING "yourrecording"
#define RECORDING_TYPE 2 or 1 //1 for in vehicle and 2 for on foot.

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
It fully looks like this.. change type and your recording name !
Reply
#3

ok now where to put these codes?

Код:
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
Reply
#4

You need to learn basics of scripting and look into the example filterscript which is gl_npcs.pwn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)