SA-MP Forums Archive
Client exceeded "messageholelimit" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Client exceeded "messageholelimit" (/showthread.php?tid=488115)



Client exceeded "messageholelimit" - dusk - 16.01.2014

pawn Код:
[21:39:30] Warning: client exceeded 'messageholelimit' (1) 78.56.238.112:55520 (3915) Limit: 3000
I was just playing around with vehicle velocity and OnPlayerUpdate.

The code if it helps:
pawn Код:
if(vehicleid)
        {
            new Float:x,Float:y,Float:z;
            GetVehicleVelocity(vehicleid, x, y, z);
            new Float:speed = GetVehicleSpeed(vehicleid);
            while(speed > 100) SetVehicleVelocity(vehicleid, x*0.1, y*0.1, z*0.1);
        }
(I was proving something to someone)

I'm not even sure this is important as this code shouldn't be used anywhere in a real situation.
But to be sure I reported it here.


Re: Client exceeded "messageholelimit" - IstuntmanI - 16.01.2014

You shouldn't use a while loop there, because the vehicle velocity isn't updated immediatly after using that function, it is updating slowly, in other OnPlayerUpdate.


Re: Client exceeded "messageholelimit" - d0 - 16.01.2014

That's an infinite loop. (causing lag = causes big messageholecount)