예제 #1
0
 public void ServerCmdNetSimulateLag(coGameConnection client, int msDelay, float packetLossPercent)
     {
     if (client["isAdmin"].AsBool())
         client.setSimulatedNetParams((packetLossPercent / 100.0f), msDelay);
     }