Need Help Plz Reply -
MBilal - 20.03.2015
Can some budy tell me How i stop hackers from teleporting vehicles .
they teleport vehicles without getting inside it ... they are throwing vehicles with great speed..
I have anti Car Wrap script it work..
Код:
if(newstate == PLAYER_STATE_DRIVER )
{
if((GetTickCount()-GetPVarInt(playerid, "CarTime")) < 1000)
{
SetPVarInt(playerid, "CarWarp", GetPVarInt(playerid, "CarWarp")+1);
if(GetPVarInt(playerid, "CarWarp") >= 5)
{
BanMessages(playerid, "Car-Wrapping");
}
}
SetPVarInt(playerid, "CarTime", GetTickCount());
}
But they are not Car Wrapping .
They Throwing all vehicles without getting inside it at high speed Plz plz + they also tp other players
Help
Thanks.
Re: Need Help Plz Reply +1 Rep -
mirou123 - 20.03.2015
Try playing around with OnUnoccupiedVehicleUpdate. You can respawn the vehicle if it moved while it is unoccupied.
Re: Need Help Plz Reply +1 Rep -
MBilal - 20.03.2015
what i do ? they also teleporting OcupiedVehicles ..?
they teleporting Innocent players and players vehicles in Air ...
Re: Need Help Plz Reply +1 Rep -
mirou123 - 20.03.2015
Do you know what the cheat is called? If so, PM me it and I'll check out how thet are doing it and try to detect it.
Re: Need Help Plz Reply +1 Rep -
MBilal - 20.03.2015
No i dont know about the cheat .. but they are throwing and teleporting players + vehicles
Re: Need Help Plz Reply +1 Rep -
mirou123 - 20.03.2015
Here, this should help. I did not test it though.
Код:
// Top of script
new LastVehEnter[MAX_PLAYERS];
// Under OnPlayerStateChange
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
LastVehEnter[playerid] = gettime();
}
if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
{
if(gettime() - LastVeh[playerid] < 1000)
{
BanMessages(playerid, "Car-Wrapping");
}
}
Re: Need Help Plz Reply +1 Rep -
MBilal - 20.03.2015
Already tell u they didnt use any vehicle or get inside any vehicle they just throw vehicles..
Re: Need Help Plz Reply -
mirou123 - 20.03.2015
It can happen so quickly that you don't see it. And your anti cheat did not catch it because they might be getting inside those vehicles as passengers. Just try it.
Re: Need Help Plz Reply -
MBilal - 20.03.2015
Nope I just ban the Hacker he was driving the Rustler in Air and he was teleporting other vehicles..