Need Help Plz Reply
#1

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.
Reply
#2

Try playing around with OnUnoccupiedVehicleUpdate. You can respawn the vehicle if it moved while it is unoccupied.
Reply
#3

what i do ? they also teleporting OcupiedVehicles ..?
they teleporting Innocent players and players vehicles in Air ...
Reply
#4

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.
Reply
#5

No i dont know about the cheat .. but they are throwing and teleporting players + vehicles
Reply
#6

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");
	}
}
Reply
#7

Already tell u they didnt use any vehicle or get inside any vehicle they just throw vehicles..
Reply
#8

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.
Reply
#9

Nope I just ban the Hacker he was driving the Rustler in Air and he was teleporting other vehicles..
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)