-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default ping value #98
Comments
Why? |
I still don't see the problem.... |
Me neither, however I can think of something like this: new ping = GetPlayerPing(playerid);
if(ping < 0 || ping == 65535) {
//Ping is invalid
} else {
//Ping is valid
} |
0ms is possible and actually highly likely in some configurations and high end machines. But in any case its easy to hook and return 0 in pawn instead of -1 .... |
Done. |
Default ping value is -1, this should be 0 if it's possible.
The text was updated successfully, but these errors were encountered: