Line renderer is only visible in the client who shot the laser

hey,
i am working on a multiplayer tps where the weapon is a laser gun using raycast and line renderer,
but the problem is the line renderer is only visible in the client who shot it… so i am looking for a solution to make the line renderer syn through out the network

anyone please help

What network you use Unity or Photon or?