Jump to content

fuel


Plate

Recommended Posts

Posted

Hola necesito ayuda con este resource es que no sirve para los vehiculos como Police Maverick, Hydra, Rustler, Hunter, Maverick bueno ya entienden ...

[url=https://community.multitheftauto.com/index.php?p=resources&s=details&id=3287]https://community.multitheftauto.com/index.php?p= ... ls&id=3287[/url] 

Posted

es demasiado largo para postearlo yo te diria que lo descargues y lo mires vos mismo PD posteo el carData

    "-1" fuel="35" />-- Player entry --> 
     
    "0" fuel="200" />-- Default entry --> 
     
    "602" fuel="250" />-- Alpha --> 
    "545" fuel="250" />-- Hustler --> 
    "496" fuel="250" />-- Blista --> 
    "517" fuel="250" />-- Majestic --> 
    "401" fuel="250" />-- Bravura --> 
    "410" fuel="250" />-- Manana --> 
    "518" fuel="250" />-- Buccaneer --> 
    "600" fuel="250" />-- Picador --> 
    "527" fuel="250" />-- Cadrona --> 
    "436" fuel="250" />-- Previon --> 
    "589" fuel="250" />-- Club --> 
    "580" fuel="250" />-- Stafford --> 
    "419" fuel="250" />-- Esperanto --> 
    "439" fuel="250" />-- Stallion --> 
    "533" fuel="250" />-- Feltzer --> 
    "549" fuel="250" />-- Tampa --> 
    "526" fuel="250" />-- Fortune --> 
    "491" fuel="250" />-- Virgo --> 
    "474" fuel="250" />-- Hermes --> 
  
    "445" fuel="350" />-- Admiral --> 
    "604" fuel="350" />-- Glendale --> 
    "507" fuel="350" />-- Elegant --> 
    "585" fuel="350" />-- Emperor --> 
    "587" fuel="350" />-- Euros --> 
    "466" fuel="350" />-- Glendale --> 
    "492" fuel="350" />-- Greenwood --> 
    "546" fuel="350" />-- Intruder --> 
    "551" fuel="350" />-- Merit --> 
    "516" fuel="350" />-- Nebula --> 
    "467" fuel="350" />-- Oceanic --> 
    "426" fuel="350" />-- Premier --> 
    "547" fuel="350" />-- Primo --> 
    "405" fuel="350" />-- Sentinel --> 
    "409" fuel="350" />-- Stretch --> 
    "550" fuel="350" />-- Sunrise --> 
    "566" fuel="350" />-- Tahoma --> 
    "540" fuel="350" />-- Vincent --> 
    "421" fuel="350" />-- Washington --> 
    "529" fuel="350" /> 
    "497" fuel="350" /> 
  

  

Posted

Prueba asi:

    "-1" fuel="35" />-- Player entry --> 
    
    "0" fuel="200" />-- Default entry --> 
    
    "602" fuel="250" />-- Alpha --> 
    "545" fuel="250" />-- Hustler --> 
    "496" fuel="250" />-- Blista --> 
    "517" fuel="250" />-- Majestic --> 
    "401" fuel="250" />-- Bravura --> 
    "410" fuel="250" />-- Manana --> 
    "518" fuel="250" />-- Buccaneer --> 
    "600" fuel="250" />-- Picador --> 
    "527" fuel="250" />-- Cadrona --> 
    "436" fuel="250" />-- Previon --> 
    "589" fuel="250" />-- Club --> 
    "580" fuel="250" />-- Stafford --> 
    "419" fuel="250" />-- Esperanto --> 
    "439" fuel="250" />-- Stallion --> 
    "533" fuel="250" />-- Feltzer --> 
    "549" fuel="250" />-- Tampa --> 
    "526" fuel="250" />-- Fortune --> 
    "491" fuel="250" />-- Virgo --> 
    "474" fuel="250" />-- Hermes --> 
  
    "445" fuel="350" />-- Admiral --> 
    "604" fuel="350" />-- Glendale --> 
    "507" fuel="350" />-- Elegant --> 
    "585" fuel="350" />-- Emperor --> 
    "587" fuel="350" />-- Euros --> 
    "466" fuel="350" />-- Glendale --> 
    "492" fuel="350" />-- Greenwood --> 
    "546" fuel="350" />-- Intruder --> 
    "551" fuel="350" />-- Merit --> 
    "516" fuel="350" />-- Nebula --> 
    "467" fuel="350" />-- Oceanic --> 
    "426" fuel="350" />-- Premier --> 
    "547" fuel="350" />-- Primo --> 
    "405" fuel="350" />-- Sentinel --> 
    "409" fuel="350" />-- Stretch --> 
    "550" fuel="350" />-- Sunrise --> 
    "566" fuel="350" />-- Tahoma --> 
    "540" fuel="350" />-- Vincent --> 
    "421" fuel="350" />-- Washington --> 
    "529" fuel="350" />    "497" fuel="350" />  

  

Posted

el problema no esta en el carData

sino que esta en el lua, que comprueba que si es "vehicles" o "plane" etc.

yo me acuerdo que hace mucho cuando lo probe tambien me paso lo mismo que vos y tuve que sacar esas comprobaciones

Edit:

archivo lua "s.lua" linea 39

if getVehicleType(vehicle) ~= 'Automobile' and getVehicleType(vehicle) ~= 'Bike' and getVehicleType(vehicle) ~= 'Monster Truck' and getVehicleType(vehicle) ~= 'Quad' then return end 

si el tipo de vehiculo no es de esos tipos no consume fuel....

Posted

Pues entonces que lo edite tambien:

if getVehicleType(vehicle) ~= 'Automobile' and getVehicleType(vehicle) ~= 'Bike' and getVehicleType(vehicle) ~= 'Monster Truck' and getVehicleType(vehicle) ~= 'Quad' and getVehicleType(vehicle) ~= 'Aircraft' then return end 

Posted
if getVehicleType(vehicle) ~= 'Automobile' and getVehicleType(vehicle) ~= 'Bike' and getVehicleType(vehicle) ~= 'Monster Truck' and getVehicleType(vehicle) ~= 'Quad' and and getVehicleType(vehicle) ~= 'Helicopter' and getVehicleType(vehicle) ~= 'Plane'  then return end 

probe asi pero no anda

  • Recently Browsing   0 members

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