NPC:OnRecordingPlaybackEnd

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:04, 19 February 2013
Smithy (Talk | contribs)
(Why people go to the effort of translating pages and don't even link them is baffling...)
← Previous diff
Revision as of 19:44, 23 April 2014
Ikkentim (Talk | contribs)
(Added return value)
Next diff →
Line 7: Line 7:
{{NoParam}} {{NoParam}}
 +
 +{{NoReturnCallback}}
<pawn> <pawn>

Revision as of 19:44, 23 April 2014




NPC:OnRecordingPlaybackEnd was added in SA-MP 0.3a This NPC callback was added in SA-MP 0.3a and will not work in earlier versions!


Description:

This callback is called when a recorded file being reproduced with NPC:StartRecordingPlayback has reached to its end.


Parameters:
This function has no parameters.


Return Values:

This callback does not handle returns.


public OnRecordingPlaybackEnd()
{
    StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER, "all_around_lv_bus"); //This would start the recorded file again once it finishes reproducing.
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

In other languages