Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Help homies!

$
0
0
Code:

        if (GetPlayerSpeed(i) > 210)
                {
                    if (!IsAPlane(GetPlayerVehicleID(i)) && GetPlayerState(i) != PLAYER_STATE_PASSENGER)
                    {
                        SendAdminAlert(COLOR_LIGHTRED, "[ADMIN]: %s has possibly used speed hacks (%.0f mph).", ReturnName(i, 0), GetPlayerSpeed(i));
                        Log_Write("logs/cheat_log.txt", "[%s] %s has possibly used speed hacks (%.0f mph).", ReturnDate(), ReturnName(i, 0), GetPlayerSpeed(i));
                        }

It is supposed to be an anti speed system, but when for example there are 2 admins in the server and the one is flying, the other one gets called in with him, not only the hacker. It happens, doesn't matter if the hacker is an admin or not, it catches another player too.
Help with this, please!

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>