Download

Proper way to shoot an automatic weapon in multiplayer

hey I’ve been struggling trying to figure out what’s the best way to replicate shooting an automatic weapon that fires let’s say 8 bullets per second, do I run a timer on the **client **and call Server_Shoot several times as long as mouse button is held, or send one RPC to **server **and let the server run the timer and keep shooting then stop when client sends another RPC Stop_Firing to server ?

Thank you so much for your help.