25.10.2009, 02:19
I have an NPC setup in an interior, it is supposed to just stand there and do nothing.
It stays for 5-10 seconds, respawns, and the process repeats.
It stays for 5-10 seconds, respawns, and the process repeats.
Quote:
// // #include <a_npc> //------------------------------------------ main(){} //------------------------------------------ NextPlayback() { StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOO T,"dmv1"); } //------------------------------------------ public OnRecordingPlaybackEnd() { NextPlayback(); } //------------------------------------------ public OnNPCSpawn() { NextPlayback(); } //------------------------------------------ public OnNPCExitVehicle() { StopRecordingPlayback(); } //------------------------------------------ |