| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // A Driver NPC that goes around a path continuously
- // Kye 2009
- //
- #include <a_npc>
- //------------------------------------------
- main(){}
- //------------------------------------------
- NextPlayback()
- {
- StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"train_fullrev");
- }
- //------------------------------------------
- public OnRecordingPlaybackEnd()
- {
- NextPlayback();
- }
- //------------------------------------------
- public OnNPCEnterVehicle(vehicleid, seatid)
- {
- NextPlayback();
- }
- //------------------------------------------
- public OnNPCExitVehicle()
- {
- StopRecordingPlayback();
- }
- //------------------------------------------
|