[Ajuda] IsVehicleOccupied (Nao cumpri a funзao)
#4

PHP код:
// Anti-Roubo 
public OnPlayerEnterVehicle(playeridvehicleidispassenger

    
SendClientMessage(playeridVermelho"[AVISO]{FFFFFF} Nгo tente roubar veнculos, vocк morrerб automaticamente{FF0000}."); 
    
SendClientMessage(playeridVermelho"[AVISO]{FFFFFF} Para ver os Comandos do Veiculo digite {FF0000}/vctrl"); 
    
SendClientMessage(playeridVermelho"[AVISO]{FFFFFF} Usamos ANTI-HACK de SpeedHack, Velocidade Permitida e {FF0000}[400-KM/H]."); 

    if(
playerid != ispassenger && IsVehicleOccupied(vehicleid)) 
    { 
        
AddVehicleComponent(vehicleid1010); 
        
SetPlayerHealth(playerid,0.0); 
    }
    return 
1

Reply


Messages In This Thread
IsVehicleOccupied (Nao cumpri a funзao) - by VinnyScript - 25.11.2016, 17:04
Re: IsVehicleOccupied (Nao cumpri a funзao) - by n0minal - 25.11.2016, 17:26
Re: IsVehicleOccupied (Nao cumpri a funзao) - by VinnyScript - 25.11.2016, 17:31
Re: IsVehicleOccupied (Nao cumpri a funзao) - by PT - 25.11.2016, 18:09
Re: IsVehicleOccupied (Nao cumpri a funзao) - by VinnyScript - 25.11.2016, 18:10
Re: IsVehicleOccupied (Nao cumpri a funзao) - by PT - 25.11.2016, 18:12

Forum Jump:


Users browsing this thread: 2 Guest(s)