mirror of
https://github.com/celisej567/gm_construct_port.git
synced 2026-01-01 09:48:13 +03:00
15 lines
290 B
C#
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" );
|
|
}
|
|
}
|