mat_test.pwn 689 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // A Driver NPC that goes around a path continuously
  3. // Kye 2009
  4. //
  5. #include <a_npc>
  6. //------------------------------------------
  7. main(){}
  8. //------------------------------------------
  9. NextPlayback()
  10. {
  11. StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"car8761");
  12. }
  13. //------------------------------------------
  14. public OnRecordingPlaybackEnd()
  15. {
  16. NextPlayback();
  17. }
  18. //------------------------------------------
  19. public OnNPCEnterVehicle(vehicleid, seatid)
  20. {
  21. NextPlayback();
  22. }
  23. //------------------------------------------
  24. public OnNPCExitVehicle()
  25. {
  26. StopRecordingPlayback();
  27. }
  28. //------------------------------------------