• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Car Hacking
#14
try this

PHP Code:
new ac_ouvu_js[MAX_PLAYERS], ac_ouvu_vid[MAX_PLAYERS], ac_ouvu_tick[MAX_PLAYERS];



public 
OnPlayerConnect(playerid

{

    
ac_ouvu_vid[playerid] = 0;

    
ac_ouvu_tick[playerid] = 0;

    
ac_ouvu_js[playerid] = 0;

    return 
1;

}

public 
OnVehicleStreamIn(vehicleidforplayerid

{

    
ac_ouvu_js[forplayerid] = gettime();

    if(
vehicleid == INVALID_VEHICLE_ID) return ac_ouvu_vid[playerid] = INVALID_VEHICLE_ID;

    return 
1;

}

public 
OnUnoccupiedVehicleUpdate(vehicleidplayeridpassenger_seatFloat:new_xFloat:new_yFloat:new_zFloat:vel_xFloat:vel_yFloat:vel_z

{

    if(
ac_ouvu_vid[playerid] != vehicleid && GetTickCount()-ac_ouvu_tick[playerid] > 100 && gettime()-ac_ouvu_js[playerid] > 3Kick(playerid); //99% use troll-hack

    
ac_ouvu_vid[playerid]=vehicleid;

    
ac_ouvu_tick[playerid]=GetTickCount();

    return 
1;


  Reply


Messages In This Thread
Car Hacking - by yukie - 2020-10-02, 02:14 PM
RE: Car Hacking - by BoNNe - 2020-10-03, 09:47 PM
RE: Car Hacking - by yukie - 2020-10-04, 09:05 AM
RE: Car Hacking - by BoNNe - 2020-10-04, 09:20 AM
RE: Car Hacking - by yukie - 2020-10-04, 09:23 AM
RE: Car Hacking - by yukie - 2020-10-04, 10:40 AM
RE: Car Hacking - by BoNNe - 2020-10-04, 09:40 PM
RE: Car Hacking - by yukie - 2020-10-05, 06:37 AM
RE: Car Hacking - by BoNNe - 2020-10-05, 06:53 PM
RE: Car Hacking - by yukie - 2020-10-08, 10:14 AM
RE: Car Hacking - by yukie - 2020-10-04, 09:29 AM
RE: Car Hacking - by yukie - 2020-10-04, 09:30 AM
RE: Car Hacking - by hiwyn - 2022-05-16, 10:18 AM
RE: Car Hacking - by Flofey - 2022-11-09, 04:51 PM

Forum Jump: