StopRecordingPlayerData

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:02, 31 December 2009
Mikep (Talk | contribs)

← Previous diff
Revision as of 17:42, 4 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
{{Scripting}} {{Scripting}}
-{{Title}} 
{{0.3Added|function|}} {{0.3Added|function|}}
Line 27: Line 26:
[[Category:Scripting Functions]] [[Category:Scripting Functions]]
 +
 +[[fr:StopRecoringPlayerData]]

Revision as of 17:42, 4 February 2014



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


Description:

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.


Return Values:

This function does not return any specific values.


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 may be useful, as they are related to this function in one way or another.

In other languages