From SA-MP Wiki

Jump to: navigation, search

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


This will run a .rec file which has to be saved in the npcmodes/recordings folder. These files allow the NPC to follow certain actions. Their actions can be recorded manually. For more information, check the related functions.

(playbacktype, recordname[])
playbacktypeThe type of recording to be loaded.
recordname[]The filename to be loaded, without the .rec extension.

Return Values:

This function does not return any specific values.

Example Usage:

public OnNPCEnterVehicle(vehicleid, seatid)

Related Functions

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

Personal tools