StopRecordingPlayerData

From SA-MP Wiki

Jump to: navigation, search

StopRecordingPlayerData


Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.


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


Parameters:
(playerid)
playeridThe player you want to stop the recordings of.


This function does not return a specific value.


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

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Template:StartRecordingPlayerData

Personal tools