void RpcDoShootEffect()
{
//play our particle system
ParticleSystem pS = weaponManager.GetCurrentGraphics().muzzleFlash;
if (!pS.isPlaying)
{
pS.Play();
}
else if (pS.isPlaying)
{
pS.Stop();
}
else if (pS.isPlaying)
{
pS.Stop();
}
else if (!pS.isPlaying)
{
pS.Play();
}
}