SAMP Gitlab CI Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
689 B

  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. //------------------------------------------