Need anti cheat
#1

Hi i need anti mouse scroll tp hack like use scroll to sit on vehicle or tp on buildings
Reply
#2

Ik the hack its teleport.... look for a teleporting anticheat ._.
Reply
#3

Quote:
Originally Posted by Joron
Посмотреть сообщение
Ik the hack its teleport.... look for a teleporting anticheat ._.
I have teleport hack and fix but not fix this
Reply
#4

What do u mean?
Reply
#5

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
What do u mean?
if you work with sobit if active and press mouse scroll you can teleport on buildings or in cars and ....
Reply
#6

Quote:
Originally Posted by Joron
Посмотреть сообщение
Ik the hack its teleport.... look for a teleporting anticheat ._.
Quote:
Originally Posted by keyvanik
Посмотреть сообщение
I have teleport hack and fix but not fix this
Quote:
Originally Posted by keyvanik
Посмотреть сообщение
if you work with sobit if active and press mouse scroll you can teleport on buildings or in cars and ....
Same shit tis teleporting warp to vehicle/player is teleport
Reply
#7

IIRC scrolling into a vehicle doesn't call OnPlayerEnterVehicle. You can probably set a variable there, but you also have to put the PutPlayerInVehicle function into account as well as it doesn't call it either.

Example:
pawn Код:
new PlayerEnterVehicle[MAX_PLAYERS] = INVALID_VEHICLE_ID;
PutPlayerInVehicle(playerid, vehicleid, seat) {
     if(PutPlayerInVehicle(playerid, vehicleid, seat) == 1) {
            PlayerEnterVehicle[playerid] = vehicleid;
     }

     return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) {
     PlayerEnterVehicle[playerid] = vehicleid;
     return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate) {
     if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) {
           if(PlayerEnterVehicle[playerid] != GetPlayerVehicleID(playerid)) BanEx(playerid, "Vehicle Teleport Hacks");
           PlayerEnterVehicle[playerid] = INVALID_VEHICLE_ID;
     }
 
     return 1;
}

public OnPlayerConnect(playerid) PlayerEnterVehicle[playerid] = INVALID_VEHICLE_ID;
Reply
#8

Quote:
Originally Posted by Abagail
Посмотреть сообщение
IIRC scrolling into a vehicle doesn't call OnPlayerEnterVehicle. You can probably set a variable there, but you also have to put the PutPlayerInVehicle function into account as well as it doesn't call it either.

Example:
pawn Код:
new PlayerEnterVehicle[MAX_PLAYERS] = INVALID_VEHICLE_ID;
PutPlayerInVehicle(playerid, vehicleid, seat) {
     if(PutPlayerInVehicle(playerid, vehicleid, seat) == 1) {
            PlayerEnterVehicle[playerid] = vehicleid;
     }

     return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) {
     PlayerEnterVehicle[playerid] = vehicleid;
     return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate) {
     if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) {
           if(PlayerEnterVehicle[playerid] != GetPlayerVehicleID(playerid)) BanEx(playerid, "Vehicle Teleport Hacks");
           PlayerEnterVehicle[playerid] = INVALID_VEHICLE_ID;
     }
 
     return 1;
}

public OnPlayerConnect(playerid) PlayerEnterVehicle[playerid] = INVALID_VEHICLE_ID;
This is wrong meaning the errors i get by using this...

Quote:

error 021: symbol already defined: "PutPlayerInVehicle"
error 010: invalid function or declaration
error 010: invalid function or declaration

Reply
#9

Quote:
Originally Posted by Abagail
Посмотреть сообщение
IIRC scrolling into a vehicle doesn't call OnPlayerEnterVehicle. You can probably set a variable there, but you also have to put the PutPlayerInVehicle function into account as well as it doesn't call it either.

Example:
pawn Код:
new PlayerEnterVehicle[MAX_PLAYERS] = INVALID_VEHICLE_ID;
PutPlayerInVehicle(playerid, vehicleid, seat) {
     if(PutPlayerInVehicle(playerid, vehicleid, seat) == 1) {
            PlayerEnterVehicle[playerid] = vehicleid;
     }

     return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) {
     PlayerEnterVehicle[playerid] = vehicleid;
     return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate) {
     if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) {
           if(PlayerEnterVehicle[playerid] != GetPlayerVehicleID(playerid)) BanEx(playerid, "Vehicle Teleport Hacks");
           PlayerEnterVehicle[playerid] = INVALID_VEHICLE_ID;
     }
 
     return 1;
}

public OnPlayerConnect(playerid) PlayerEnterVehicle[playerid] = INVALID_VEHICLE_ID;
im using this bot not work
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)