Client exceeded "messageholelimit"
#1

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.
Reply
#2

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.
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)