Anti teleport to vehicle
#1

Hey

I have a big problem with cheaters. He/She teleport in other playert vehicle or player have "Car jacked" text.
I don't know how I stop it. Does somebody have an idea?
Reply
#2

i don't think this is possible to detect
Reply
#3

Ohh .. Lot of people use it though and disturbs the players
Reply
#4

yes it is a very annoying hack your best option is to have active admins
Reply
#5

Hmhm...

Try to check someone if he teleports, if he teleported somehow while he can't (he isnt an admin so he cheats) so lock all vehicles for him?
Reply
#6

you could try to trick them by making a set of locked vehicles and set timer checking if a player is in the vehicle and isn't admin then ban them
Reply
#7

That has something to do with SA lock bug. You can acces the vehicle if it is moving slow. Like someone else is driving the vehicle very slow and you press F or ENTER and player starts to folow the car and after 1-2 seconds he is in vehicle.
Reply
#8

Quote:
Originally Posted by Dujma
That has something to do with SA lock bug. You can acces the vehicle if it is moving slow. Like someone else is driving the vehicle very slow and you press F or ENTER and player starts to folow the car and after 1-2 seconds he is in vehicle.
No I speak s*beit cheat eg: Cheater location SF airport, player locatoin LS airport and cheater use the "Teleport to player vehicle" and cheaters teleported in player vehicle and vehicle have 2 drivers( cheater, player )...
But player exit vehicle and cheaters steal his car...
Reply
#9

Well, there are some possible ways to detect it but it would require a bit of script knowledge and it might not turn out so perfect. The only thing you can do is get some decent admins to watch the server..
Reply
#10

Davee,

According to me this well answer:

Complete ACJ (Anti Car Jack) script:
pawn Код:
//--Include
#include <a_samp.inc>

//--Defines
#define MAX_ENTERED (3)//Max embarkation determination inside 10 second
#define MIN_ENTERED (0)

//--Forwards
forward public CarJackTimer();
forward public DestroyCarJack();
forward public aCarJack();

//--News
new Entered[MAX_PLAYERS];

//--Cycles
public OnFilterScriptInit()
{
      //--Anti Car Jack Timers
SetTimer("aCarJack",1000,true);
    SetTimer("CarJackTimer",10000,true);
    SetTimer("DestroyCarJack",10000,true);
    return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
      Entered[playerid]++;
    return 1;
}

public aCarJack() {
  for(new i=0;i<MAX_PLAYERS;i++) {
    if(Entered[i]==MAX_ENTERED) {
      return Kick(i); //--Kick doll' Cheater
      }
     }
     return 1;
}

public DestroyCarJack() {
  for(new i=0;i<MAX_PLAYERS;i++) {
    return Entered[i]=MIN_ENTERED;
  }
    return 1;
}

public CarJackTimer() {
    for(new i=0;i<MAX_PLAYERS;i++) {
      if(Entered[i]==MAX_ENTERED) {
        return Entered[i]=MAX_ENTERED;
        }
    }
    return 1;
}
//--End script (Anti Car Jack by illay)
His functional principle:

Timer progressively checks the embarkation number and that car theft is if the 10 second over three
When appertains his inward's full portal vehicle, the also the cycle, therefore is aware of to catch
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)