Jump to content

Duda


Arsilex

Recommended Posts

Posted

Por que me falla este script

((Sirve para reparar las ruedas de un coche pero no repara

function FIX ( theVehicle ) 
            local theVehicle = getPedOccupiedVehicle( source ) 
            if ( theVehicle ) then 
            setVehicleWheelStates ( theVehicle, frontLeft, 0 ) 
            setVehicleWheelStates ( theVehicle, frontRight, 0 ) 
            setVehicleWheelStates ( theVehicle, rearLeft, 0 ) 
            setVehicleWheelStates ( theVehicle, rearRight, 0 ) 
            end 
end 

Posted

podria ser algo como esto?

function FIX (driver) 
            local theVehicle = getPedOccupiedVehicle( driver ) 
            if ( theVehicle ) then 
            setVehicleWheelStates ( theVehicle, frontLeft, 0 ) 
            setVehicleWheelStates ( theVehicle, frontRight, 0 ) 
            setVehicleWheelStates ( theVehicle, rearLeft, 0 ) 
            setVehicleWheelStates ( theVehicle, rearRight, 0 ) 
            end 
end 

  • Recently Browsing   0 members

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