From SA-MP Wiki

Jump to: navigation, search

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


Stops all the recordings that had been started with StartRecordingPlayerData for a specific player.

playeridThe player you want to stop the recordings of.

Return Values:

  • 1: The function was executed successfully.
  • 0: The function failed to execute. This means the player specified does not exist.

public OnPlayerCommandText(playerid, cmdtext[])
    if (!strcmp("/stoprecording", cmdtext))
        SendClientMessage(playerid, 0xFFFFFFFF, "Your recorded file has been saved to the scriptfiles folder!");
	return 1;

Related Functions

The following functions may be helpful as they relate to this function in one way or another.

Personal tools
In other languages