If you show no packet loss to anything else then it is likely either in the server ISP or in some ISP in the path. You can not really do anything to change this it is all outside your equipment and likely even outside your ISP.
You can do testing to find it by using tools like tracert and then ping the various hops trying to find it. It will just be for your information though unless you find issues in hop 1 or hop 2. Hop 1 is stuff inside your house and hop 2 most times is the connection between your house and the ISP.
Well it cant be with the server because, every server I go into on fivem i get packet loss as well. I did tracert, does this info tell you anything? I dont understand it. That is a trace route to google.
1 <1 ms <1 ms <1 ms mynetwork [192.168.2.1]
2 1 ms 1 ms 1 ms 10.11.7.9
3 * * * Request timed out.
4 8 ms 7 ms 7 ms tcore4-toronto12_be32.net.bell.ca [64.230.53.54]
5 4 ms * * tcore2-torontoxn_ae0.net.bell.ca [64.230.51.156]
6 4 ms 4 ms 4 ms bx3-torontoxn_hundredgige0-2-0-0.net.bell.ca [64.230.97.147]
7 * * * Request timed out.
8 4 ms 5 ms 5 ms 108.170.228.0
9 5 ms 5 ms 5 ms 108.170.250.243
10 5 ms 5 ms 5 ms 142.251.61.4
11 11 ms 12 ms 24 ms 142.250.46.184
12 11 ms 11 ms 12 ms 108.170.251.33
13 13 ms 13 ms 12 ms 108.170.231.63
14 11 ms 11 ms 11 ms yul03s04-in-f4.1e100.net [172.217.13.164]