06.02.2018, 22:16
Try doing this
I just need to know if it works if not we'll try something else
Код:
if(GetPlayerState(i) == PLAYER_STATE_DRIVER && !IsAPlane(GetPlayerVehicleID(i))) { new speed = Carspeed(i); if(speed > 230 && PlayerInfo[i][pAdmin] < 1 && !IsPlayerInArea(i, -3000, -2274.5, -1776, -859.5)) { if(GetVehicleModel(i) == 522 && speed < 250) { if(GetAdmins() > 0) { format(string, sizeof(string), "AdmWarning: %s(%d) conduce cu %.0d km/h un %s.", GetName(i),i,speed,aVehicleNames[GetVehicleModel(GetPlayerVehicleID(i))-400]); if(GetPVarInt(i, "Cover") == 0) SendAdminMessage(COLOR_WARNING, string,1); } else { if(ServerSystem[5] == 0) NightBot(i, "Cheats (speed-hack)"); } } } return 1; }