Hello everyone! This is a small addition to the previous video in which the implementation of hits from weapons was shown.
This video demonstrates the implementation of a random weapon spread on the client and server.
How did I implement this? Yes, very simple! It's all about generating random numbers, the client and server have tick numbers and when choosing random numbers, the tick number is the starting number for a pseudo-random number, if there is a good connection between the client and server (at least without loss), then the shooting results will be the same