Files
gm_construct_port/code/Tool.Effects.cs
2021-08-05 17:54:51 +03:00

15 lines
290 B
C#

using Sandbox;
public partial class Tool
{
[ClientRpc]
public void CreateHitEffects( Vector3 hitPos )
{
var particle = Particles.Create( "particles/tool_hit.vpcf", hitPos );
particle.SetPosition( 0, hitPos );
particle.Destroy( false );
PlaySound( "balloon_pop_cute" );
}
}