Jump to content

Cambiar texturas de 1 vehiculo


JesusAliso

Recommended Posts

Buenas, me preguntaba como cambiar las texturas de "vehicle1", osea que solo se le cambian a ese vehículo... Gracias.

vehicle1 = createVehicle( 487, 1528.5908203125, -1687.7060546875, 5.7829313278198, 0, 0, -90 )  
  
    function  auto( player, seat, jacked ) 
        if ( source == vehicle1 ) then 
            local account = getPlayerAccount( player ) 
            local accountName = ( account and getAccountName ( account ) or "" ) 
            if not( accountName == "prueba" ) then 
        setVehicleHandling ( vehicle1, property, value ) 
                cancelEvent() 
          end 
     end 
end 
addEventHandler ( "onVehicleStartEnter", getRootElement(), auto ) 
setVehicleDamageProof(vehicle1, true)  

Link to comment
  • Recently Browsing   0 members

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