Salut,
Deci de exemplu sar cu masina de pe chiliad, si in cadere imi creste viteza masinii, ce pot face sa nu mai creasca cand masina este in aer?
new idcar = GetPlayerVehicleID(i);
if(GetPlayerState(i) == PLAYER_STATE_DRIVER && !IsAPlane(idcar))
{
new speed = Carspeed(i),
antispeed[425],
sendername[25];
GetPlayerName(i,sendername,sizeof(sendername));
if(speed > 225 && PlayerInfo[i][pAdmin] < 1)
{
format(antispeed, sizeof(antispeed), "Kick: %s has been kicked by AdmBot, reason: possible speed hack", sendername);
SendClientMessageToAll(COLOR_LIGHTRED,antispeed);
Kick(i);
}
}