06.12.2017, 13:30
(
Last edited by Aliassassin123456; 07/12/2017 at 06:56 PM.
)
For a streamed range, that depends, your server internet connection, the player's internet connection, your server CPU, a little bit of your server RAM and RakNet limits, for the whole server it only depends on the server's CPU and RAM.
There is a function to specify an update rate so it will send 2RPCs per step simulation, for example with a rate of 15ms (~60FPS) there will be 120 RPCs to be sent to the client, SAMP's ackslimit is 3000 by default, which means there can be ~25 objects being simulated at once, with a rate of 30ms, ~50 objects, however you can increase ackslimit from server.cfg but that's not really recommended because of acks being more than about 3000 can cause lag with the players having regular internet connection.
There is a function to specify an update rate so it will send 2RPCs per step simulation, for example with a rate of 15ms (~60FPS) there will be 120 RPCs to be sent to the client, SAMP's ackslimit is 3000 by default, which means there can be ~25 objects being simulated at once, with a rate of 30ms, ~50 objects, however you can increase ackslimit from server.cfg but that's not really recommended because of acks being more than about 3000 can cause lag with the players having regular internet connection.