This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
SetPlayerBlurIntensity
GtakillerIV edited this page Dec 17, 2014
·
2 revisions
Sets a player's blur effect intensity
To turn off the blur effect, set the intensity to 0
playerid
The player's id.
intensity
The intensity of the effect.
0 if the player is not connected
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