Garry's Mod Wiki

Revision Difference

Player:PacketLoss#562649

<function name="PacketLoss" parent="Player" type="classfunc"> <description>Returns the packet loss of the client. It is not networked so it only returns 0 when run clientside.</description> <realm>Shared</realm> <rets> <ret name="" type="number">Packets lost</ret>⤶ </rets> </function>⤶ <description>Returns the percentage of packets lost by the client. It is not networked so it only returns 0 when run clientside.</description> <realm>Shared</realm> <rets> <ret name="" type="number">Percentage of packets lost (0-100)</ret>⤶ </rets> </function>