Jump to content

[Ayuda]Auto entrando a un Area


Narutimmy

Recommended Posts

Si es un colshape con

onColShapeHit

lo ise asi:

function hill_Enter ( thePlayer ) 
 local theVehicle = getPedOccupiedVehicle ( thePlayer ) 
  
     setVehicleDamageProof( theVehicle, true) 
  
end   
     
     
  
  
addEventHandler ( "onColShapeHit", hillArea, hill_Enter ) 
  
  
function hill_Exit ( thePlayer ) 
  
 local theVehicle = getPedOccupiedVehicle ( thePlayer ) 
     setVehicleDamageProof( theVehicle, false) 
      
      
     
  
  
end 
  
addEventHandler ( "onColShapeLeave", hillArea, hill_Exit ) 

si funciona pero si el auto entra sin un piloto.... no funciona :/

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...