Advertisement
Guest User

Untitled

a guest
Sep 5th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #define RECORDING "policerec" //This is the filename of your recording without the extension.
  2. #define RECORDING_TYPE 1 //1 for in vehicle and 2 for on foot.
  3.  
  4. #include <a_npc>
  5. main(){}
  6. public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  7.  
  8. #if RECORDING_TYPE == 1
  9. public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  10. public OnNPCExitVehicle() StopRecordingPlayback();
  11. #else
  12. public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  13. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement