Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

SetPlayerBlurIntensity

GtakillerIV edited this page Dec 17, 2014 · 2 revisions

SetPlayerBlurIntensity

Sets a player's blur effect intensity

tipTo turn off the blur effect, set the intensity to 0


Parameters

playerid

The player's id.

intensity

The intensity of the effect.

Returns

    0 if the player is not connected

Usage

CMD:setblurintensity(playerid, params[])
{
	//If the player has the SA-MP+ plugin installed
	if(IsUsingSAMPP(playerid))
	{
		new intensity;
		
		if(sscanf(params, "i", intensity)) return SendClientMessage(playerid, -1, "Correct usage: /setblurintensity intensity");

		SetPlayerBlurIntensity(playerid, intensity);
	}
	//If not
	else
	{
		SendClientMessage(playerid, -1, "You need the SA-MP+ plugin");
	}

	return 1;
}

See Also

SetPlayerGameSpeed

SetPlayerHUDComponentColour

TogglePlayerAction

Clone this wiki locally