Advertisement
Guest User

Untitled

a guest
Jan 7th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. //
  2. // A test driver NPC with very basic AI
  3. // Kye 2009
  4. //
  5.  
  6. #include <a_npc>
  7.  
  8.  
  9. //------------------------------------------
  10.  
  11. main(){}
  12.  
  13. //------------------------------------------
  14.  
  15.  
  16.  
  17. //------------------------------------------
  18.  
  19. //------------------------------------------
  20.  
  21. StartPlayback()
  22. {
  23. StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"bus");
  24. }
  25.  
  26.  
  27. //------------------------------------------
  28.  
  29. public OnRecordingPlaybackEnd()
  30. {
  31. StartPlayback();
  32. }
  33.  
  34. //------------------------------------------
  35.  
  36. public OnNPCEnterVehicle(vehicleid, seatid)
  37. {
  38. StartPlayback();
  39. }
  40.  
  41. //------------------------------------------
  42.  
  43. public OnNPCExitVehicle()
  44. {
  45. StopRecordingPlayback();
  46. }
  47.  
  48. //------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement