Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // A test driver NPC with very basic AI
- // Kye 2009
- //
- #include <a_npc>
- //------------------------------------------
- main(){}
- //------------------------------------------
- //------------------------------------------
- //------------------------------------------
- StartPlayback()
- {
- StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"bus");
- }
- //------------------------------------------
- public OnRecordingPlaybackEnd()
- {
- StartPlayback();
- }
- //------------------------------------------
- public OnNPCEnterVehicle(vehicleid, seatid)
- {
- StartPlayback();
- }
- //------------------------------------------
- public OnNPCExitVehicle()
- {
- StopRecordingPlayback();
- }
- //------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement