This function was added in SA-MP 0.3z R2-2 and will not work in earlier versions!
Creates an explosion that is only visible to a single player. This can be used to isolate explosions from other players or to make them only appear in specific virtual worlds.
|playerid||The ID of the player to create the explosion for.|
|Float:X||The X coordinate of the explosion.|
|Float:Y||The Y coordinate of the explosion.|
|Float:Z||The Z coordinate of the explosion.|
|type||The explosion type.|
|Float:Radius||The radius of the explosion.|
This function always returns 1, even if the function failed to excute (player doesn't exist, invalid radius, or invalid explosion type).
There is a limit as to how many explosions can be seen at once by a player. This is roughly 10.
- CreateExplosion: Create an explosion which is visible for all players.