20.06.2016, 18:11
Hi all!
The timers, use more CPU or more RAM? I imagine CPU..
So..
If i would run a cycle like the following (is an example written now):
each 500ms or 1s...
How many this would impact on the server resources?
Regardsss
The timers, use more CPU or more RAM? I imagine CPU..
So..
If i would run a cycle like the following (is an example written now):
Код:
DoCheck(playerid)
{
new Float:x, Float:y, Float:z;
new Float:m, Float:n, Float:o;
GetPlayerPos(playerid, x, y, z);
foreach(Player, i)
{
GetPlayerPos(i,m,n,o)
if (m <= x)
{
// DO SOMETHING //
}
}
}
How many this would impact on the server resources?
Regardsss

